Emma
0e0121825d
WIP adding Love2D configuration
2024-09-07 11:12:32 -04:00
XeroOl
eb06909d22
guard against missing docstring
2024-08-17 15:18:53 -05:00
Phil Hagelberg
c1f9dc448a
Accept textDocument argument in textDocument/didSave handler.
...
According to the spec, the didSave handler takes the same textDocument
property as the other textDocument handlers, rather than having uri as
a top-level field.
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textSynchronization-side
2024-07-29 15:13:49 -07:00
XeroOl
3d1485060c
fix "unknown module field" when accessing fields from doc objects with no known fields
...
this means stuff like `io.stderr:write` isn't a warning anymore
2024-07-15 17:48:11 -05:00
XeroOl
07e8239216
goto module definition tested
2024-07-09 20:37:11 -05:00
XeroOl
6801d0d3d9
unknown module field lint works on definitions
2024-07-07 23:54:17 -05:00
XeroOl
d015776f5e
configuration rename some keys
2024-07-07 22:00:59 -05:00
XeroOl
b0b91a4fd4
refactoring
2024-07-07 14:31:22 -05:00
XeroOl
caab3ebfd1
flsproject update on save
2024-07-07 12:35:26 -05:00
XeroOl
fbd9b0981f
switch from initialization options and didChangeConfiguration to flsproject.fnl
2024-07-05 12:40:15 -05:00
XeroOl
7ff4581e50
fix searcher
2024-07-05 12:33:05 -05:00
XeroOl
d309c80541
simplify tests. only one create-client function
2024-07-05 00:25:51 -05:00
XeroOl
9e9af12f41
fix issue with (set (. x y) z)
...
fennel needs to skip these instead of failing to parse them
2024-06-30 18:37:55 -05:00
XeroOl
5476eaf096
update fennel to 1.5.0
2024-06-27 00:58:35 -05:00
XeroOl
05b0160479
generated files into a generated/ folder
2024-06-26 23:42:33 -05:00
XeroOl
eff9bced51
basic hovering
2024-06-24 00:48:51 -05:00
XeroOl
b11b5b7962
small changes
2024-06-24 00:22:51 -05:00
XeroOl
d8bfaa3559
--check is now --lint
2024-06-23 15:44:35 -05:00
XeroOl
664ba9b13d
bunch of small changes
2024-06-15 22:32:46 -05:00
Rudolf Adamkovič
d4343392ab
Format '--check' errors so that tooling can detect them
2024-06-15 22:30:18 -05:00
XeroOl
5cef13c12d
Ignore the pick-values syms (in preparation for fennel 1.5.0)
2024-06-14 22:24:52 -05:00
XeroOl
3d2d738636
mark a bunch of things as unused
2024-06-13 23:24:14 -05:00
XeroOl
14094762ab
Switch from rxi/json to dkjson, switch folder structure
2024-06-09 17:36:19 -05:00
XeroOl
083383cfa4
Add a bunch of tools for bundling/unbundling fennel-ls
2024-06-08 00:00:45 -05:00
XeroOl
8dc4f3d0f8
Rename language -> analyzer
2024-06-05 01:22:08 -05:00
XeroOl
c56ce89ccf
λ now warns about unused arguments
2024-06-04 20:17:21 -05:00
XeroOl
a68686da9f
split fennel-ls.state into fennel-ls.config and fennel-ls.file
2024-06-02 11:56:49 -05:00
XeroOl
0b3d1b47a5
Rename self->server
2024-06-01 23:02:37 -05:00
XeroOl
0ddd8f0bf0
TIC-80 docs sort of work?
...
{:fennel-ls {:native-libraries [:tic80]}}
2024-06-01 15:14:15 -05:00
XeroOl
3564167cab
TIC80 docs are in!
...
You can't turn them on because I haven't sorted out the settings yet.
But, the docs are in!
2024-05-31 13:39:04 -05:00
XeroOl
43af58d2eb
moved "make-docs" to its own "tools" folder
2024-05-29 23:41:19 -05:00
XeroOl
e0067880d1
Unknown field lint only triggers at stack size 1
...
This is probably not a good commit message, but basically, if you
require a module foo, and then look for foo.bar.baz, it won't trigger,
but foo.bar will trigger it.
2024-05-29 22:38:55 -05:00
XeroOl
4c92af1bc5
Align allowed-globals with the currently selected docs
2024-05-17 20:45:37 -05:00
XeroOl
a122d9d361
Make the root folder optional
2024-05-17 20:45:16 -05:00
XeroOl
5018444d1a
expose lua51 lua52 lua53 as version options
2024-05-15 23:02:47 -05:00
XeroOl
2f6ee96404
minor doc edits
2024-05-15 23:02:28 -05:00
XeroOl
fd40c31cd9
io.stdin, io.stdout, io.stderr added to docs (there's no section for these in the manual)
2024-05-15 23:01:05 -05:00
XeroOl
1a21ee623d
fix positionEncoding to be a capability
2024-05-15 22:58:51 -05:00
XeroOl
3dc9e36af6
workaround for fennel#221
2024-05-14 00:46:10 -05:00
XeroOl
e37c77958d
fix zero-arg documented function formatting
2024-05-14 00:18:07 -05:00
XeroOl
3fad66a476
Switch docs to autogenerated
2024-05-13 23:58:37 -05:00
XeroOl
8d57f60369
remove some comments :)
2024-05-13 01:07:05 -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
be44cda696
Unknown field errors in _G are suppressed
2024-05-12 12:26:24 -05:00
XeroOl
579fb44109
split code path for builtins vs globals
2024-05-12 12:00:19 -05:00
XeroOl
db7a911b7f
docs get-global takes a self parameter
2024-05-07 14:03:19 -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
926dff9267
Docs when completing string fields
2024-05-04 15:37:01 -05:00