diff --git a/init.vim b/init.vim index da5ff57..1686173 100644 --- a/init.vim +++ b/init.vim @@ -31,9 +31,10 @@ 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'] } " 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' } " {{{ CocPlugins Plug 'neoclide/coc-json', { 'do': 'yarn install --frozen-lockfile' } @@ -169,8 +170,10 @@ set foldmethod=marker" " folds are marked with {{{}}} " Uncomment the following to have Vim jump to the last position when " reopening a file if has("autocmd") - au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") - \| exe "normal! g'\"" | endif + if expand('%:t') != 'COMMIT_EDITMSG' + au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") + \| exe "normal! g'\"" | endif + endif endif " Setting for correct mips syntax highlighting @@ -181,6 +184,9 @@ let g:tex_flavor = "latex" " use python 3 when in doubt set pyxversion=3 + +" Disable ALEs LSP, as we're using coc +let g:ale_disable_lsp = 1 " }}} " MAPPINGS{{{ @@ -217,7 +223,6 @@ nnoremap :Git push "}}} " P L U G I N S{{{ - let g:languagetool_server="/opt/LanguageTool/LanguageTool-5.0/languagetool-server.jar" let g:languagetool_jar="/opt/LanguageTool/LanguageTool-5.0/languagetool-commandline.jar"