The buf_T struct has a field called b_p_ft, which holds the filetype
of the buffer. I would like to try and use this in determining valid
operations for the file, rather than relying first (or solely) on the
file extension. Is this the right approach? If so, is there a standard
formatting/naming scheme for the strings that I would find there?

Thanks!
G.
-- 
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui