nvim: Fix nvim log spam

The logging directory in `~/.local/state/nvim/` is absurdly large in my
setup currently.

The prime culprits are `wrapping.nvim` which logs each heuristic
currently, and I've simply disabled logging for.

The bigger one is `lsp.log` which is over 1GB (!) currently, and over
100.000 of those lines were generated by the `htmx-lsp`. That's fair
since it is in early development, so I've removed it for the time being.
This commit is contained in:
Marty Oehme 2025-12-04 10:31:47 +01:00
parent d0103297c7
commit f4c439d58e
Signed by: Marty
GPG key ID: 4E535BC19C61886E
2 changed files with 3 additions and 1 deletions

View file

@ -72,7 +72,7 @@ local languages = {
dap = { "delve" },
},
graphql = { format = { graphql = { "prettier" } } },
html = { lsp = { htmx = {} }, format = { html = { "prettier", "rustywind" } } },
html = { format = { html = { "prettier", "rustywind" } } },
julia = { lsp = { julials = {} }, ts = { "julia" } },
json = {
lsp = { jsonls = {} },

View file

@ -75,9 +75,11 @@ local prose_plugs = {
"andrewferrier/wrapping.nvim",
opts = {
create_keymaps = false,
create_commands = false,
notify_on_switch = false,
auto_set_mode_filetype_allowlist = prose_ft,
softener = { quarto = 2.0, markdown = 2.0, djot = 2.0 },
log_path = "/dev/null", -- disable logging for normal operations
},
ft = prose_ft,
keys = {