Howto:Syntax highlighting for Nasal: Difference between revisions

Jump to navigation Jump to search
m
Line 29: Line 29:
If you use Mac, move it into your ''Applications/gedit/Contents/Resources/share/gtksourceview-X.0/language specs'' folder. For Linux, move it into your ''/usr/share/gtksourceview-X.0/language-specs'' folder. In the same post given above, there are instructions for how to edit ''xml.lang'' (in the same directory) to add the embedded XML content support (with this minor edit, Nasal highlighting is used inside of certain tags instead of plain text).
If you use Mac, move it into your ''Applications/gedit/Contents/Resources/share/gtksourceview-X.0/language specs'' folder. For Linux, move it into your ''/usr/share/gtksourceview-X.0/language-specs'' folder. In the same post given above, there are instructions for how to edit ''xml.lang'' (in the same directory) to add the embedded XML content support (with this minor edit, Nasal highlighting is used inside of certain tags instead of plain text).


For "snippets" support, nasal.xml has to be moved into ''/usr/share/gedit/plugins/snippets/'' folder.
For "snippets" support, nasal.xml from the above post has to be moved into ''/usr/share/gedit/plugins/snippets/'' folder or installed using the "import" feature. See this image for more details: [[:File:Install nasal snippets in gedit.png|how to import Nasal snippets]].


== Vim ==
== Vim ==
395

edits

Navigation menu