You are not logged in.

#1 2009-10-07 22:36:29

Mogger
Member
From: Sweden
Registered: 2008-12-07
Posts: 153
Website

[SOLVED] Disable auto-comment in vim

I have this line in my ~/.vimrc to stop vim from auto-commenting my lines:

au FileType * setl fo-=cro        " disable autocomment

However, this doesn't work anymore. verbose shows

formatoptions=croql
        Last set from /usr/share/vim/vim72/ftplugin/vim.vim

My question is, which is the best way to solve this? (If possible, I would like to avoid ~/.vim/after/).

Last edited by Mogger (2009-10-08 12:22:04)

Offline

#2 2009-10-08 12:24:00

Mogger
Member
From: Sweden
Registered: 2008-12-07
Posts: 153
Website

Re: [SOLVED] Disable auto-comment in vim

Suddenly it just works again. Huh? The second problem that appeared out of nowhere and was fixed somehow today. Weird.

Offline

Board footer

Powered by FluxBB