Monday, January 21, 2013

Limiting ftplugins to relevant buffers

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?

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