April 10, 2013

Fix: vim indent not working

If you loaded a new indent file or syntax file under ~/.vim/ and it is not taking effect, make sure you have the following line in your ~/.vimrc file:

filetype plugin indent on

This turns on filetype detection, filetype plugin, and filetype-indent. 

No comments:

Post a Comment