diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-16 10:25:54 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-16 10:25:54 +0900 |
commit | 0c3c00284f682d21a9f78fc7fe39f3b230060d89 (patch) | |
tree | 31cc4db31d59f26da251dab0d29fb8eda8407b14 /settings/clojure-lsp.vim | |
parent | 1d279205c79ef994c140628249fa53ecf70ff5b0 (diff) | |
download | vim-lsp-settings-0c3c00284f682d21a9f78fc7fe39f3b230060d89.tar.gz vim-lsp-settings-0c3c00284f682d21a9f78fc7fe39f3b230060d89.tar.bz2 vim-lsp-settings-0c3c00284f682d21a9f78fc7fe39f3b230060d89.zip |
Add clojure
Diffstat (limited to 'settings/clojure-lsp.vim')
-rw-r--r-- | settings/clojure-lsp.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/settings/clojure-lsp.vim b/settings/clojure-lsp.vim new file mode 100644 index 0000000..38590da --- /dev/null +++ b/settings/clojure-lsp.vim @@ -0,0 +1,12 @@ +augroup vimlsp_settings_clojure_lsp + au! + autocmd User lsp_setup call lsp#register_server({ + \ 'name': 'clojure-lsp', + \ 'cmd': lsp_settings#get('clojure-lsp', 'cmd', {server_info->[lsp_settings#exec_path('clojure-lsp')]}), + \ 'initialization_options': lsp_settings#get('clojure-lsp', 'initialization_options', v:null), + \ 'whitelist': lsp_settings#get('clojure-lsp', 'whitelist', ['clojure']), + \ 'blacklist': lsp_settings#get('clojure-lsp', 'blacklist', []), + \ 'config': lsp_settings#get('clojure-lsp', 'config', {}), + \ 'workspace_config': lsp_settings#get('clojure-lsp', 'workspace_config', {}), + \ }) +augroup END |