mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
2 commits
75d79fc13c
...
4ca270760b
Author | SHA1 | Date | |
---|---|---|---|
|
4ca270760b | ||
|
d2f964c742 |
3 changed files with 6 additions and 0 deletions
2
nvim/coc-languages/tex.vim
Normal file
2
nvim/coc-languages/tex.vim
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
call extend(g:dotfiles_coc_extensions, {'coc-vimtex': 1})
|
||||||
|
call extend(g:dotfiles_coc_filetypes, {'tex': 1, 'cls': 1})
|
|
@ -34,6 +34,7 @@ let s:plug = funcref('dotfiles#plugman#register')
|
||||||
" }}}
|
" }}}
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
call s:plug('lervag/vimtex')
|
||||||
call s:plug('stevearc/vim-arduino')
|
call s:plug('stevearc/vim-arduino')
|
||||||
call s:plug('luke-gru/vim-riml')
|
call s:plug('luke-gru/vim-riml')
|
||||||
call s:plug('bhurlow/vim-parinfer')
|
call s:plug('bhurlow/vim-parinfer')
|
||||||
|
|
|
@ -6,6 +6,9 @@ nnoremap <C-t> :NERDTreeToggle<CR>
|
||||||
return !col || getline('.')[col - 1] =~ '\s'
|
return !col || getline('.')[col - 1] =~ '\s'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
nmap <silent> <F3> <Plug>(coc-codeaction-line)
|
||||||
|
xmap <silent> <F3> <Plug>(coc-codeaction-selected)
|
||||||
|
|
||||||
inoremap <expr> <cr> coc#pum#visible() ? coc#_select_confirm() : "\<CR>"
|
inoremap <expr> <cr> coc#pum#visible() ? coc#_select_confirm() : "\<CR>"
|
||||||
|
|
||||||
inoremap <silent><expr> <TAB>
|
inoremap <silent><expr> <TAB>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue