Tuesday, October 14, 2014

Re: filetypes in edit menu

Hi keith.briggs!

On Di, 14 Okt 2014, keith.briggs@bt.com wrote:

> If I'm editing foo.cc, it is correctly syntax-highlit as a C++ file.
> However, if I then want to edit another C++ file, the only options on
> the "Edit File" dialog is "All files" or "C++ source (*.cpp, *.hpp)".
> This is inconsistent; how do I get "*.cc" added to this "C++ source"
> list?

I am not sure I understand correctly. But I think, what you see, is what
is defined by the buffer-local variable b:browsefilter (which you can
read about at :h browsefilter). If you think, that another filter should
be added, you should write a mail to the maintainer of that particular
filetype (which for C and C++ happens to be Bram, so CC'ing).

Best,
Christian
--
Gesellschaft braucht der Tor, und Einsamkeit der Weise.
-- Friedrich Rückert (Pseudonym: Freimund Raimar)

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: