|
|
@ -31,7 +31,7 @@ Plug 'lambdalisue/suda.vim' " As w!! did not work anymore in nvim |
|
|
|
Plug 'https://github.com/alok/notational-fzf-vim' " note taking |
|
|
|
Plug 'prettier/vim-prettier', { 'do': 'npm install' } " prettier integration |
|
|
|
Plug 'honza/vim-snippets' " Collection of Snippets, used by coc-snippet |
|
|
|
Plug 'ludovicchabant/vim-gutentags', { 'for': ['js', 'vue', 'php', 'python'] } " Keep tags in sync |
|
|
|
"Plug 'ludovicchabant/vim-gutentags', { 'for': ['js', 'vue', 'php', 'python'] } " Keep tags in sync |
|
|
|
Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } } |
|
|
|
Plug 'dpelle/vim-LanguageTool', { 'for': ['markdown', 'tex', 'plaintext', 'mail']} " LanguageTool bindings |
|
|
|
Plug 'msvechla/coc-jira-complete', { 'do': 'yarn install --frozen-lockfile' , 'for': 'gitcommit' } |
|
|
@ -68,7 +68,7 @@ Plug 'jvanja/vim-bootstrap4-snippets', { 'for': ['html', 'blade'] } |
|
|
|
|
|
|
|
" JavaScript{{{ |
|
|
|
Plug 'gavocanov/vim-js-indent', { 'for': [ 'javascript' ]} " JavaScript indent support |
|
|
|
Plug 'heavenshell/vim-jsdoc', { 'for': [ 'javascript', 'vue' ]} " Generate JSDoc comments |
|
|
|
Plug 'heavenshell/vim-jsdoc', { 'for': [ 'javascript', 'typescript', 'vue' ], 'do': 'make install'} " Generate JSDoc comments |
|
|
|
Plug 'posva/vim-vue', { 'for': [ 'javascript', 'html', 'vue' ] } " vue.js integration |
|
|
|
"}}} |
|
|
|
|
|
|
@ -167,6 +167,7 @@ set scrolloff=3 " lines of text around cursor |
|
|
|
set shell=$SHELL |
|
|
|
set cmdheight=1 " command bar height |
|
|
|
set title " set terminal title |
|
|
|
set mouse=nv |
|
|
|
|
|
|
|
set foldmethod=marker" " folds are marked with {{{}}} |
|
|
|
|
|
|
@ -272,7 +273,7 @@ autocmd FileType c,cpp,objc vnoremap <buffer><Leader>f :ClangFormat<CR> |
|
|
|
"}}} |
|
|
|
|
|
|
|
" Prettier |
|
|
|
let g:prettier#config#tab_width = 4 |
|
|
|
let g:prettier#config#tab_width = 2 |
|
|
|
let g:prettier#exec_cmd_async = 1 |
|
|
|
|
|
|
|
" Completion {{{ |
|
|
@ -365,9 +366,9 @@ nmap <leader>ac <Plug>(coc-codeaction) |
|
|
|
nmap <leader>qf <Plug>(coc-fix-current) |
|
|
|
|
|
|
|
" Use <tab> for select selections ranges, needs server support, like: coc-tsserver, coc-python |
|
|
|
nmap <silent> <TAB> <Plug>(coc-range-select) |
|
|
|
xmap <silent> <TAB> <Plug>(coc-range-select) |
|
|
|
xmap <silent> <S-TAB> <Plug>(coc-range-select-backword) |
|
|
|
"nmap <silent> <TAB> <Plug>(coc-range-select) |
|
|
|
"xmap <silent> <TAB> <Plug>(coc-range-select) |
|
|
|
"xmap <silent> <S-TAB> <Plug>(coc-range-select-backward) |
|
|
|
|
|
|
|
" Use `:Format` to format current buffer |
|
|
|
command! -nargs=0 Format :call CocAction('format') |
|
|
|