Swift syntax highlighting in gedit? - Ask Ubuntu
i not see option swift highlighting in gedit language menu. how can gedit highlight swift code me?
a language definition swift has been added git repository of gtksourceview (the library performs syntax highlighting in gedit). hasn't made gtksourceview release yet, can download here:
https://git.gnome.org/browse/gtksourceview/plain/data/language-specs/swift.lang
place file (swift.lang) in directory, creating if necessary:
~/.local/share/gtksourceview-3.0/language-specs/
then gedit highlight swift code you.
Comments
Post a Comment