@frlan Christmas ;-)
This is a work-in-progress Nix lexer I plan to submit to Lexilla but I'd
like some feedback from @frlan as he's the most proficient Nix user around.
Things should mostly work, I'm just aware of a problem regarding folding
when a block ends and is followed by a multiline string on the same line:
```Nix
{
key = value;
} ''
something
''
```
This is something I have to ask Neil how to handle the best way.
Otherwise I'm not aware of any other issues and I'm interested in any
problems that appear. Especially if strings, escaping, and string
interpolations work as expected and in general if the highlighting seems
correct or something is missing.
Also, for now, the config file doesn't contain correct build commands -
@frlan eventually this is something I'll need from you for Geany.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3954
-- Commit Summary --
* WIP: Nix lexer
-- File Changes --
M data/Makefile.am (1)
A data/filedefs/filetypes.nix (89)
M data/filetype_extensions.conf (1)
M meson.build (1)
M scintilla/Makefile.am (1)
M scintilla/lexilla/include/SciLexer.h (18)
A scintilla/lexilla/lexers/LexNix.cxx (527)
M scintilla/lexilla/src/Lexilla.cxx (3)
M scintilla/scintilla_changes.patch (1)
M src/editor.c (1)
M src/filetypes.c (1)
M src/filetypes.h (1)
M src/highlighting.c (10)
M src/highlightingmappings.h (31)
-- Patch Links --
https://github.com/geany/geany/pull/3954.patch
https://github.com/geany/geany/pull/3954.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3954
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/[email protected]>