Skip to content

Commit

Permalink
fix(cpp): update clangd_extensions plugin to new setup process
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Aug 9, 2023
1 parent 134a020 commit 6531639
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lua/astrocommunity/pack/cpp/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,13 @@ return {
},
{
"williamboman/mason-lspconfig.nvim",
dependencies = { "p00f/clangd_extensions.nvim" },
opts = function(_, opts) opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "clangd") end,
},
{
"jay-babu/mason-null-ls.nvim",
opts = function(_, opts) opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "clang-format") end,
},
{
"p00f/clangd_extensions.nvim",
ft = { "c", "cpp", "objc", "objcpp", "cuda", "proto" },
init = function() utils.list_insert_unique(astronvim.lsp.skip_setup, "clangd") end,
opts = function() return { server = require("astronvim.utils.lsp").config "clangd" } end,
},
{
"Civitasv/cmake-tools.nvim",
ft = { "c", "cpp", "objc", "objcpp", "cuda", "proto" },
Expand Down

0 comments on commit 6531639

Please sign in to comment.