aboutsummaryrefslogtreecommitdiff
path: root/autoload/lsp_settings.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-05 18:26:19 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-05 18:26:19 +0900
commit90b4c2e84a6a3b65071cf740c6ed060dbbd24719 (patch)
tree953cef685a63bab8c1e2c8395d97f5696868dd06 /autoload/lsp_settings.vim
parentc3382a172d3bd3876a5917c753887ad716356565 (diff)
downloadvim-lsp-settings-90b4c2e84a6a3b65071cf740c6ed060dbbd24719.tar.gz
vim-lsp-settings-90b4c2e84a6a3b65071cf740c6ed060dbbd24719.tar.bz2
vim-lsp-settings-90b4c2e84a6a3b65071cf740c6ed060dbbd24719.zip
Rename asyncomplete-refresh-pattern to refresh_pattern
Diffstat (limited to 'autoload/lsp_settings.vim')
-rw-r--r--autoload/lsp_settings.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/autoload/lsp_settings.vim b/autoload/lsp_settings.vim
index e0160de..fcbcc98 100644
--- a/autoload/lsp_settings.vim
+++ b/autoload/lsp_settings.vim
@@ -331,9 +331,9 @@ function! s:vim_lsp_load_or_suggest(ft) abort
if get(g:, 'lsp_loaded', 0)
for l:server in s:settings[a:ft]
- let l:pattern = get(l:server, 'asyncomplete-refresh-pattern', '')
- if !empty(l:pattern)
- let b:asyncomplete_refresh_pattern = l:pattern
+ let l:refresh_pattern = get(l:server, 'refresh_pattern', '')
+ if !empty(l:refresh_pattern)
+ let b:asyncomplete_refresh_pattern = l:refresh_pattern
endif
endfor
endif