Browse Source

Add different settings

coc
Schneider 5 years ago
parent
commit
eda43d78de
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 2
      init.vim
  2. 4
      vim/ftplugin/rust.vim
  3. 2
      vim/ftplugin/tex.vim

2
init.vim

@ -32,7 +32,7 @@ Plug 'radenling/vim-dispatch-neovim' " support for :Start command, needed in dad
Plug 'lambdalisue/suda.vim' " As w!! did not work anymore in nvim
" html / templates{{{
Plug 'mattn/emmet-vim', { 'for': ['html', 'php', 'gohtmltmpl', 'vue', 'xml'] } " emmet support for vim - easily create markdup wth CSS-like syntax
Plug 'mattn/emmet-vim', { 'for': ['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 'othree/html5.vim', { 'for': ['html', 'php', 'gohtmltmpl', 'vue'] } " html5 support
Plug 'lumiliet/vim-twig', { 'for': ['html'] } " twig syntax support

4
vim/ftplugin/rust.vim

@ -6,7 +6,7 @@ let g:ale_fixers = {}
let g:ale_fixers['rust'] = ['rustfmt']
let g:ale_fix_on_save=1
nnoremap <F5> :w<cr>:!cargo run<cr>
nnoremap <F6> :w<cr>:!cargo test<cr>
nnoremap <F5> :RustRun<cr>
nnoremap <F6> :RustTest!<cr>
nnoremap <F8> ^wimut <esc>

2
vim/ftplugin/tex.vim

@ -16,6 +16,8 @@ if has("nvim")
let g:deoplete#omni#input_patterns.tex = g:vimtex#re#deoplete
endif
let g:vimtex_compiler_progname = 'nvr'
set conceallevel=0
" spell checking

Loading…
Cancel
Save