fennel-ls/test
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
..
data/fennel-ls/docsets Add test to ensure that evil docsets can't run evil code. 2025-02-26 22:54:42 -08:00
utils Implement basic signatureHelp feature. 2025-03-21 10:42:13 -07:00
capabilities.fnl simplify tests. only one create-client function 2024-07-05 00:25:51 -05:00
check.fnl print severity levels in the output when linting with --lint 2025-03-04 21:03:19 -08:00
code-action.fnl Provide human readable code action descriptions 2025-03-11 08:58:18 -07:00
completion.fnl Only set default completion kind when it's not already present! 2025-02-26 01:12:02 -08:00
diagnostic.fnl Support (or table.unpack _G.unpack) pattern without unknown field lint. 2025-03-02 22:05:33 -08:00
document-highlight.fnl documentHighlight should not show references in other files 2025-03-02 08:56:29 -08:00
goto-definition.fnl analyzer can search into macro expansions and functions 2025-01-19 19:56:37 -06:00
hover.fnl Format function signatures from ast and metadata the same. 2025-03-21 10:42:21 -07:00
init.fnl Add support for textDocument/documentHighlight 2025-02-27 18:18:35 -08:00
json-rpc.fnl Switch from rxi/json to dkjson, switch folder structure 2024-06-09 17:36:19 -05:00
lint.fnl Search for special forms in analyzer. 2025-03-15 12:26:15 -07:00
misc.fnl refactoring 2024-07-07 14:31:22 -05:00
references.fnl simplify tests. only one create-client function 2024-07-05 00:25:51 -05:00
rename.fnl simplify tests. only one create-client function 2024-07-05 00:25:51 -05:00
settings.fnl Add test for config validation. 2025-02-28 02:30:59 -08:00
signature-help.fnl Implement basic signatureHelp feature. 2025-03-21 10:42:13 -07:00
string-processing.fnl Change tests to faith 2024-03-01 14:43:26 -06:00