mirror of
https://github.com/alrayyes/server-dotfiles
synced 2023-11-14 15:56:25 +00:00
Removed coc & haskell support
This commit is contained in:
parent
56bcc65b39
commit
e8d118bd2b
@ -106,7 +106,6 @@ A repository of my personal server configuration files.
|
|||||||
- [[https://github.com/airblade/vim-gitgutter][airblade/vim-gitgutter]]
|
- [[https://github.com/airblade/vim-gitgutter][airblade/vim-gitgutter]]
|
||||||
- [[https://github.com/dense-analysis/ale][dense-analysis/ale]]
|
- [[https://github.com/dense-analysis/ale][dense-analysis/ale]]
|
||||||
- [[https://github.com/godlygeek/tabular][godlygeek/tabular]]
|
- [[https://github.com/godlygeek/tabular][godlygeek/tabular]]
|
||||||
- [[https://github.com/neoclide/coc.nvim][neoclice/coc.nvim]]
|
|
||||||
- [[https://github.com/preservim/nerdcommenter][preservim/nerdcommenter]]
|
- [[https://github.com/preservim/nerdcommenter][preservim/nerdcommenter]]
|
||||||
- [[https://github.com/RRethy/vim-hexokinase][RRethy/vim-hexokinase]]
|
- [[https://github.com/RRethy/vim-hexokinase][RRethy/vim-hexokinase]]
|
||||||
- [[https://github.com/sheerun/vim-polyglot][sheerun/vim-polyglot]]
|
- [[https://github.com/sheerun/vim-polyglot][sheerun/vim-polyglot]]
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
Plug 'dense-analysis/ale'
|
Plug 'dense-analysis/ale'
|
||||||
Plug 'godlygeek/tabular'
|
Plug 'godlygeek/tabular'
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
|
||||||
Plug 'preservim/nerdcommenter'
|
Plug 'preservim/nerdcommenter'
|
||||||
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
|
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }
|
||||||
Plug 'sheerun/vim-polyglot'
|
Plug 'sheerun/vim-polyglot'
|
||||||
@ -159,31 +158,6 @@
|
|||||||
set termguicolors
|
set termguicolors
|
||||||
" }
|
" }
|
||||||
|
|
||||||
" haskell {
|
|
||||||
autocmd BufWrite *.hs :%!stylish-haskell
|
|
||||||
" }
|
|
||||||
|
|
||||||
" coc {
|
|
||||||
vmap <leader>f <Plug>(coc-format-selected)
|
|
||||||
nmap <leader>f <Plug>(coc-format-selected)
|
|
||||||
|
|
||||||
" Run jest for current project
|
|
||||||
command! -nargs=0 Jest :call CocAction('runCommand', 'jest.projectTest')
|
|
||||||
|
|
||||||
" Run jest for current file
|
|
||||||
command! -nargs=0 JestCurrent :call CocAction('runCommand', 'jest.fileTest', ['%'])
|
|
||||||
|
|
||||||
" Run jest for current test
|
|
||||||
nnoremap <leader>te :call CocAction('runCommand', 'jest.singleTest')<CR>
|
|
||||||
|
|
||||||
" Init jest in current cwd, require global jest command exists
|
|
||||||
command! JestInit :call CocAction('runCommand', 'jest.init')
|
|
||||||
|
|
||||||
" use <Tab> and <S_tab> to navigate completion list
|
|
||||||
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
|
|
||||||
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
|
|
||||||
" }
|
|
||||||
|
|
||||||
" ale {
|
" ale {
|
||||||
" Shortcuts jump between linting errors
|
" Shortcuts jump between linting errors
|
||||||
map <silent> [c <Plug>(ale_previous_wrap)
|
map <silent> [c <Plug>(ale_previous_wrap)
|
||||||
|
Loading…
Reference in New Issue
Block a user