Skip to content

Instantly share code, notes, and snippets.

@diazvictor
Created March 22, 2021 05:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diazvictor/f5170dc972eda6f06425ca5779f30cb4 to your computer and use it in GitHub Desktop.
Save diazvictor/f5170dc972eda6f06425ca5779f30cb4 to your computer and use it in GitHub Desktop.
LESS Filetype For Geany
# For complete documentation of this file, please see Geany's main documentation
[styling=CSS]
[keywords=CSS]
[lexer_properties=CSS]
lexer.css.less.language=1
[settings]
lexer_filetype=CSS
tag_parser=CSS
extension=less
# the following characters are these which a "word" can contains, see documentation
wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@
# single comments, like # in this file
comment_single=//
# multiline comments
comment_open=/*
comment_close=*/
# set to false if a comment character/string should start at column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
#command_example();
# setting to false would generate this
# command_example();
# This setting works only for single line comments
comment_use_indent=false
# context action command (please see Geany's main documentation for details)
context_action_cmd=zeal "less,css:%s"
[indentation]
#width=4
# 0 is spaces, 1 is tabs, 2 is tab & spaces
#type=1
[build-menu]
EX_00_WD=
FT_01_LB=_Compile to css
FT_01_CM=lessc %f > %e.css
FT_01_WD=%d
FT_00_LB=_Code inspector
FT_00_CM=lessc --lint --no-color %f
FT_00_WD=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment