Browse Source

Update vim config

master
Schneider 4 years ago
parent
commit
91f5fcb21c
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 23
      init.vim
  2. 1
      vim/ftplugin/qf.vim

23
init.vim

@ -32,6 +32,8 @@ 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'] } " Keep tags in sync
Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }
Plug 'dpelle/vim-LanguageTool', { 'for': ['markdown', 'tex', 'plaintext', 'mail']} " LanguageTool bindings
" {{{ CocPlugins " {{{ CocPlugins
Plug 'neoclide/coc-json', { 'do': 'yarn install --frozen-lockfile' } Plug 'neoclide/coc-json', { 'do': 'yarn install --frozen-lockfile' }
@ -41,6 +43,7 @@ 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' }
Plug 'neoclide/coc-vimtex', { 'do': 'yarn install --frozen-lockfile' } Plug 'neoclide/coc-vimtex', { 'do': 'yarn install --frozen-lockfile' }
Plug 'fannheyward/coc-texlab', { 'do': 'yarn install --frozen-lockfile' }
Plug 'neoclide/coc-html', { 'do': 'yarn install --frozen-lockfile' } Plug 'neoclide/coc-html', { 'do': 'yarn install --frozen-lockfile' }
Plug 'neoclide/coc-yaml', { 'do': 'yarn install --frozen-lockfile' } Plug 'neoclide/coc-yaml', { 'do': 'yarn install --frozen-lockfile' }
Plug 'neoclide/coc-python', { 'do': 'yarn install --frozen-lockfile' } Plug 'neoclide/coc-python', { 'do': 'yarn install --frozen-lockfile' }
@ -48,10 +51,11 @@ Plug 'marlonfan/coc-phpls', { 'do': 'yarn install --frozen-lockfile' }
Plug 'fannheyward/coc-sql', { 'do': 'yarn install --frozen-lockfile' } Plug 'fannheyward/coc-sql', { 'do': 'yarn install --frozen-lockfile' }
Plug 'fannheyward/coc-markdownlint', { 'do': 'yarn install --frozen-lockfile' } Plug 'fannheyward/coc-markdownlint', { 'do': 'yarn install --frozen-lockfile' }
Plug 'josa42/coc-go', { 'do': 'yarn install --frozen-lockfile' } Plug 'josa42/coc-go', { 'do': 'yarn install --frozen-lockfile' }
Plug 'fannheyward/coc-pyright', { 'for': 'python', 'do': 'yarn install --frozen-lockfile' }
" }}} " }}}
" html / templates{{{ " html / templates{{{
Plug 'mattn/emmet-vim', { 'for': ['html', 'php', 'gohtmltmpl', 'vue', 'markdown'] } " emmet support for vim - easily create markdup wth CSS-like syntax
Plug 'mattn/emmet-vim', { 'for': ['jinja.html', 'html', 'php', 'gohtmltmpl', 'vue', 'markdown'] } " emmet support for vim - easily create markdup wth CSS-like syntax
Plug 'gregsexton/MatchTag', { 'for': ['html', 'php', 'gohtmltmpl', 'vue'] } " match tags in html, similar to paren support Plug 'gregsexton/MatchTag', { 'for': ['html', 'php', 'gohtmltmpl', 'vue'] } " match tags in html, similar to paren support
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
@ -93,6 +97,12 @@ Plug 'vim-scripts/DoxygenToolkit.vim', { 'for' : ['c', 'cpp'] }
Plug 'captbaritone/better-indent-support-for-php-with-html', { 'for': 'php' } Plug 'captbaritone/better-indent-support-for-php-with-html', { 'for': 'php' }
Plug 'lumiliet/vim-twig', { 'for': [ 'php', 'html' ] } " Twig templates Plug 'lumiliet/vim-twig', { 'for': [ 'php', 'html' ] } " Twig templates
Plug 'Rican7/php-doc-modded', { 'for': 'php' } " Automatic phpdoc comments Plug 'Rican7/php-doc-modded', { 'for': 'php' } " Automatic phpdoc comments
Plug 'jwalton512/vim-blade', { 'for': 'php' }
"}}}
" {{{ Python
Plug 'jeetsukumaran/vim-pythonsense', { 'for': ['python'] } " text objects for python
Plug 'heavenshell/vim-pydocstring', { 'for': ['python'], 'do': 'make install' }
"}}} "}}}
" All of your Plugins must be added before the following line " All of your Plugins must be added before the following line
@ -134,7 +144,7 @@ set expandtab
" toggle invisible characters " toggle invisible characters
set list set list
set listchars=tab:→\ ,eol,trail:⋅,extends:❯,precedes:❮
set listchars=tab:→\ ,trail:⋅,extends:❯,precedes:❮
set showbreak= set showbreak=
set ttyfast " faster redrawing set ttyfast " faster redrawing
@ -205,9 +215,16 @@ nnoremap <F4> :Gpush<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_jar="/opt/LanguageTool/LanguageTool-5.0/languagetool-commandline.jar"
let NERDTreeShowHidden=1 let NERDTreeShowHidden=1
if exists('g:started_by_firenvim')
let g:airline_disable_statusline = 1
else
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1
end
" notational notes " notational notes
let g:nv_search_paths = ['~/notes'] let g:nv_search_paths = ['~/notes']
@ -380,3 +397,5 @@ if has('conceal')
endif endif
let g:neosnippet#snippets_directory = '~/.dotfiles/vim/neosnippets' let g:neosnippet#snippets_directory = '~/.dotfiles/vim/neosnippets'
"}}} "}}}
"}}}

1
vim/ftplugin/qf.vim

@ -0,0 +1 @@
setlocal nospell
Loading…
Cancel
Save