Description of Settings in the README

This commit is contained in:
XeroOl 2023-05-03 00:27:27 -05:00
parent eab0769b06
commit f06d74273c

View File

@ -39,6 +39,23 @@ Generally this involves somehow configuring this information:
If you get it working in any other environments, I'd love to know! It would be great to have instructions on how to set up other editors! If you get it working in any other environments, I'd love to know! It would be great to have instructions on how to set up other editors!
# Default Settings
fennel-ls can be configured over LSP. Any setting that's not provided will be filled in with the defaults, which means that `{}` will be a valid configuration with default settings. You can provide different settings in the same shape as the default settings in order to override the defaults.
fennel-ls default settings:
```json
{
"fennel-ls": {
"fennel-path": "./?.fnl;./?/init.fnl;src/?.fnl;src/?/init.fnl",
"macro-path": "./?.fnl;./?/init-macros.fnl;./?/init.fnl;src/?.fnl;src/?/init-macros.fnl;src/?/init.fnl",
"checks": {
"unused-definition": true
}
}
}
```
## License ## License
fennel-ls is licensed under the MIT license. See LICENSE for more info. fennel-ls is licensed under the MIT license. See LICENSE for more info.
This project also contains files from other projects: This project also contains files from other projects: