https://github.com/hippietrail/harper-dict-syntax
Syntax highlighter for VS Code for the curated dictionary of the Harper grammar checker
https://github.com/hippietrail/harper-dict-syntax
dictionary harper syntax-highlighter syntax-highlighting vs-code-extenstion vscode-extension vscode-syntax wordlist
Last synced: 15 days ago
JSON representation
Syntax highlighter for VS Code for the curated dictionary of the Harper grammar checker
- Host: GitHub
- URL: https://github.com/hippietrail/harper-dict-syntax
- Owner: hippietrail
- Created: 2025-02-24T15:03:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-25T13:10:53.000Z (about 1 year ago)
- Last Synced: 2025-04-25T14:25:53.642Z (about 1 year ago)
- Topics: dictionary, harper, syntax-highlighter, syntax-highlighting, vs-code-extenstion, vscode-extension, vscode-syntax, wordlist
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Harper curated dictionary file syntax highlighter
[Harper](https://writewithharper.com/) is a grammar checker. [(GitHb repo)](https://github.com/Automattic/harper)
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](https://writewithharper.com/docs/contributors/dictionary).
## 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](https://github.com/hippietrail/tree-sitter-harper-dict)