mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
delete test
This commit is contained in:
committed by
mattn
parent
e304a928e8
commit
318b0f4dc9
@@ -1,3 +1,5 @@
|
|||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
|
set rtp+=vim-lsp
|
||||||
|
runtime plugin/lsp.vim
|
||||||
call themis#option('recursive', 1)
|
call themis#option('recursive', 1)
|
||||||
call themis#helper('command').with(themis#helper('assert'))
|
call themis#helper('command').with(themis#helper('assert'))
|
||||||
|
|||||||
@@ -102,24 +102,6 @@ Describe lsp_settings
|
|||||||
bw!
|
bw!
|
||||||
unlet g:vim_lsp_settings_filetype_no_delays
|
unlet g:vim_lsp_settings_filetype_no_delays
|
||||||
End
|
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
|
End
|
||||||
|
|
||||||
Describe lsp_settings#root_path
|
Describe lsp_settings#root_path
|
||||||
|
|||||||
Reference in New Issue
Block a user