diff options
author | Guangxiong Lin <[email protected]> | 2022-04-14 00:49:19 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-04-14 00:49:19 +0800 |
commit | 5740523531630a0f87cf3abb4aa799a6a19d49e2 (patch) | |
tree | ee96395779922ef2947ac3e62803a847075bd6f0 /.vim/after | |
parent | b78f3c1cb3f5eeedd05330f249e79cda2112aeb4 (diff) | |
download | dotfiles-5740523531630a0f87cf3abb4aa799a6a19d49e2.tar.gz dotfiles-5740523531630a0f87cf3abb4aa799a6a19d49e2.tar.bz2 dotfiles-5740523531630a0f87cf3abb4aa799a6a19d49e2.zip |
Update godot vim config
Diffstat (limited to '.vim/after')
-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', { |