use allowlist and blocklist (#267)

* use allowlist and blocklist

* fix description
This commit is contained in:
Prabir Shrestha
2020-06-28 05:58:26 -07:00
committed by GitHub
parent 9967722b34
commit 458de93386
65 changed files with 130 additions and 130 deletions

View File

@@ -493,7 +493,7 @@ 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])
if has_key(g:, 'lsp_settings_allowlist') && index(g:lsp_settings_allowlist, l:ft) == -1 || empty(s:settings[l:ft])
continue
endif
exe 'augroup' lsp_settings#utils#group_name(l:ft)