Add harper and enable underline diagnostics

This commit is contained in:
2025-12-04 18:42:17 +01:00
parent dca64dd6c2
commit cb2388c3c6
2 changed files with 13 additions and 9 deletions

View File

@@ -60,6 +60,8 @@ let
typstyle typstyle
ltex-ls-plus ltex-ls-plus
harper
]; ];
}; };

View File

@@ -78,7 +78,7 @@ require("lz.n").load({
-- 1. Setup Diagnostics (Visuals) -- 1. Setup Diagnostics (Visuals)
vim.diagnostic.config({ vim.diagnostic.config({
severity_sort = true, severity_sort = true,
underline = { severity = vim.diagnostic.severity.ERROR }, -- underline = { severity = vim.diagnostic.severity.ERROR },
signs = { signs = {
text = { text = {
[vim.diagnostic.severity.ERROR] = "", [vim.diagnostic.severity.ERROR] = "",
@@ -171,14 +171,16 @@ require("lz.n").load({
}) })
vim.lsp.enable("tinymist") vim.lsp.enable("tinymist")
vim.lsp.config("ltex_plus", { -- vim.lsp.config("ltex_plus", {
settings = { -- settings = {
ltex = { -- ltex = {
language = "nl", -- language = "nl",
}, -- },
}, -- },
}) -- })
vim.lsp.enable("ltex_plus") -- vim.lsp.enable("ltex_plus")
vim.lsp.enable("harper_ls")
end, end,
}, },
}, },