Howto:Syntax highlighting for Nasal: Difference between revisions

Jump to navigation Jump to search
→‎gEdit: add info for nasal.xml and xml embedded content support
No edit summary
(→‎gEdit: add info for nasal.xml and xml embedded content support)
Line 25: Line 25:
http://theomegahangar.flymerlion.com/downloads/nasal.lang
http://theomegahangar.flymerlion.com/downloads/nasal.lang


Download the ''nasal.lang'' file from the link above and:
Download the ''nasal.lang'' file from the link above or from the first post of this forum topic http://www.flightgear.org/forums/viewtopic.php?f=30&t=17265 and:


If you use Mac, move it into your ''Applications/gedit/Contents/Resources/share/gtksourceview-2.0/language specs'' folder.
If you use Mac, move it into your ''Applications/gedit/Contents/Resources/share/gtksourceview-2.0/language specs'' folder.
And for linux, move it into your ''/usr/share/gtksourceview-X.0/language-specs'' folder.
And for linux, move it into your ''/usr/share/gtksourceview-X.0/language-specs'' folder.
nasal.xml has to be moved into ''/usr/share/gedit/plugins/snippets/'' folder and edit ''/usr/share/gtksourceview-X.0/language-specs/xml.lang'' to add the embedded xml content support.


== Vim ==
== Vim ==
14

edits

Navigation menu