chore(nvim): remove whitespace in sql buftype
This commit is contained in:
parent
20d8ddf906
commit
e4a676d7c8
2
nvimrc
2
nvimrc
|
@ -105,7 +105,7 @@ augroup vimrc
|
||||||
" https://github.com/fatih/vim-go/issues/1757#issuecomment-565130503
|
" https://github.com/fatih/vim-go/issues/1757#issuecomment-565130503
|
||||||
autocmd FileType qf if (getwininfo(win_getid())[0].loclist != 1) | wincmd J | endif
|
autocmd FileType qf if (getwininfo(win_getid())[0].loclist != 1) | wincmd J | endif
|
||||||
" Remove trailing whitespace pre-save:
|
" Remove trailing whitespace pre-save:
|
||||||
autocmd FileType go,ruby,markdown,rust,python,markdown,lua autocmd BufWritePre <buffer> silent! %s/\s\+$//e
|
autocmd FileType go,ruby,markdown,rust,python,markdown,lua,sql autocmd BufWritePre <buffer> silent! %s/\s\+$//e
|
||||||
augroup end
|
augroup end
|
||||||
|
|
||||||
" Don't remember the current directory for a given file:
|
" Don't remember the current directory for a given file:
|
||||||
|
|
Loading…
Reference in New Issue