diff options
-rw-r--r-- | .vim/after/plugin/godot.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.vim/after/plugin/godot.vim b/.vim/after/plugin/godot.vim index 655710e..17e9e83 100644 --- a/.vim/after/plugin/godot.vim +++ b/.vim/after/plugin/godot.vim @@ -32,6 +32,16 @@ let g:ycm_language_server += [ \ } \ ] +" vim-lsp +if get(g:, 'lsp_loaded', 0) == 1 + au User lsp_setup + \ call lsp#register_server({ + \ 'name': 'godot', + \ 'tcp': {server_info->'localhost:6008'}, + \ 'allowlist': ['gdscript', 'gdscript3'] + \ }) +endif + " ALE config call ale#linter#Define('gdscript', { |