Skip to content

Commit

Permalink
disable underline on lsp diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
Szwendacz99 committed Oct 24, 2023
1 parent 0072af5 commit 7545e27
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lua/general.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ map("n", "<Tab>", ">>")
map("v", "<Tab>", ">gv")
map("v", "<S-Tab>", "<gv")

-- disable underline in lsp diagnostics
vim.lsp.handlers["textDocument/publishDiagnostics"] =
vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics,
{
underline = false
}
)

vim.opt.mouse = "c" -- set mouse in command line mode
vim.opt.colorcolumn = "80" -- highlight this column
Expand Down

0 comments on commit 7545e27

Please sign in to comment.