aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-16 00:54:15 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-16 00:54:15 +0900
commitc1c1815f6e3251f4fb21ecc8b525ef7fdb7c2fd4 (patch)
tree3a256e887079643e761518128ea28446f3dbb5a3 /autoload
parent3263080c5cf53c0375d01cb2060aa7f5ec15be51 (diff)
downloadvim-lsp-settings-c1c1815f6e3251f4fb21ecc8b525ef7fdb7c2fd4.tar.gz
vim-lsp-settings-c1c1815f6e3251f4fb21ecc8b525ef7fdb7c2fd4.tar.bz2
vim-lsp-settings-c1c1815f6e3251f4fb21ecc8b525ef7fdb7c2fd4.zip
Fix a bug
Diffstat (limited to 'autoload')
-rw-r--r--autoload/lsp_settings.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/autoload/lsp_settings.vim b/autoload/lsp_settings.vim
index c3dbfde..1128944 100644
--- a/autoload/lsp_settings.vim
+++ b/autoload/lsp_settings.vim
@@ -1,3 +1,5 @@
+let s:servers_dir = expand('<sfile>:h:h').'/servers'
+
function! lsp_settings#get(name, key, default) abort
let l:config = get(g:, 'lsp_settings', {})
if !has_key(l:config, a:name)