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

Popular posts from this blog

nvidia - NV18 [GeForce4 MX 4000] driver - Ask Ubuntu

drivers - No wi-fi network after install - Ask Ubuntu