Compare commits
2 commits
9df850751b
...
f23a73d02b
Author | SHA1 | Date | |
---|---|---|---|
f23a73d02b | |||
20e99cbeed |
2 changed files with 6 additions and 0 deletions
1
config/nvim/after/ftplugin/c.lua
Normal file
1
config/nvim/after/ftplugin/c.lua
Normal file
|
@ -0,0 +1 @@
|
||||||
|
vim.bo.commentstring = "// %s"
|
|
@ -43,6 +43,11 @@ local lsp_on_init = function(client)
|
||||||
end
|
end
|
||||||
|
|
||||||
local server_opts = setmetatable({
|
local server_opts = setmetatable({
|
||||||
|
clangd = function(opts)
|
||||||
|
return vim.tbl_deep_extend("force", opts, {
|
||||||
|
cmd = { "clangd", "--header-insertion=never" },
|
||||||
|
})
|
||||||
|
end,
|
||||||
lua_ls = function(opts)
|
lua_ls = function(opts)
|
||||||
return vim.tbl_deep_extend("force", opts, {
|
return vim.tbl_deep_extend("force", opts, {
|
||||||
settings = {
|
settings = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue