Skip to content

Syntax highlighter for VS Code for the curated dictionary of the Harper grammar checker

Notifications You must be signed in to change notification settings

hippietrail/harper-dict-syntax

Repository files navigation

Harper curated dictionary file syntax highlighter

Harper is a grammar checker. (GitHb repo)

Harper's curated dictionary is very simple.

The first line is a number specifying the approximate number of entries (lines) in the dictionary.

Each line after that starts with a mandatory word which is optionally followed by a series of annotation flags, separated from the word by a /.

This syntax highlighter also supports optional comments which are separated from the word and annotation by whitespace.

To learn about the annotation flags please consult the official documentation.

Known Issues

The author knows nothing about VS Code syntax highlighter extensions and nothing about TextMate. So please feel free to contribute improvements that turn this into a proper VS Code syntax highlighter.

See also

Tree-sitter version

Releases

No releases published

Packages

No packages published