From 898b316797baed2d4d0c8df54a051b591bf52898 Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Wed, 14 Apr 2021 11:13:13 +0200 Subject: [PATCH] update vim settings --- init.vim | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/init.vim b/init.vim index 1686173..f9adeee 100644 --- a/init.vim +++ b/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 an :ALENext nnoremap tn :tabnew -nnoremap :Gstatus +nnoremap :Git nnoremap :Git push "}}} @@ -406,4 +408,16 @@ endif let g:neosnippet#snippets_directory = '~/.dotfiles/vim/neosnippets' "}}} +" Treesitter {{{ +lua <