Update NeoVim config
This commit is contained in:
parent
950d4f9687
commit
f88984d4ed
@ -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
|
||||
autocmd BufWritePre * %s/\s\+$//e
|
||||
autocmd BufWritepre * %s/\n\+\%$//e
|
||||
|
||||
" chuj
|
||||
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
||||
|
@ -36,7 +36,6 @@ call plug#begin('~/.config/nvim/bundle')
|
||||
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'tpope/vim-commentary'
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
Plug 'alvan/vim-closetag'
|
||||
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
@ -166,10 +165,6 @@ let g:lsp_textprop_enabled = 0
|
||||
let g:lsp_virtual_text_enabled = 0
|
||||
let g:lsp_highlight_references_enabled = 1
|
||||
|
||||
" autopairs
|
||||
let g:AutoPairs={'(':')', '[':']', '{':'}', "'":"'", '"':'"', "`":"`", '```':'```', '"""':'"""', "'''":"'''"} "'<':'>',
|
||||
" let b:AutoPairs={}
|
||||
|
||||
" vim-closetag
|
||||
let g:closetag_filenames = '*.html,*.xhtml,*.phtml'
|
||||
let g:closetag_xhtml_filenames = '*.xhtml,*.jsx'
|
||||
|
Loading…
x
Reference in New Issue
Block a user