aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-14 00:49:19 +0800
committerGuangxiong Lin <[email protected]>2022-04-14 00:49:19 +0800
commit5740523531630a0f87cf3abb4aa799a6a19d49e2 (patch)
treeee96395779922ef2947ac3e62803a847075bd6f0 /.vim/after/plugin
parentb78f3c1cb3f5eeedd05330f249e79cda2112aeb4 (diff)
downloaddotfiles-5740523531630a0f87cf3abb4aa799a6a19d49e2.tar.gz
dotfiles-5740523531630a0f87cf3abb4aa799a6a19d49e2.tar.bz2
dotfiles-5740523531630a0f87cf3abb4aa799a6a19d49e2.zip
Update godot vim config
Diffstat (limited to '.vim/after/plugin')
-rw-r--r--.vim/after/plugin/godot.vim10
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', {