]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Remove early bailout check
authorMartin Hardselius <martin@hardselius.dev>
Thu, 15 Dec 2022 08:20:34 +0000 (09:20 +0100)
committerMartin Hardselius <martin@hardselius.dev>
Thu, 15 Dec 2022 08:20:34 +0000 (09:20 +0100)
This kind of bailout does not work with vim9 without `vim9script
noclear`. See `:h vim9-reload`.

Fixes: #122
plugin/lsp.vim

index 28cdccbb23ffb4846b060ef55bdfbd30938b36c3..c983f56cf0bf8da2a2ee24b6076d3aa7fea8d71b 100644 (file)
@@ -7,9 +7,6 @@ vim9script
 
 # Language Server Protocol (LSP) plugin for vim
 
-if exists('g:loaded_lsp')
-  finish
-endif
 g:loaded_lsp = 1
 
 import autoload '../autoload/lsp/options.vim'