Skip to content

Commit bdf0621

Browse files
committed
Remove legacy VimClojure support
1 parent 4eac6f6 commit bdf0621

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

ftplugin/clojure.vim

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,6 @@ for s:setting in ['omnifunc', 'completefunc']
5757
endif
5858
endfor
5959

60-
" Take all directories of the CLOJURE_SOURCE_DIRS environment variable
61-
" and add them to the path option.
62-
"
63-
" This is a legacy option for VimClojure users.
64-
if exists('$CLOJURE_SOURCE_DIRS')
65-
for s:dir in split($CLOJURE_SOURCE_DIRS, (has("win32") || has("win64")) ? ';' : ':')
66-
let s:dir = fnameescape(s:dir)
67-
" Whitespace escaping for Windows
68-
let s:dir = substitute(s:dir, '\', '\\\\', 'g')
69-
let s:dir = substitute(s:dir, '\ ', '\\ ', 'g')
70-
execute "setlocal path+=" . s:dir . "/**"
71-
endfor
72-
let b:undo_ftplugin .= ' | setlocal path<'
73-
endif
74-
7560
" Skip brackets in ignored syntax regions when using the % command
7661
if exists('loaded_matchit')
7762
let b:match_words = &matchpairs

0 commit comments

Comments
 (0)