I've been using LESS and I find it very useful
I would like to have CSS syntax highlight in Vim with all .less files.
Any suggestions?
After opening login.sh file in vim editor, press ESC key and type ':syntax on' to enable syntax highlighting. The file will look like the following image if syntax highlighting is on. Press ESC key and type, “syntax off” to disable syntax highlighting.
VIM is an alternative and advanced version of VI editor that enables Syntax highlighting feature in VI. Syntax highlighting means it can show some parts of text in another fonts and colors. VIM doesn't show whole file but have some limitations in highlighting particular keywords or text matching a pattern in a file.
If you want to toggle this on/off (without creating a . vimrc file) simply type :syntax on while in vi/vim.
vim comes bundled with Vim and is available in /usr/share/vim/vim72/syntax/python. vim , if an alternative version is instead loaded from ~/. vim/syntax/python.
http://leafo.net/lessphp/vim/
Check the INSTALL file for instructions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With