Files
neovim-config/lua/plugins/lspconfig.lua
T
thalladaandClaude Opus 5 d805ae3ee4 Stop double-rendering diagnostics on the current line
virtual_text and virtual_lines.current_line were both on, so the cursor line
showed each message inline and again below it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 12:27:20 -04:00

26 lines
720 B
Lua

return {
"neovim/nvim-lspconfig",
opts = {
diagnostics = {
virtual_text = false,
virtual_lines = { current_line = true },
},
servers = {
clangd = {
-- removing .proto from the list of filetypes since clangd doesn't seem to be able to parse them
filetypes = { "c", "cpp", "objc", "objcpp", "cuda" },
},
-- Disable oxlint LSP - using nvim-lint with CLI instead for type-aware support
oxlint = { enabled = false },
},
-- Disable eslint formatting as it's slow and timing out on big projects
-- taken from
-- https://github.com/LazyVim/LazyVim/pull/4225/files
setup = {
eslint = function()
return
end,
},
},
}