Monday, January 21, 2013

Re: Limiting ftplugins to relevant buffers

On Mon, Jan 21, 2013 at 01:03:59PM -0800, neilhwatson@gmail.com wrote:
> Greetings,

> I set custom ftplugin like this:
> au BufRead,BufNewFile *.cf set ft=cf3

> I edit a .cf file the plugin works correctly. If I start a new buffer, say *.html, the settings from the .cf plugin are active in this buffer. How can I prevent this?

have you tried using "setl" instead of "set"?

sc

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

No comments: