diff options
| author | Mike Vink <ivi@vinkies.net> | 2023-12-09 12:23:48 +0100 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2023-12-09 12:23:48 +0100 |
| commit | f8ac26bdd59934eca11f90b9fe92d48df83833cb (patch) | |
| tree | 8f17e3de3c0c2006dcd2bc80104c8da76a0e91e9 | |
| parent | b7137cc2a16e687d08a216d99a178a132e32ee23 (diff) | |
turn off vtext
| -rw-r--r-- | mut/neovim/fnl/conf/lsp.fnl | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mut/neovim/fnl/conf/lsp.fnl b/mut/neovim/fnl/conf/lsp.fnl index b8d84d3..12cbc99 100644 --- a/mut/neovim/fnl/conf/lsp.fnl +++ b/mut/neovim/fnl/conf/lsp.fnl @@ -37,11 +37,12 @@ (fn register-handlers [{: client : buf}] (tset (. client :handlers) :textDocument/publishDiagnostics - (vim.lsp.with (fn [_ result ctx config] - (vim.lsp.diagnostic.on_publish_diagnostics _ result ctx - config) - (vim.diagnostic.setloclist {:open false})) - {:virtual_text true + (vim.lsp.with + (fn [_ result ctx config] + (vim.lsp.diagnostic.on_publish_diagnostics _ result ctx + config) + (vim.diagnostic.setloclist {:open false})) + {:virtual_text false :underline true :update_in_insert false :severity_sort true})) |
