Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using LESS CSS (PHP version). I'm also using Geany in Linux. Is there a LESS syntax file for Geany out there, or how I can go about editing the CSS one to suit LESS?

share|improve this question
add comment

4 Answers

up vote 5 down vote accepted

This should work. Just update your configuration file filetype_extension.conf.

  1. Open ~/.config/geany/filetype_extensions.conf
  2. Change this line: CSS=*.css; to this: CSS=*.css;*.less;
  3. Save configuration file.
share|improve this answer
add comment

You can also add following into your ~/.config/geany/filedefs/filetypes.css - file

[lexer_properties]
lexer.css.less.language=1

share|improve this answer
add comment

This might be due to a different version, but from within Geany 0.20 you can go to the

main menu > Tools > Configuration Files > filetype_extensions.conf

Prior to accessing the filetype_extensions.conf file in this way the file did not exist in the above mentioned location. Once the changes are saved the file can be found there.

share|improve this answer
add comment

If someone wants it all in one post... http://ajy.co/web/scss-highlighting-in-geany/

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.