Language Server Protocol implementation for Chalk.
- Provides real-time linting of Chalk files
- Displays errors and warnings directly in your editor
- Uses the
chalk lint
command to validate files
- Node.js
chalk
binary installed and available in your PATH
- Clone this repository
- Run
npm install
- Run
npm run build
Build this project and then link or install it into your VS Code extensions folder.
This LSP can be used with any editor that supports the Language Server Protocol. See your editor's documentation for details on how to connect to an external language server.
By default, the LSP will run chalk lint --format=lsp
on your files. The command assumes that the chalk
binary is in your PATH.
npm run build
- Build the LSP servernpm run watch
- Watch for changes and rebuildnpm run start
- Start the LSP server