aboutsummaryrefslogtreecommitdiff
path: root/README.org
blob: 6fae4d85982b9da87c92717be07ec3a5e59e04f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
* GSP Major Mode

This package provides a Tree-Sitter powered major-mode for editing GSP
files.  GSP is a preprocessor for HTML to make web-development less
painful.  You can learn more about it [[https://git.thomasvoss.com/gsp][here]].

At the moment this package provides support for indentation and syntax
highlighting.  The level of syntax highlighting can be configured by
setting ~treesit-font-lock-level~, and the specific elements to highlight
can be configured by customizing ~treesit-font-lock-feature-list~.

Other user-customizable variables of note are ~gsp-ts-indent-offset~,
~gsp-ts-font-lock-rules~, and ~gsp-ts-ident-rules~.