On 2011-03-20 Ben Schmidt <[email protected]> wrote:

> On 18/03/11 11:12 PM, Marco wrote:
> > When often edit files where the filetype detection fails. The files are
> > detected as »conf« instead of »gnuplot« for instance. I can set
> > ft=gnuplot, but when I switch to another buffer and switch back, it falls
> > back to »conf«, including the wrong syntax highlighting.
> >
> > How can I make vim remember my manually input file type?
> 
> Maybe :set hidden so that the buffer is not unloaded, but just gets
> hidden, so that when you switch back to it, the current settings are
> used, rather than filetype detection triggering again.

This works for me. Thank you


Marco


-- 
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

Reply via email to