aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-05-24 14:28:29 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2024-05-24 14:28:29 +0100
commite0d190a72f52348becf2e69c228e7bbf90910825 (patch)
treeb1169f3043f6a0b0d1d39e49cf8557c6cd792838 /home
parent725231dc60d42b637dd3d66da2fc01769f791845 (diff)
downloaddotfiles-e0d190a72f52348becf2e69c228e7bbf90910825.tar.gz
dotfiles-e0d190a72f52348becf2e69c228e7bbf90910825.tar.bz2
dotfiles-e0d190a72f52348becf2e69c228e7bbf90910825.zip
[nvim] Simplify clangd configuration
Diffstat (limited to 'home')
-rw-r--r--home/.config/nvim/lua/custom/plugins/lsp.lua15
1 files changed, 0 insertions, 15 deletions
diff --git a/home/.config/nvim/lua/custom/plugins/lsp.lua b/home/.config/nvim/lua/custom/plugins/lsp.lua
index f606b36..f680462 100644
--- a/home/.config/nvim/lua/custom/plugins/lsp.lua
+++ b/home/.config/nvim/lua/custom/plugins/lsp.lua
@@ -82,19 +82,6 @@ return {
ruff_lsp = {},
pyright = {},
clangd = {
- cmd = {
- "clangd",
- "--enable-config",
- "--completion-parse=auto",
- "--completion-style=bundled",
- "--header-insertion=iwyu",
- "--header-insertion-decorators",
- "--inlay-hints",
- "--suggest-missing-includes",
- "--folding-ranges",
- "--function-arg-placeholders",
- "--pch-storage=memory",
- },
on_attach = function(_, bufnr)
map.n("gH", edit_source_header, { buffer = bufnr })
map.n("gvH", vsplit_source_header, { buffer = bufnr })
@@ -105,8 +92,6 @@ return {
require("clangd_extensions.inlay_hints").set_inlay_hints()
end,
init_options = {
- usePlaceholders = true,
- completeUnimported = true,
clangdFileStatus = true,
},
},