XeroOl
dce69a2b24
test that functions don't evaluate to themselves
...
There was a bug at some point that fennel assumed a function call would
evaluate to the function being called, which is not true.
2025-08-13 13:03:21 -05:00
XeroOl
abce63e696
fix hover message
2025-07-19 15:16:37 -05:00
XeroOl
b0760a2aad
stop tracking doc/lints.md
2025-07-13 13:05:50 -05:00
XeroOl
e17ecef292
macroexpansion feature for hover and code action
2025-07-08 20:49:35 -05:00
XeroOl
1e8784a55a
rework hovering
2025-07-02 22:37:02 -05:00
Michele Campeotto
8d74f0134a
Format function signatures from ast and metadata the same.
...
Function signatures rendered from ast were being rendered differently
from signatures rendered from metadata, this unifies them, using the
metadata format for both.
Before:
(fn func-name [arg1 arg2] ...)
After:
(func-name arg1 arg2)
This signature is used in the 'hover' feature and in completion
documentation.
This patch also adds three dashes as a separator between the signature
and the documentation text to improve readability. Since the text is
being interpreted as Markdown, this results in a line being drawn. This
format convention matches other language servers, for example LuaLS.
2025-03-21 10:42:21 -07:00
Phil Hagelberg
670f7d108b
Only generate lua manual docs; move tic80/love2d to other repo.
...
https://git.sr.ht/~technomancy/fennel-ls-docsets
2025-02-28 02:30:55 -08:00
Phil Hagelberg
0d7e9b6183
Add test to ensure that evil docsets can't run evil code.
2025-02-26 22:54:42 -08:00
Phil Hagelberg
9b54f882c9
Add tests for tic80 docset and fake external docset.
2025-02-26 22:41:59 -08:00
XeroOl
5e8b31ea47
use fennel 1.5's native debug tracking
2024-09-03 12:17:53 -05:00
XeroOl
d309c80541
simplify tests. only one create-client function
2024-07-05 00:25:51 -05:00
XeroOl
eff9bced51
basic hovering
2024-06-24 00:48:51 -05:00
XeroOl
14094762ab
Switch from rxi/json to dkjson, switch folder structure
2024-06-09 17:36:19 -05:00
XeroOl
c56ce89ccf
λ now warns about unused arguments
2024-06-04 20:17:21 -05:00
XeroOl
9770e3eefd
Rename self->client in tests
2024-06-01 23:12:42 -05:00
XeroOl
3fad66a476
Switch docs to autogenerated
2024-05-13 23:58:37 -05:00
XeroOl
4bce5c87ec
Tests for reader macros
2024-05-13 01:06:46 -05:00
XeroOl
f17342b7ce
Fix hashfn and quote and unquote
2024-05-12 16:45:18 -05:00
XeroOl
34e0bce092
Hover in hashfn
2024-05-12 15:32:43 -05:00
XeroOl
711c225e9c
Fix crash when searching non-table documentation
2024-05-06 10:36:07 -05:00
XeroOl
2d7c8b1ad7
Lints for doc fields, doc hovers on strings
2024-05-04 15:37:01 -05:00
XeroOl
f14d91b9c4
add test for hover over modules
2024-03-03 23:03:31 -06:00
XeroOl
1eb4a770dd
Make the multisym splitter tiebreak the right way
2024-03-01 21:36:00 -06:00
XeroOl
0dd9c0ff65
improved formatting for destructure
2024-03-01 17:29:01 -06:00
XeroOl
25375715c7
Restore hovering to globals
2024-03-01 16:48:07 -06:00
XeroOl
186c388344
Change tests to faith
2024-03-01 14:43:26 -06:00