An open API service indexing awesome lists of open source software.

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

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)