Add cmp, and some auto formatting and inlay hints to lsps, add some tweaks to clangd
This commit is contained in:
parent
64b0035e16
commit
0c897e42bd
3 changed files with 95 additions and 0 deletions
|
|
@ -22,6 +22,16 @@ local function switch_between_header_and_source(bufnr)
|
|||
end
|
||||
|
||||
local M = {
|
||||
cmd = {
|
||||
"clangd",
|
||||
"--background-index",
|
||||
"--clang-tidy",
|
||||
"--completion-style=bundled",
|
||||
-- "--cross-file-rename", // This has been deprecated
|
||||
"--rename-file-limit=0",
|
||||
"--header-insertion=iwyu",
|
||||
"--inlay-hints",
|
||||
},
|
||||
commands = {
|
||||
ClangdSwitchSourceHeader = {
|
||||
function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue