chrisbra / csv.vim

A Filetype plugin for csv files
http://www.vim.org/scripts/script.php?script_id=2830
Vim License
1.28k stars 62 forks source link

Use &buftype=nofile #209

Closed h3xx closed 2 years ago

h3xx commented 2 years ago

This is technically more correct since this isn't tied to a file, but a derived buffer.

doc/options.txt:

'buftype' 'bt' string (default: "") local to buffer The value of this option specifies the type of a buffer:

  • \<empty> - normal buffer
  • nofile - buffer which is not related to a file and will not be written
  • nowrite - buffer which will not be written
chrisbra commented 2 years ago

thanks