Skip to content

TenStrings/glicol-lsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important: this is a WIP/PoC at the moment.

Language server for Glicol.

Current (maybe partial) support

  • There is some support for the semantic tokens, which can be used to get some highlighting (at least in vscode). Although it's not necessarily fast. For editors with treesitter support it's better to just directly the grammar.
  • Hover for nodes, which shows something similar to help(node).
  • Go to definition.
  • Diagnostics from the pest parser, to get parsing errors in the editor. Other errors like using undefined references are not shown yet.

Setup

From sources

Install the binary.

git clone --recurse-submodules https://github.com/TenStrings/glicol-lsp
cargo install --path .

Make sure glicol-lsp it's available on your PATH now.

vscode extension

First install vsce

cd vscode-extension
npm install
vsce package
code --install-extension glicol-lsp-client-0.0.1.vsix

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published