Fritz Thomas

Posts Tagged ‘vim

12 Jul, 2010

Manually set syntax for a file in vim

Posted by: Thomas In: Linux

If you edit a file and vim does not recognize its syntax correctly or not at all you can set its syntax manually with :set syntax=[SYNTAX] Do you want to know which syntax your vim installation understands you can list all with this find: find /usr/share/vim/*/syntax -name “*\.vim”. This is also the place where to [...]




Latest Tweets