modules
This commit is contained in:
@@ -34,6 +34,12 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
vim.filetype.add({
|
||||
extension = {
|
||||
ixx = "cpp",
|
||||
},
|
||||
})
|
||||
|
||||
require("config.opts")
|
||||
|
||||
require("lazy").setup({
|
||||
|
||||
@@ -27,7 +27,7 @@ end
|
||||
|
||||
-- clangd
|
||||
vim.lsp.config("clangd", {
|
||||
cmd = { "clangd", "--compile-commands-dir=build" },
|
||||
cmd = { "clangd", "--compile-commands-dir=build", "--experimental-modules-support" },
|
||||
capabilities = caps,
|
||||
on_attach = on_attach,
|
||||
filetypes = { "c", "cpp", "cc", "cxx", "c++", "ixx" },
|
||||
|
||||
Reference in New Issue
Block a user