fix: prevent clangd from formatting proto files
This commit is contained in:
parent
70df72a6f5
commit
0c2bf58cfa
@ -125,6 +125,8 @@ nvim_lsp.svelte.setup({
|
|||||||
|
|
||||||
-- C LSP Configuration
|
-- C LSP Configuration
|
||||||
nvim_lsp.clangd.setup({
|
nvim_lsp.clangd.setup({
|
||||||
|
-- Explicitly exclude proto files
|
||||||
|
filetypes = { "c", "cpp", "objc", "objcpp", "cuda" },
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
flags = lsp_flags,
|
flags = lsp_flags,
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user