Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.06 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.06 KB

Nelua LSP

This is an early implementation of writing an LSP server the for nelua programming language

Notes

  • I've only tested this on my machine running arch linux and I'm pretty sure it currently won't work correctly on windows. Please report errors when you discover and if possible help me get it working on windows
  • Due to some issues in analyzing the document, memory usage increases on each request(textDocument/didChange, textDocument/didSave, etc) and currently waiting on a fix from the language creator

Features

  • Go to Definition
  • Hover
  • Diagnostics
  • Completions
  • Variable Renaming

Dependencies

  • nelua
  • git: Required for go to definition on require paths

How to Run

nelua -L /path/to/nelua-lsp --script /path/to/nelua-lsp/main.lua

Read EDITORS.md for specific instructions on how to use it in your code editor.

How to run test

nelua -L /path/to/nelua-lsp --script /path/to/nelua-lsp/test.lua