aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-12 11:08:58 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-12 11:08:58 +0900
commit235d5be8a0dac943e3cb6061562dac8f4103302d (patch)
tree54191cbeccc0dabf19081d45d45649dd1cd82ac9
parentc49ce93065648134d94d0446e06877c3432a69f1 (diff)
parent88e07ea55e44854892efea535d580e166a215fd4 (diff)
downloadvim-lsp-settings-235d5be8a0dac943e3cb6061562dac8f4103302d.tar.gz
vim-lsp-settings-235d5be8a0dac943e3cb6061562dac8f4103302d.tar.bz2
vim-lsp-settings-235d5be8a0dac943e3cb6061562dac8f4103302d.zip
Merge branch 'master' into julia
-rw-r--r--autoload/lsp_settings.vim9
1 files changed, 5 insertions, 4 deletions
diff --git a/autoload/lsp_settings.vim b/autoload/lsp_settings.vim
index 7d06c4c..476eda3 100644
--- a/autoload/lsp_settings.vim
+++ b/autoload/lsp_settings.vim
@@ -335,10 +335,11 @@ function! s:vim_lsp_suggest_plugin() abort
endfunction
function! s:vim_lsp_load_or_suggest_delay(ft) abort
- if get(g:, 'vim_lsp_settings_filetype_no_delays', 0)
- return s:vim_lsp_load_or_suggest(a:ft)
- endif
- call timer_start(0, {timer -> [s:vim_lsp_load_or_suggest(a:ft), execute('doautocmd BufReadPost')]})
+ call s:vim_lsp_load_or_suggest(a:ft)
+ "if get(g:, 'vim_lsp_settings_filetype_no_delays', 0)
+ " return s:vim_lsp_load_or_suggest(a:ft)
+ "endif
+ "call timer_start(0, {timer -> [s:vim_lsp_load_or_suggest(a:ft), execute('doautocmd BufReadPost')]})
endfunction
function! s:vim_lsp_load_or_suggest(ft) abort