diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..2f5c7c2 --- /dev/null +++ b/changelog.md @@ -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 diff --git a/src/fennel-ls/handlers.fnl b/src/fennel-ls/handlers.fnl index 9e1d3b8..0c127f0 100644 --- a/src/fennel-ls/handlers.fnl +++ b/src/fennel-ls/handlers.fnl @@ -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)