====== SCSS Filetype ======
[[https://sass-lang.com/|SCSS]] is an extension over CSS, that can be compiled down to plain CSS.
Add this to the ''[[https://www.geany.org/manual/#filetype-extensions|filetype_extensions.conf]]'' file (''...'' means existing data):
[Extensions]
...
SCSS=*.scss
...
[Groups]
...
Markup=SCSS
...
And create a new [[https://www.geany.org/manual/#custom-filetypes|filedef]] named ''filetypes.SCSS.conf'' with the following contents:
[styling=CSS]
[keywords=CSS]
[lexer_properties=CSS]
lexer.css.scss.language=1
[settings=CSS]
lexer_filetype=CSS
tag_parser=CSS
extension=scss
# SCSS has single-line comments in addition to CSS multi-line ones
comment_single=//
[build_settings]
# %f will be replaced by the complete filename
# %e will be replaced by the filename without extension
# (use only one of it at one time)
compiler=sass -c "%f"
linker=sass --style expanded "%f" "%e.dev.css"
{{tag>configure scss sass filetype}}
~~NOTOC~~