Howto:Syntax highlighting for Nasal: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 40: Line 40:


[[File:Vim-nasal-syntax-highlighting.png|400px|thumb|Screen shot illustrating syntax highlighting in Vim]]
[[File:Vim-nasal-syntax-highlighting.png|400px|thumb|Screen shot illustrating syntax highlighting in Vim]]
==KDE Editors==
There's a highlighting definition for nasal available at '''kde-files.org''' (http://kde-files.org/content/show.php/Nasal+highlighting?content=154555)
Download the file and copy it into ~/.kde4/share/apps/katepart/syntax/ (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.
The highlighting file should work with all ditors based on the katepart: KWrite, Kate, and the editor component of KDevelop.


== Other editors ==
== Other editors ==
422

edits

Navigation menu