Skip to content

zed-extensions/harper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Harper Zed Extension

Zed extension for the Harper Grammar Checker LS.

Harper running inside zed

Supported platforms

Platform X86_64 ARM64
Linux
MacOS
Windows

Install

  1. Open the Extension Gallery
  2. Search for harper in the Gallery
  3. Click "Install"!

Harper in the Zed Extension Gallery

Configuration

To disable specific rules, add following to Zed/settings.json.

"lsp: {
    "harper-ls": {
        "settings": {
            "harper-ls": {
                "linters": {
                    // "RuleName": false, // For rule names consult tooltips and https://writewithharper.com/docs/rules
                },
            },
        },
    },
}

To have a project-specific dictionary, create .harper-dictionary.txt in the project root or configure dictionary location by passing "userDictPath": "%relative_path%", inside "settings": {"harper-ls": {...}}. The dictionary should be a simple line-separated text file.

For additional info consult Harper LS configuration page.

Acknowledgments