diff --git a/test/.themisrc b/test/.themisrc index d73cbf9..161c1d2 100644 --- a/test/.themisrc +++ b/test/.themisrc @@ -1,3 +1,5 @@ set encoding=utf-8 +set rtp+=vim-lsp +runtime plugin/lsp.vim call themis#option('recursive', 1) call themis#helper('command').with(themis#helper('assert')) diff --git a/test/lsp_settings.vimspec b/test/lsp_settings.vimspec index 86a007f..11315e6 100644 --- a/test/lsp_settings.vimspec +++ b/test/lsp_settings.vimspec @@ -102,24 +102,6 @@ Describe lsp_settings bw! unlet g:vim_lsp_settings_filetype_no_delays End - - It should setup commands and autocmds with python. - call lsp_settings#clear() - call lsp_settings#init() - new - let g:lsp_settings = {'pyls': {'cmd': ['foo', 'bar'], 'allowlist': ['python', 'zsh']}} - let g:vim_lsp_settings_filetype_no_delays = 1 - Throw /E117/ :setfiletype python - bw! - for v in filter(split(execute('augroup'), '\s\+'), 'v:val=~"^vim_lsp_suggest"') - exe 'augroup ' . v - silent! autocmd! - augroup END - silent! exe 'augroup! ' . v - endfor - unlet g:lsp_settings - unlet g:vim_lsp_settings_filetype_no_delays - End End Describe lsp_settings#root_path