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

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User