feat: remove lint tool and add lsp integration

This commit is contained in:
2025-01-31 11:13:58 +01:00
parent 35bd0a7278
commit 58da08e26f
6 changed files with 177 additions and 63 deletions

View File

@@ -51,7 +51,7 @@ function M.load()
enable_chunking = false,
enable_step_by_step = true,
-- If auto_lint is true, we'll run a quick linter after editing or replacing files.
-- If auto_lint is true, we only do LSP-based checks.
auto_lint = false,
tool_auto_accept = {
@@ -109,7 +109,7 @@ function M.load()
config.enable_step_by_step = result.enable_step_by_step
end
-- New: load auto_lint if present
-- auto_lint controls whether we do LSP-based checks
if type(result.auto_lint) == "boolean" then
config.auto_lint = result.auto_lint
end