Release 0.1.0

This commit is contained in:
XeroOl 2023-12-06 18:03:12 -06:00
parent 5055fd31ef
commit a29cbe496e
2 changed files with 28 additions and 1 deletions

27
changelog.md Normal file
View File

@ -0,0 +1,27 @@
# Changelog
## 0.1.0
### Initial Features
* Completion: works across files, and works with table fields
* Hover: works across files, and works with table fields
* Go-To Definition: works across files, and works with table fields
* Go-To References: only same-file; lexical variables only
* Rename: only same-file; lexical variables only
* Diagnostics:
* Compiler Errors
* Unused Definitions
* Unused Mutability with `var`
* Unknown Module Field
* Unnecessary `:` form
* Unpack into operator
* Supports functions/values you define, and fennel builtins / macros
* Limited support for *some* of lua's builtins
### Info
* Uses bundled fennel 1.4.0-dev
* executes macro code in the macro sandbox
* infinite loop macros will freeze fennel-ls
* fennel-ls will have trouble working with macros that require disabled sandbox
* There was a security issue in previous versions of fennel-ls regarding macro sandboxing

View File

@ -64,7 +64,7 @@ Every time the client sends a message, it gets handled by a function in the corr
(state.init-state self params)
{:capabilities capabilities
:positionEncoding self.position-encoding
:serverInfo {:name "fennel-ls" :version "0.0.0"}})
:serverInfo {:name "fennel-ls" :version "0.1.0"}})
(λ requests.textDocument/definition [self send {: position :textDocument {: uri}}]
(let [file (state.get-by-uri self uri)