aboutsummaryrefslogtreecommitdiff
path: root/.vim/plugin/godot.vim
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-02 11:48:21 +0800
committerGuangxiong Lin <[email protected]>2022-04-02 11:48:21 +0800
commit0587d80453bc92acb20b351fd17bc2f9126e01b0 (patch)
treec16ded09f47751abca3f21b35825a1c7873425ba /.vim/plugin/godot.vim
parent9ed3898acfdab8f1361e46c755f337eec96c4028 (diff)
downloaddotfiles-0587d80453bc92acb20b351fd17bc2f9126e01b0.tar.gz
dotfiles-0587d80453bc92acb20b351fd17bc2f9126e01b0.tar.bz2
dotfiles-0587d80453bc92acb20b351fd17bc2f9126e01b0.zip
Update plugin config location in vim
Diffstat (limited to '.vim/plugin/godot.vim')
-rw-r--r--.vim/plugin/godot.vim42
1 files changed, 0 insertions, 42 deletions
diff --git a/.vim/plugin/godot.vim b/.vim/plugin/godot.vim
deleted file mode 100644
index 655710e..0000000
--- a/.vim/plugin/godot.vim
+++ /dev/null
@@ -1,42 +0,0 @@
-if has('macunix')
- let g:godot_executable = '/Applications/Godot.app'
-endif
-
-if has('win32') || has('win32unix')
- let g:godot_executable = ''
-endif
-
-func! s:godot_settings() abort
- setlocal tabstop=4
- nnoremap <buffer> <leader>rl :GodotRunLast<CR>
- nnoremap <buffer> <leader>rc :GodotRunCurrent<CR>
- nnoremap <buffer> <leader>rr :GodotRun<CR>
-endfunc
-
-augroup godot | au!
- au FileType gdscript call s:godot_settings()
-augroup end
-
-"YCM config
-
-if !has_key( g:, 'ycm_language_server' )
- let g:ycm_language_server = []
-endif
-
-let g:ycm_language_server += [
- \ {
- \ 'name': 'godot',
- \ 'filetypes': ['gdscript'],
- \ 'project_root_files': ['project.godot'],
- \ 'port': 6008
- \ }
- \ ]
-
-" ALE config
-
-call ale#linter#Define('gdscript', {
-\ 'name': 'godot',
-\ 'lsp': 'socket',
-\ 'address': '127.0.0.1:6008',
-\ 'project_root': 'project.godot',
-\ })