Browse Source

update vim settings

master
Schneider 4 years ago
parent
commit
898b316797
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 16
      init.vim

16
init.vim

@ -35,11 +35,13 @@ Plug 'ludovicchabant/vim-gutentags', { 'for': ['js', 'vue', 'php', 'python'] } "
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' }
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " We recommend updating the parsers on update
" {{{ CocPlugins
Plug 'neoclide/coc-json', { 'do': 'yarn install --frozen-lockfile' }
Plug 'neoclide/coc-snippets', { 'do': 'yarn install --frozen-lockfile' }
Plug 'neoclide/coc-tsserver', { 'do': 'yarn install --frozen-lockfile' }
Plug 'neoclide/coc-eslint', { 'do': 'yarn install --frozen-lockfile' }
Plug 'fannheyward/coc-rust-analyzer', { 'do': 'yarn install --frozen-lockfile' }
Plug 'neoclide/coc-vetur', { 'do': 'yarn install --frozen-lockfile' }
Plug 'neoclide/coc-css', { 'do': 'yarn install --frozen-lockfile' }
@ -218,7 +220,7 @@ nmap <leader>an :ALENext<cr>
nnoremap <leader>tn :tabnew<cr>
nnoremap <F3> :Gstatus<cr>
nnoremap <F3> :Git<cr>
nnoremap <F4> :Git push<cr>
"}}}
@ -406,4 +408,16 @@ endif
let g:neosnippet#snippets_directory = '~/.dotfiles/vim/neosnippets'
"}}}
" Treesitter {{{
lua <<EOF
require'nvim-treesitter.configs'.setup {
ensure_installed = {"typescript", "javascript", "python", "json", "yaml"}, -- one of "all", "maintained" (parsers with maintainers), or a list of languages
highlight = {
enable = true, -- false will disable the whole extension
disable = {}, -- list of language that will be disabled
},
}
EOF
" }}}
"}}}
Loading…
Cancel
Save