|
@ -31,14 +31,17 @@ Plug 'lambdalisue/suda.vim' " As w!! did not work anymore in nvim |
|
|
Plug 'https://github.com/alok/notational-fzf-vim' " note taking |
|
|
Plug 'https://github.com/alok/notational-fzf-vim' " note taking |
|
|
Plug 'prettier/vim-prettier', { 'do': 'npm install' } " prettier integration |
|
|
Plug 'prettier/vim-prettier', { 'do': 'npm install' } " prettier integration |
|
|
Plug 'honza/vim-snippets' " Collection of Snippets, used by coc-snippet |
|
|
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 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } } |
|
|
Plug 'dpelle/vim-LanguageTool', { 'for': ['markdown', 'tex', 'plaintext', 'mail']} " LanguageTool bindings |
|
|
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 |
|
|
" {{{ CocPlugins |
|
|
Plug 'neoclide/coc-json', { 'do': 'yarn install --frozen-lockfile' } |
|
|
Plug 'neoclide/coc-json', { 'do': 'yarn install --frozen-lockfile' } |
|
|
Plug 'neoclide/coc-snippets', { '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-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 'fannheyward/coc-rust-analyzer', { 'do': 'yarn install --frozen-lockfile' } |
|
|
Plug 'neoclide/coc-vetur', { 'do': 'yarn install --frozen-lockfile' } |
|
|
Plug 'neoclide/coc-vetur', { 'do': 'yarn install --frozen-lockfile' } |
|
|
Plug 'neoclide/coc-css', { 'do': 'yarn install --frozen-lockfile' } |
|
|
Plug 'neoclide/coc-css', { 'do': 'yarn install --frozen-lockfile' } |
|
@ -60,6 +63,7 @@ Plug 'gregsexton/MatchTag', { 'for': ['html', 'php', 'gohtmltmpl', 'vue'] } " ma |
|
|
Plug 'othree/html5.vim', { 'for': ['html', 'php', 'gohtmltmpl', 'vue'] } " html5 support |
|
|
Plug 'othree/html5.vim', { 'for': ['html', 'php', 'gohtmltmpl', 'vue'] } " html5 support |
|
|
Plug 'lumiliet/vim-twig', { 'for': ['html'] } " twig syntax support |
|
|
Plug 'lumiliet/vim-twig', { 'for': ['html'] } " twig syntax support |
|
|
Plug 'Glench/Vim-Jinja2-Syntax', { 'for': ['html'] } |
|
|
Plug 'Glench/Vim-Jinja2-Syntax', { 'for': ['html'] } |
|
|
|
|
|
Plug 'jvanja/vim-bootstrap4-snippets', { 'for': ['html', 'blade'] } |
|
|
"}}} |
|
|
"}}} |
|
|
|
|
|
|
|
|
" JavaScript{{{ |
|
|
" JavaScript{{{ |
|
@ -103,6 +107,7 @@ Plug 'jwalton512/vim-blade', { 'for': 'php' } |
|
|
" {{{ Python |
|
|
" {{{ Python |
|
|
Plug 'jeetsukumaran/vim-pythonsense', { 'for': ['python'] } " text objects for python |
|
|
Plug 'jeetsukumaran/vim-pythonsense', { 'for': ['python'] } " text objects for python |
|
|
Plug 'heavenshell/vim-pydocstring', { 'for': ['python'], 'do': 'make install' } |
|
|
Plug 'heavenshell/vim-pydocstring', { 'for': ['python'], 'do': 'make install' } |
|
|
|
|
|
Plug 'anntzer/vim-cython', { 'for': ['python']} |
|
|
"}}} |
|
|
"}}} |
|
|
|
|
|
|
|
|
" All of your Plugins must be added before the following line |
|
|
" All of your Plugins must be added before the following line |
|
@ -168,9 +173,11 @@ set foldmethod=marker" " folds are marked with {{{}}} |
|
|
" Uncomment the following to have Vim jump to the last position when |
|
|
" Uncomment the following to have Vim jump to the last position when |
|
|
" reopening a file |
|
|
" reopening a file |
|
|
if has("autocmd") |
|
|
if has("autocmd") |
|
|
|
|
|
if expand('%:t') != 'COMMIT_EDITMSG' |
|
|
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") |
|
|
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") |
|
|
\| exe "normal! g'\"" | endif |
|
|
\| exe "normal! g'\"" | endif |
|
|
endif |
|
|
endif |
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
" Setting for correct mips syntax highlighting |
|
|
" Setting for correct mips syntax highlighting |
|
|
au BufReadPost *.mips set syntax=mips |
|
|
au BufReadPost *.mips set syntax=mips |
|
@ -180,6 +187,9 @@ let g:tex_flavor = "latex" |
|
|
|
|
|
|
|
|
" use python 3 when in doubt |
|
|
" use python 3 when in doubt |
|
|
set pyxversion=3 |
|
|
set pyxversion=3 |
|
|
|
|
|
|
|
|
|
|
|
" Disable ALEs LSP, as we're using coc |
|
|
|
|
|
let g:ale_disable_lsp = 1 |
|
|
" }}} |
|
|
" }}} |
|
|
|
|
|
|
|
|
" MAPPINGS{{{ |
|
|
" MAPPINGS{{{ |
|
@ -211,12 +221,11 @@ nmap <leader>an :ALENext<cr> |
|
|
|
|
|
|
|
|
nnoremap <leader>tn :tabnew<cr> |
|
|
nnoremap <leader>tn :tabnew<cr> |
|
|
|
|
|
|
|
|
nnoremap <F3> :Gstatus<cr> |
|
|
|
|
|
nnoremap <F4> :Gpush<cr> |
|
|
|
|
|
|
|
|
nnoremap <F3> :Git<cr> |
|
|
|
|
|
nnoremap <F4> :Git push<cr> |
|
|
"}}} |
|
|
"}}} |
|
|
|
|
|
|
|
|
" P L U G I N S{{{ |
|
|
" P L U G I N S{{{ |
|
|
|
|
|
|
|
|
let g:languagetool_server="/opt/LanguageTool/LanguageTool-5.0/languagetool-server.jar" |
|
|
let g:languagetool_server="/opt/LanguageTool/LanguageTool-5.0/languagetool-server.jar" |
|
|
let g:languagetool_jar="/opt/LanguageTool/LanguageTool-5.0/languagetool-commandline.jar" |
|
|
let g:languagetool_jar="/opt/LanguageTool/LanguageTool-5.0/languagetool-commandline.jar" |
|
|
|
|
|
|
|
@ -400,4 +409,16 @@ endif |
|
|
let g:neosnippet#snippets_directory = '~/.dotfiles/vim/neosnippets' |
|
|
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 |
|
|
|
|
|
" }}} |
|
|
|
|
|
|
|
|
"}}} |
|
|
"}}} |