We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c018733 commit 2d0d267Copy full SHA for 2d0d267
1 file changed
ftplugin/clojure.vim
@@ -35,7 +35,7 @@ setlocal commentstring=;\ %s
35
" 'completefunc' so that the user has some form of completion available when
36
" 'omnifunc' is set and no REPL connection exists.
37
for s:setting in ['omnifunc', 'completefunc']
38
- if exists('&' . s:setting)
+ if exists('&' . s:setting) && empty(eval('&' . s:setting))
39
execute 'setlocal ' . s:setting . '=clojurecomplete#Complete'
40
let b:undo_ftplugin .= ' | setlocal ' . s:setting . '<'
41
endif
0 commit comments