]> Sergey Matveev's repositories - vim-lsp.git/commit
Add g:loaded_lsp variable for easy detection
authorC.D. MacEachern <craig.daniel.maceachern@gmail.com>
Wed, 30 Nov 2022 14:11:15 +0000 (09:11 -0500)
committerC.D. MacEachern <craig.daniel.maceachern@gmail.com>
Wed, 30 Nov 2022 18:37:42 +0000 (13:37 -0500)
commit171680d38adf98c7772a2731f10ebe3ea99be699
tree89177233e5fcaa0d06afb5b8cb739a66318260dd
parent8c2afedbc46e78b502aa0eedd5c05e6b227d586b
Add g:loaded_lsp variable for easy detection

Useful to detect if the plugin was loaded before doing things in,
for example, `.vim/after/plugin/lsp.vim` by doing:

```
if !get(g:, 'loaded_lsp') | finish | endif
```
plugin/lsp.vim