Back to Prql

Syntax highlighting for GtkSourceView

grammars/GtkSourceView/README.md

0.13.12907 B
Original Source

Syntax highlighting for GtkSourceView

This is a syntax highlighting file the GtkSourceView component used by text editors and integrated development environments such as GNOME Text Editor and GNOME Builder.

Installation

To install system-wide, copy the prql.xml file to:

/usr/share/gtksourceview-5/language-specs/

To install for the current user, copy the prql.xml file to:

~/.local/share/gtksourceview-5/language-specs/

Embedding

To embed it in your GTK application using the GtkSourceView widget add it to a LanguageManager which you add to your Buffer.