diff options
author | Christian Segundo | 2023-12-20 14:47:02 +0100 |
---|---|---|
committer | Christian Segundo | 2023-12-20 14:47:02 +0100 |
commit | 4926211bdd12793242274e2e4d407b1153da9841 (patch) | |
tree | 2c438e33b005d101fdc9324e55d9e9daad49f4bf /public | |
parent | 651a3f8956104265c197a1155704600aa0bb5bf8 (diff) | |
download | dotfiles-4926211bdd12793242274e2e4d407b1153da9841.tar.gz |
add c
Diffstat (limited to 'public')
-rw-r--r-- | public/nvim/.nvim/lua/plugins/lang/c.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/public/nvim/.nvim/lua/plugins/lang/c.lua b/public/nvim/.nvim/lua/plugins/lang/c.lua new file mode 100644 index 0000000..5b54a9d --- /dev/null +++ b/public/nvim/.nvim/lua/plugins/lang/c.lua @@ -0,0 +1,20 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + opts = function(_, opts) + if type(opts) == "table" then + opts.ensure_installed = opts.ensure_installed or {} + vim.list_extend(opts.ensure_installed, { "c" }) + end + end, + }, + { + "neovim/nvim-lspconfig", + opts = function(_, opts) + if type(opts) == "table" then + opts.servers = opts.servers or {} + opts.servers.clangd = {} + end + end, + }, +} |