aboutsummaryrefslogtreecommitdiff
path: root/settings/clojure-lsp.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-16 10:25:54 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-16 10:25:54 +0900
commit0c3c00284f682d21a9f78fc7fe39f3b230060d89 (patch)
tree31cc4db31d59f26da251dab0d29fb8eda8407b14 /settings/clojure-lsp.vim
parent1d279205c79ef994c140628249fa53ecf70ff5b0 (diff)
downloadvim-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.vim12
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