Commit Graph

35 Commits

Author SHA1 Message Date
Phil Hagelberg
80a43cab08 Avoid include warnings when compiling.
Also update the readme regarding Emacs; version 30 doesn't need any config.
2024-04-27 14:07:27 -05:00
XeroOl
549e240787 fixed links in readme 2024-03-23 20:24:52 -05:00
XeroOl
80d0e297a1 more likely pass builds.sr.ht tests 2024-03-04 00:36:53 -06:00
XeroOl
a2f233576e Change readme to reflect faith.fnl tests, and more diagnostics 2024-03-01 16:42:14 -06:00
XeroOl
44805cd675 Add lint for (values) in non-tail position of a call 2024-02-23 12:25:51 -06:00
XeroOl
9e4ca548e3 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
2024-02-20 00:05:41 -06:00
grenewode
112132cc5a feat: add nix(os) packaging &development support
* Adds `/flake.nix`, which allows the package to be installed & developed
  easily by most NixOS users.
* Adds `/default.nix`, which is an older way that some Nix(OS) users
  may expect software to be packaged.
* Adds `/nix/**/*.nix`, which defines various additional helpers used by
  `/flake.nix` and `/default.nix`.
* Updates `.gitignore` to include `/result`, which is the default output
  location when the package is built using

  `nix flake build .` or `nix-build .`
2024-02-19 23:14:52 -06:00
XeroOl
7e1bde8d64 Readme changes 2024-02-19 22:56:00 -06:00
XeroOl
6152bed8a6 Move json dependency to fennel-ls/json, to represent that it's a modified version 2024-02-19 21:32:38 -06:00
XeroOl
5c19cb3a83 Instructions for creating lint rules 2024-02-18 16:08:23 -06:00
XeroOl
a973de5f87 doc comment changes 2024-02-10 01:04:47 -06:00
adjuvant
e4ec4dc9c4 Configuration of extra allowed globals 2023-12-03 16:25:54 -06:00
Phil Hagelberg
802ff4ab17 Support --check for batch mode diagnostics.
Mostly taken from the separate fennel-lint.fnl file.
2023-11-25 18:16:33 -06:00
XeroOl
9db2ec7537 Documented initializationOptions
We accept the settings object either from initialize:initializationOptions or
workspace/didChangeConfiguration:settings. The readme now explains this.
2023-08-26 22:31:40 -05:00
XeroOl
d36a1ed183 README shows the new lint in the default settings 2023-06-05 22:14:37 -05:00
XeroOl
ad59c579f2 Global completion documentation is hardcoded to Lua 5.4 2023-06-05 21:31:43 -05:00
XeroOl
f06d74273c Description of Settings in the README 2023-05-03 00:27:27 -05:00
XeroOl
60c3073de3 Make the README much more pleasant 2023-05-03 00:11:27 -05:00
Phil Hagelberg
f4298b02be Add a make install target, and instructions for Emacs.
Might be nice to be able to run make install as this is pretty
standard. For people who don't like sudo, they can set $PREFIX to a
user-writable location of their choice.
2023-02-23 21:48:30 -06:00
XeroOl
06d3787f66
";; fennel-ls: macro-file" for macro files
Temporary quick fix for editing macro files, since I've been doing a lot
of work in macro files recently. I hope that in the future there will be
better ways to do this than magic comments. I think there are probably
much better heuristics that could be used.
2022-09-09 21:43:58 -05:00
XeroOl
06a6e8c7ea
Remove error response when hovering over nothing 2022-09-07 21:19:36 -05:00
XeroOl
0d8b927929
goto-definition with injected fields (fn a.b []) 2022-09-03 12:52:34 -05:00
XeroOl
3cab59622c
The parser is more robust under error 2022-09-01 23:20:38 -05:00
XeroOl
69fcd63fad
goto definition understands (let) 2022-08-30 22:30:39 -05:00
XeroOl
9b25d09bcd
readme 2022-08-29 10:09:22 -05:00
XeroOl
5966755149
Readme updates 2022-08-28 00:51:54 -05:00
XeroOl
33e938b8db
More README changes 2022-08-20 22:05:09 -05:00
XeroOl
224684d688
refactoring and README update 2022-08-20 16:07:14 -05:00
XeroOl
22b4235073
Adds support for hovering over symbols 2022-08-14 23:06:28 -05:00
XeroOl
f610201b9d
Big refactoring 2022-08-07 22:46:34 -05:00
XeroOl
80d4455ed3
find definition is more advanced but more brittle 2022-08-07 18:47:18 -05:00
XeroOl
61947d3219
Goto definiton for destructuring 2022-08-04 00:33:50 -05:00
XeroOl
052f9a67d0
reduce the prevelance of penlight 2022-08-01 18:21:27 -05:00
XeroOl
349280ad9e
organization 2022-08-01 13:57:08 -05:00
XeroOl
5deb5e1ed0
very basic progress to getting communication working 2022-07-24 00:33:50 -05:00