nvim: after/ftplugin: Use 'wipe' for bufhidden
This commit is contained in:
parent
f088e258da
commit
748fd222da
4 changed files with 5 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
|||
setlocal bufhidden=wipe
|
||||
|
||||
" Disable whitespace highlighting in git buffer
|
||||
autocmd! BufEnter <buffer> DisableWhitespace
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
setlocal bufhidden=delete
|
||||
setlocal bufhidden=wipe
|
||||
|
|
|
@ -6,4 +6,4 @@ nmap <buffer> <silent> <Leader>r :Reword<CR>
|
|||
nmap <buffer> <silent> <Leader>f :Fixup<CR>
|
||||
nmap <buffer> <silent> <Leader>c :Cycle<CR>
|
||||
|
||||
setlocal bufhidden=delete
|
||||
setlocal bufhidden=wipe
|
||||
|
|
|
@ -30,5 +30,5 @@ nnoremap <Leader>gw :Gwrite<CR>
|
|||
augroup custom_fugitive
|
||||
autocmd!
|
||||
autocmd FileType fugitive nnoremap <buffer><silent> q :bwipeout!<CR>
|
||||
autocmd BufReadPost fugitive:// setlocal bufhidden=delete
|
||||
autocmd BufReadPost fugitive:// setlocal bufhidden=wipe
|
||||
augroup END
|
||||
|
|
Loading…
Reference in a new issue