Release 0.1.1

=== Features ===
* Add [Nix(OS)](https://nixos.org) support
* Add LuaRocks build support
* Upgrade to Fennel 1.4.1, the first release of fennel that is compatible with fennel-ls without patches.
* Added a lint for operators with no arguments, such as (+)
* `textEdit` field is present in completions

=== Bug Fixes ===
* Fix bug with renaming variables in method calls
* Lots of work to improve multival tracking
* --check gives a nonzero exit code when lints are found
This commit is contained in:
XeroOl 2024-02-19 23:45:09 -06:00
parent 7588655b3e
commit 9e4ca548e3
4 changed files with 98 additions and 2 deletions

View File

@ -22,6 +22,14 @@ For now, the only way to install is to build from source, but I plan on adding f
If you are using NixOS, you may use the included `/flake.nix` or `/default.nix`
to to build the language server configure a development environment.
### LuaRocks
If you are specifically the Neovim plugin `mason.nvim`, or have some other
reason to support building on Windows, you may want to use the command:
```sh
luarocks install fennel-ls --tree /path/to/your/new/luarocks/tree
```
## Set Up Your Editor
Once you've installed the binary somewhere on your computer, the next step is to set up your text editor! Each editor has a different way of doing it.

View File

@ -1,10 +1,19 @@
# Changelog
## 0.1.1
### Features
* Add [Nix(OS)](https://nixos.org) support
* Fix bug with renaming vars
* Improve multival tracking
* Add LuaRocks build support
* Upgrade to Fennel 1.4.1, the first release of fennel that is compatible with fennel-ls without patches.
* Added a lint for operators with no arguments, such as (+)
* `textEdit` field is present in completions
### Bug Fixes
* Fix bug with renaming variables in method calls
* Lots of work to improve multival tracking
* --check gives a nonzero exit code when lints are found
## 0.1.0
### Initial Features

View File

@ -0,0 +1,40 @@
package = "fennel-ls"
version = "0.1.1-1"
source = {
url = "https://git.sr.ht/~xerool/fennel-ls/archive/0.1.1.tar.gz",
dir = 'fennel-ls-0.1.1',
}
description = {
summary = "A language server that analyzes Fennel, a lisp that compiles to Lua",
detailed = "LSP magic for Fennel",
homepage = "https://sr.ht/~xerool/fennel-ls",
license = "MIT",
}
dependencies = {
"lua >= 5.1",
"luarocks-build-fennel >= 0.1",
"fennel >= 1.4.1",
}
build = {
type = "fennel",
modules = {
["fennel-ls"] = "src/fennel-ls.fnl",
["fennel-ls.compiler"] = "src/fennel-ls/compiler.fnl",
["fennel-ls.diagnostics"] = "src/fennel-ls/diagnostics.fnl",
["fennel-ls.dispatch"] = "src/fennel-ls/dispatch.fnl",
["fennel-ls.docs"] = "src/fennel-ls/docs.fnl",
["fennel-ls.docs.lua-54"] = "src/fennel-ls/docs/lua54.fnl",
["fennel-ls.formatter"] = "src/fennel-ls/formatter.fnl",
["fennel-ls.handlers"] = "src/fennel-ls/handlers.fnl",
["fennel-ls.json-rpc"] = "src/fennel-ls/json-rpc.fnl",
["fennel-ls.json.json"] = "src/fennel-ls/json/json.lua",
["fennel-ls.language"] = "src/fennel-ls/language.fnl",
["fennel-ls.message"] = "src/fennel-ls/message.fnl",
["fennel-ls.searcher"] = "src/fennel-ls/searcher.fnl",
["fennel-ls.state"] = "src/fennel-ls/state.fnl",
["fennel-ls.utils"] = "src/fennel-ls/utils.fnl",
},
install = { bin = {["fennel-ls"] = "src/fennel-ls.fnl"} },
}

View File

@ -0,0 +1,39 @@
package = "fennel-ls"
version = "scm-1"
source = {
url = "git+https://git.sr.ht/~xerool/fennel-ls"
}
description = {
summary = "A language server that analyzes Fennel, a lisp that compiles to Lua",
detailed = "LSP magic for Fennel",
homepage = "https://sr.ht/~xerool/fennel-ls",
license = "MIT",
}
dependencies = {
"lua >= 5.1",
"luarocks-build-fennel >= 0.1",
"fennel >= 1.4.1",
}
build = {
type = "fennel",
modules = {
["fennel-ls"] = "src/fennel-ls.fnl",
["fennel-ls.compiler"] = "src/fennel-ls/compiler.fnl",
["fennel-ls.diagnostics"] = "src/fennel-ls/diagnostics.fnl",
["fennel-ls.dispatch"] = "src/fennel-ls/dispatch.fnl",
["fennel-ls.docs"] = "src/fennel-ls/docs.fnl",
["fennel-ls.docs.lua-54"] = "src/fennel-ls/docs/lua54.fnl",
["fennel-ls.formatter"] = "src/fennel-ls/formatter.fnl",
["fennel-ls.handlers"] = "src/fennel-ls/handlers.fnl",
["fennel-ls.json-rpc"] = "src/fennel-ls/json-rpc.fnl",
["fennel-ls.json.json"] = "src/fennel-ls/json/json.lua",
["fennel-ls.language"] = "src/fennel-ls/language.fnl",
["fennel-ls.message"] = "src/fennel-ls/message.fnl",
["fennel-ls.searcher"] = "src/fennel-ls/searcher.fnl",
["fennel-ls.state"] = "src/fennel-ls/state.fnl",
["fennel-ls.utils"] = "src/fennel-ls/utils.fnl",
},
install = { bin = {["fennel-ls"] = "src/fennel-ls.fnl"} },
}