From d4e1469e4b0c5aaf5c23be555e8b224f9254d781 Mon Sep 17 00:00:00 2001 From: gxlin Date: Thu, 15 Jul 2021 21:28:06 +0800 Subject: A usable boostrap config --- .vim/plugins/godot.vim | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .vim/plugins/godot.vim (limited to '.vim/plugins/godot.vim') diff --git a/.vim/plugins/godot.vim b/.vim/plugins/godot.vim deleted file mode 100644 index 49354f8..0000000 --- a/.vim/plugins/godot.vim +++ /dev/null @@ -1,35 +0,0 @@ -if has('macunix') - let g:godot_executable = '/Applications/Godot.app' -endif -if has('win32') || has('win32unix') - let g:godot_executable = '' -endif - -let g:ycm_language_server += [ - \ { - \ 'name': 'godot', - \ 'filetypes': ['gdscript'], - \ 'project_root_files': ['project.godot'], - \ 'port': 6008 - \ } - \ ] - -let g:Lf_RootMarkers += ['project.godot'] - -func! s:godot_settings() abort - setlocal tabstop=4 - nnoremap rl :GodotRunLast - nnoremap rc :GodotRunCurrent - nnoremap rr :GodotRun -endfunc - -augroup godot | au! - au FileType gdscript call s:godot_settings() -augroup end - -call ale#linter#Define('gdscript', { -\ 'name': 'godot', -\ 'lsp': 'socket', -\ 'address': '127.0.0.1:6008', -\ 'project_root': 'project.godot', -\ }) -- cgit v1.2.3