add godot stuff to vim config, fix polybar config
This commit is contained in:
parent
603f66963c
commit
706fe9b17f
6 changed files with 23 additions and 5 deletions
6
vim/after/ftplugin/gdscript.vim
Normal file
6
vim/after/ftplugin/gdscript.vim
Normal file
|
@ -0,0 +1,6 @@
|
|||
setlocal tabstop=4
|
||||
nnoremap <buffer> <F4> :GodotRunLast<CR>
|
||||
nnoremap <buffer> <F5> :GodotRun<CR>
|
||||
nnoremap <buffer> <F6> :GodotRunCurrent<CR>
|
||||
nnoremap <buffer> <F7> :GodotRunFZF<CR>
|
||||
|
|
@ -18,6 +18,11 @@
|
|||
"directory": "/tmp/ccls"
|
||||
}
|
||||
}
|
||||
},
|
||||
"godot": {
|
||||
"host": "127.0.0.1",
|
||||
"filetypes": ["gdscript"],
|
||||
"port": 6008
|
||||
}
|
||||
},
|
||||
"tsserver.log": "off"
|
||||
|
|
|
@ -107,7 +107,8 @@ Plug 'airblade/vim-gitgutter'
|
|||
Plug 'easymotion/vim-easymotion', "{{{
|
||||
map <leader><leader> <plug>(easymotion-prefix)
|
||||
"}}}
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'habamax/vim-godot'
|
||||
"Plug 'sheerun/vim-polyglot'
|
||||
Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'}, "{{{
|
||||
" let g:coc_global_extensions = [
|
||||
" \ 'coc-css',
|
||||
|
@ -122,7 +123,7 @@ Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'}, "{{{
|
|||
" \ 'coc-yaml',
|
||||
" \ ]
|
||||
set signcolumn=yes
|
||||
set updatetime=300
|
||||
set updatetime=750
|
||||
set shortmess+=c
|
||||
inoremap <silent><expr> <TAB>
|
||||
\ pumvisible() ? "\<C-n>" :
|
||||
|
@ -141,6 +142,9 @@ nmap <silent> gy <Plug>(coc-type-definition)
|
|||
nmap <silent> gi <Plug>(coc-implementation)
|
||||
nmap <silent> gr <Plug>(coc-references)
|
||||
|
||||
nmap <silent> ]p :<C-u>CocPrev<CR>
|
||||
nmap <silent> [p :<C-u>CocNext<CR>
|
||||
|
||||
nmap <leader>f <Plug>(coc-fix-current)
|
||||
|
||||
" Use <c-space> to trigger completion.
|
||||
|
@ -245,6 +249,7 @@ endtry
|
|||
" Display mispellings as italicised
|
||||
hi clear SpellBad
|
||||
hi SpellBad gui=underline cterm=italic
|
||||
hi Pmenu ctermbg=16
|
||||
|
||||
" List items are always weird distracting colors
|
||||
hi SpecialKey ctermfg=238
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue