diff options
| author | jdhao <jdhao@hotmail.com> | 2020-11-05 01:57:38 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2020-11-05 01:57:38 +0800 |
| commit | 7a5c7c7500129d95eac8fc3c6003b153a2e660fa (patch) | |
| tree | 0f960f7165e04bf80e550ce9e889cb68393d4523 /core/plugins.vim | |
| parent | b505e98e523306a11d9729f2c422ba465fe20b5e (diff) | |
formatting
Diffstat (limited to 'core/plugins.vim')
| -rw-r--r-- | core/plugins.vim | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/plugins.vim b/core/plugins.vim index f7272d9..3502ff9 100644 --- a/core/plugins.vim +++ b/core/plugins.vim @@ -363,8 +363,10 @@ let g:lsp_diagnostics_float_delay = 100 " set up pyls for vim-lsp if executable('pyls') - " pip install python-language-server - au User lsp_setup call lsp#register_server({ + " pip install python-language-server + augroup pyls_setup + autocmd! + autocmd User lsp_setup call lsp#register_server({ \ 'name': 'pyls', \ 'cmd': {server_info->['pyls']}, \ 'allowlist': ['python'], @@ -375,8 +377,9 @@ if executable('pyls') \ 'pyflakes': {'enabled': v:false}, \ 'pycodestyle': {'enabled': v:false}, \ } - \ } + \ } \ }}) + augroup END endif if executable('vim-language-server') |
