aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-31 18:28:14 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-31 18:28:14 +0900
commitc588857b64808afc660b721e12d78389ec57e205 (patch)
tree3d4464cac59276bb7255e37e874bcc1a890ada45 /autoload
parentdf1ce0dbe106553165949d12c95e54d3c0447646 (diff)
downloadvim-lsp-settings-c588857b64808afc660b721e12d78389ec57e205.tar.gz
vim-lsp-settings-c588857b64808afc660b721e12d78389ec57e205.tar.bz2
vim-lsp-settings-c588857b64808afc660b721e12d78389ec57e205.zip
Add test
Diffstat (limited to 'autoload')
-rw-r--r--autoload/lsp_settings.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/lsp_settings.vim b/autoload/lsp_settings.vim
index 9762f6b..55d9452 100644
--- a/autoload/lsp_settings.vim
+++ b/autoload/lsp_settings.vim
@@ -398,6 +398,10 @@ function! s:vim_lsp_load_or_suggest(ft) abort
endif
endfunction
+function! lsp_settings#clear() abort
+ let s:ftmap = {}
+endfunction
+
function! lsp_settings#init() abort
for l:ft in keys(s:settings)
if has_key(g:, 'lsp_settings_whitelist') && index(g:lsp_settings_whitelist, l:ft) == -1 || empty(s:settings[l:ft])