Update NeoVim config

This commit is contained in:
Wiktor Zykubek 2020-07-09 17:20:48 +02:00
parent 950d4f9687
commit f88984d4ed
2 changed files with 3 additions and 5 deletions

View File

@ -79,3 +79,6 @@ autocmd BufWritePost *picom.conf !pkill -USR1 picom; picom -b
" automatically deletes all trailing whitespace and newlines at end of file on save " automatically deletes all trailing whitespace and newlines at end of file on save
autocmd BufWritePre * %s/\s\+$//e autocmd BufWritePre * %s/\s\+$//e
autocmd BufWritepre * %s/\n\+\%$//e autocmd BufWritepre * %s/\n\+\%$//e
" chuj
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o

View File

@ -36,7 +36,6 @@ call plug#begin('~/.config/nvim/bundle')
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
Plug 'tpope/vim-commentary' Plug 'tpope/vim-commentary'
Plug 'jiangmiao/auto-pairs'
Plug 'alvan/vim-closetag' Plug 'alvan/vim-closetag'
Plug 'sheerun/vim-polyglot' Plug 'sheerun/vim-polyglot'
@ -166,10 +165,6 @@ let g:lsp_textprop_enabled = 0
let g:lsp_virtual_text_enabled = 0 let g:lsp_virtual_text_enabled = 0
let g:lsp_highlight_references_enabled = 1 let g:lsp_highlight_references_enabled = 1
" autopairs
let g:AutoPairs={'(':')', '[':']', '{':'}', "'":"'", '"':'"', "`":"`", '```':'```', '"""':'"""', "'''":"'''"} "'<':'>',
" let b:AutoPairs={}
" vim-closetag " vim-closetag
let g:closetag_filenames = '*.html,*.xhtml,*.phtml' let g:closetag_filenames = '*.html,*.xhtml,*.phtml'
let g:closetag_xhtml_filenames = '*.xhtml,*.jsx' let g:closetag_xhtml_filenames = '*.xhtml,*.jsx'