From 904769aadeed5eae962bddd62e4652245a4cd469 Mon Sep 17 00:00:00 2001 From: Michel Date: Tue, 3 Oct 2023 19:23:26 +0200 Subject: [PATCH] feat(c++): nt-cpp-tools --- lazy-lock.json | 1 + lua/plugins/cpp.lua | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 lua/plugins/cpp.lua diff --git a/lazy-lock.json b/lazy-lock.json index 99ce113..85690ef 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -36,6 +36,7 @@ "nvim-notify": { "branch": "master", "commit": "e4a2022f4fec2d5ebc79afa612f96d8b11c627b3" }, "nvim-spectre": { "branch": "master", "commit": "97cfd1b0f5a6ab35979ce1bee6c17f54745fd1e5" }, "nvim-treesitter": { "branch": "master", "commit": "32cc79b63342662f1136aebd93ba190778a45c92" }, + "nvim-treesitter-cpp-tools": { "branch": "master", "commit": "150fe72b381b12b8397c2a38084d968f74f84271" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "bd103502252027434ec42f628d2dbf54821d4ce6" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "0c136439fb93fd94db9106250ff6f6858101422b" }, "nvim-web-devicons": { "branch": "master", "commit": "45d0237c427baba8cd05e0ab26d30e2ee58c2c82" }, diff --git a/lua/plugins/cpp.lua b/lua/plugins/cpp.lua new file mode 100644 index 0000000..76eb7ec --- /dev/null +++ b/lua/plugins/cpp.lua @@ -0,0 +1,7 @@ +return { + { + "Badhi/nvim-treesitter-cpp-tools", + cmd = { "TSCppDefineClassFunc", "TSCppMakeConcreteClass", "TSCppRuleOf3", "TSCppRuleOf5" }, + config = true, + }, +}