© 2023-2024 Reuben Thomas rrt@sc3d.org
Distributed under the MIT license.
This project consists of two files that add support for the Ursa programming language to the GNOME Text Editor, Gedit, and other programs that use GtkSourceView.
Two files are provided:
ursalang-ursa.xml
defines thetext/x-ursa
MIME typeursa.lang
defines syntax highlighting patterns for GtkSourceView, the library used by the GNOME Text Editor, Gedit, and other programs.
You need to identify the directory where GtkSourceView language files go. The following setting is likely to be correct for most systems at the time of writing. Note in particular that the version number “4” for GtkSourceview is likely to change with time!
GTK_LANG_DIR=$HOME/.local/share/gtksourceview-4/language-specs
Then, run the following command:
./install.sh