~tomleb/harepls

Hare LSP server
Invalidate identfinder result when local variable of same name
Return invalid request when server is already initialized
Add scope_enter and scope_exit to visitor

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~tomleb/harepls
read/write
git@git.sr.ht:~tomleb/harepls

You can also use your local clone with git send-email.

#harepls

A LSP server for the hare language.

This is extremely WIP. Currently supports a bit of textDocument/definition and textDocument/hover.

#Usage

Make sure you have the latest version of hare. Note that I may have patches needed for harepls to properly work/compile.

First build harepls.

make

Make sure harepls is in your path.

export PATH="$PWD:$PATH"

Run vim with lsp configured. An example configuration can be found in lsp.vim.

vim -u lsp.vim <file>

#Capabilities

textDocument/hover

Basic textDocument/hover support for types and expressions.

asciicast

textDocument/definition

Basic textDocument/definition support for types and expressions.

asciicast