0

I'm using rails.vim in vim but can't tell if it has syntax highlighting for .less. I read somewhere that it does but when I load up a .less file there's no syntax highlighting

Currently using rails.vim 4.4

1 Answer 1

1

According to this it adds support - as of version 4.3: https://github.com/vim-scripts/rails.vim/commit/e5a1dc7a7ef88192f98f2af0793224b01cc20df7

But support does not necessarily mean 'syntax highlighting'

EDIT:

According to this, syntax highlighting should work for .less files (with vim-less): https://github.com/groenewege/vim-less

It may be worth checking out the vim-less plugin.

Sign up to request clarification or add additional context in comments.

2 Comments

currently using rails.vim 4.4. hrmm...i'm wondering if i should add a .less highlight vim plugin or "fix" my rails.vim if something is wrong with it.
Edited my answer to reflect a new link I found regarding vim-less.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.