Skip to content

Commit

Permalink
Use &buftype=nofile
Browse files Browse the repository at this point in the history
This is technically more correct since this isn't tied to a file, but a
derived buffer.
  • Loading branch information
h3xx committed Jul 7, 2022
1 parent eb284c4 commit eaf271e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/csv.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ fu! csv#SplitHeaderLine(lines, bang, hor) "{{{3
" disable airline
let w:airline_disabled = 1
let win = winnr()
setl scrollbind buftype=nowrite bufhidden=wipe noswapfile nobuflisted
setl scrollbind buftype=nofile bufhidden=wipe noswapfile nobuflisted
noa wincmd p
let b:csv_SplitWindow = win
aug CSV_Preview
Expand Down

0 comments on commit eaf271e

Please sign in to comment.