Vigil wrote:
For at least filetypes html, sh, and perl, whenever I start a line with '#', it moves it to the very beginning of the line, ignoring any indent. It doesn't do this with filetype=c.

I don't know where this is set. I looked in cpoptions and even removed all my /plugin/'s, but couldn't find it. Where can I stop this behaviour?


Maybe the 'indentexpr' does it for those filetypes.

Try ":filetype indent off" in your vimrc.


Best regards,
Tony.

Reply via email to