new lsp thing

This commit is contained in:
Belal Elsabbagh
2025-05-13 10:03:09 +03:00
parent fce940df13
commit 01ac9df6e4
9 changed files with 76 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
return {
-- From the clangd configuration in <rtp>/lsp/clangd.lua
cmd = { 'clangd' },
-- From the clangd configuration in <rtp>/lsp/clangd.lua
-- Overrides the "*" configuration in init.lua
root_markers = { '.clangd', 'compile_commands.json' },
-- From the clangd configuration in init.lua
-- Overrides the clangd configuration in <rtp>/lsp/clangd.lua
filetypes = { 'c' },
-- From the "*" configuration in init.lua
capabilities = {
textDocument = {
semanticTokens = {
multilineTokenSupport = true,
},
},
},
}