Kitty still WIP, more coc stuff (need to use built-in LSP)
This commit is contained in:
parent
a56335553b
commit
ad9510aeb2
3 changed files with 13 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
# font_family monospace
|
||||
font_family Iosevka Bold
|
||||
font_family monospace
|
||||
# font_family Iosevka Term
|
||||
# bold_font Iosevka Bold
|
||||
# italic_font Iosevka Italic
|
||||
# bold_italic_font Iosevka Bold Italic
|
||||
|
|
|
@ -50,7 +50,7 @@ function! NextIndent(exclusive, fwd, lowerlevel, skipblanks)
|
|||
while (line > 0 && line <= lastline)
|
||||
let line = line + stepvalue
|
||||
if ( a:lowerlevel == 0 && indent(line) == indent ||
|
||||
\ a:lowerlevel == 1 && indent(line) < indent ||
|
||||
\ a:lowerlevel == 1 && indent(line) < indent ||
|
||||
\ a:lowerlevel == -1 && indent(line) > indent)
|
||||
if (! a:skipblanks || strlen(getline(line)) > 0)
|
||||
if (a:exclusive)
|
||||
|
@ -219,8 +219,17 @@ nnoremap <leader>gs :syntax sync fromstart<CR>
|
|||
nnoremap <leader><space>c :CocConfig<CR>
|
||||
|
||||
" go to definitions
|
||||
nnoremap <leader>gd <Plug>(coc-jump-definition)
|
||||
nnoremap <leader>d <Plug>(coc-jump-definition)
|
||||
|
||||
nmap <silent> gd <Plug>(coc-definition)
|
||||
nmap <silent> gy <Plug>(coc-type-definition)
|
||||
nmap <silent> gi <Plug>(coc-implementation)
|
||||
nmap <silent> gr <Plug>(coc-references)
|
||||
|
||||
nmap <leader>ac <Plug>(coc-codeaction)
|
||||
nmap <leader>qf <Plug>(coc-fix-current)
|
||||
|
||||
" ale
|
||||
|
||||
" go to definitions
|
||||
|
|
|
@ -112,4 +112,5 @@ Plug 'JakeBecker/elixir-ls', {'for': ['elixir', 'eelixir'], 'do': { -> g:elixirl
|
|||
Plug 'tpope/vim-dadbod' " databasing in vim
|
||||
Plug 'lytedev/elm-vim' " elm lang
|
||||
Plug 'google/vim-jsonnet' " jsonnet
|
||||
Plug 'sirtaj/vim-openscad' " openscad
|
||||
Plug 'ssh://git@git.lyte.dev:2222/lytedev/vim-lytlang.git'
|
||||
|
|
Reference in a new issue