It seems I found solution (optional, don't works by default):
```diff
--- scintilla/lexers/LexLisp.cxx        Wed Mar 07 00:46:38 2018
+++ scintilla/lexers/LexLisp.cxx        Wed Mar 07 00:42:04 2018
@@ -86,6 +86,8 @@
        char chNext = styler[startPos];
        Sci_PositionU lengthDoc = startPos + length;
        styler.StartSegment(startPos);
+       /*gettext shorthand for Scheme, GIMP Script-Fu extension*/
+       bool scriptfu = styler.GetPropertyInt("lexer.scheme.scriptfu") == 1;
        for (Sci_PositionU i = startPos; i < lengthDoc; i++) {
                char ch = chNext;
                chNext = styler.SafeGetCharAt(i + 1);
@@ -103,6 +105,11 @@
                                styler.ColourTo(i - 1, state);
                                radix = -1;
                                state = SCE_LISP_MACRO_DISPATCH;
+                       }
+                       /*gettext shorthand for Scheme, GIMP Script-Fu 
extension*/
+                       else if (scriptfu && ch == '_' && chNext == '\"') {
+                               styler.ColourTo(i - 1, state);
+                               state = SCE_LISP_DEFAULT;
                        } else if (ch == ':' && isLispwordstart(chNext)) {
                                styler.ColourTo(i - 1, state);
                                state = SCE_LISP_SYMBOL;

```
And it requires two new strings in ```filetypes.Scheme.conf```:
```ini
[lexer_properties=Lisp]
lexer.scheme.scriptfu=1
```
![02](https://user-images.githubusercontent.com/6333198/37142792-fc80fc3c-22b0-11e8-97c3-485ffd69562e.png)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/982#issuecomment-371427159

Reply via email to