Hello, For a while I've configured the indentation preferences for many languages and different projects, similar to:
au! FileType sh setl et ts=2 au! BufRead,BufNewFile */project/*.sh setl noet ts=8 This works fine when opening a file, and I swear it did work before when reloading a file, but now it doesn't. It's very annoying to have to change the settings over and over, and worse: fix the indentation of code I already wrote wrong. This seems to happen because the order of the events is different opening, and reloading. The status after reloading a file should be the same after opening the file. Cheers. -- Felipe Contreras -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAMP44s3h85ckrADSzHUYJNKOLhc8wu2k71_3Liv828ZzcU7LMQ%40mail.gmail.com.
