422
edits
(→KDE Editors: note the KDE site is no longer available and the syntax highlighter cannot be found at the new site) |
|||
Line 49: | Line 49: | ||
== KDE Editors == | == KDE Editors == | ||
''''' | There's a highlighting definition for nasal available at '''opendesktop.org''' (https://dl.opendesktop.org/api/files/download/id/1502659914/nasal.xml) | ||
Download the file and copy it into: | |||
:~/.kde4/share/apps/katepart/syntax/ (for KDE4) | |||
:or | |||
:~/.local/share/katepart5/syntax/ (for KF5 pre 5.29) | |||
:or | |||
:~/.local/share/org.kde.syntax.highlighting/syntax/ (for current KF5 versions) | |||
(you can create the folders if they don't exist yet). | |||
Note that the syntax highlighting in KDE doesn't set colors, it just identifies structural elements, colors are defined by the '''schemas''' used by each editor, thus you get consistent highlighting between different languages. | Note that the syntax highlighting in KDE doesn't set colors, it just identifies structural elements, colors are defined by the '''schemas''' used by each editor, thus you get consistent highlighting between different languages. |
edits