Commit Graph

17 Commits

Author SHA1 Message Date
Phil Hagelberg
b08743f79e Update manual 2025-10-27 18:40:25 -07:00
Phil Hagelberg
2b79a0955f Add --fix command to CLI.
If the user declines a fix, it will stop fixing the file it's looking
at and go on to the next one.

If they accept the fix, we have to re-run diagnostics, because fixes
can change offsets and line numbers.

Add tests that invoke the `fennel-ls` executable as a subprocess.
2025-10-12 15:39:49 -07:00
XeroOl
6826c7584d maintenance of makefile and tools 2025-06-28 00:47:15 -05:00
Phil Hagelberg
e48aa8af89 Generate man page using pandoc.
Needs a few tweaks to make it usable but we can just append/prepend
them in the makefile target.
2025-03-04 09:19:36 -08:00
Phil Hagelberg
f2f661cc73 A few more documentation tweaks. 2025-03-04 08:56:49 -08:00
Michele Campeotto
c993f83595 Added a quick start section to the configuration manual
I received feedback that the info on setting up libraries is a little
buried in all the other details.

Pulling it up, it's likely going to be the first and most frequent
configuration people will want to change.
2025-03-04 08:44:19 -08:00
Michele Campeotto
1f123c6baa Add docsets information and some reorg 2025-03-02 08:31:20 -08:00
Phil Hagelberg
d23d36a414 Support :union as lua-version setting. 2025-02-26 23:09:11 -08:00
Phil Hagelberg
98cd94d212 Add aliases for lua-versions.
Now you can specify "lua54" OR "lua5.4" and get what you need.
2025-02-26 01:38:58 -08:00
Phil Hagelberg
2edb9c4df5 Update to fennel 1.5.3 2025-02-16 17:20:32 -08:00
Phil Hagelberg
6cddd6a030 Explain that love2d support is opt-in for licensing reasons.
Booooooooo GFDL.

Also include a link to apt.technomancy.us.
2025-02-15 09:51:54 -08:00
XeroOl
bfc6d64237 docs: add a table for lspconfig to be happy 2025-01-16 20:55:30 -06:00
Phil Hagelberg
e5dc04764c Allow trailing underscores to bypass unused local warnings. 2025-01-05 12:40:25 -08:00
Matthew Lyon
e4e5054876 Add instructions for configuring Sublime Text 2024-10-10 19:56:30 -05:00
Phil Hagelberg
1c6999ea3f Fix loading of globals from love2d generated documentation.
The first thing to change is to load the love2d docset inside a pcall,
because it's not included in the standard `make` build, so we need to
not crash if it's not present. Note that we are storing these under
libraries.love2d rather than libraries.love-2d, because even tho it's
inconsistent with tic-80; I've never seen them use the hyphenated
version, and now the name matches the module name.

Secondly, we extend the get-global function to work with anything in
the server.configuration.libraries table, not just hard-coded to
tic-80.

Finally, update the manual to reflect the removal of the love2d hypen.
2024-09-07 15:00:13 -07:00
Emma
0e0121825d WIP adding Love2D configuration 2024-09-07 11:12:32 -04:00
XeroOl
e493b0e21f Reorganize the readme files 2024-07-07 23:29:46 -05:00