From 6189904d9bf3e04a5c86423226fc28bea19fc949 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Sun, 26 Nov 2023 16:38:50 +0100 Subject: [PATCH] Adapt Neovim for TrentOS --- rsc/config/nvim/configs/lspconfig.lua | 14 +++++++------- rsc/config/nvim/plugins.lua | 3 +++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/rsc/config/nvim/configs/lspconfig.lua b/rsc/config/nvim/configs/lspconfig.lua index 02b61c1..e9515a4 100644 --- a/rsc/config/nvim/configs/lspconfig.lua +++ b/rsc/config/nvim/configs/lspconfig.lua @@ -17,10 +17,10 @@ lspconfig.rnix.setup({ filetypes = {"nix"}, }) -lspconfig.clangd.setup { - on_attach = function(client, bufnr) - client.server_capabilities.signatureHelpProvider = false - on_attach(client, bufnr) - end, - capabilities = capabilities, -} +-- lspconfig.clangd.setup { +-- on_attach = function(client, bufnr) +-- client.server_capabilities.signatureHelpProvider = false +-- on_attach(client, bufnr) +-- end, +-- capabilities = capabilities, +-- } diff --git a/rsc/config/nvim/plugins.lua b/rsc/config/nvim/plugins.lua index 219c1a0..b9f4083 100644 --- a/rsc/config/nvim/plugins.lua +++ b/rsc/config/nvim/plugins.lua @@ -181,6 +181,9 @@ local plugins = { "typescript", "nix", "rust", + "c", + "cmake", + "gitignore", } } },