From 0c2b66f99d705c63314853afcafb5f046ec8051c Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Mon, 19 Feb 2024 22:38:42 +0100 Subject: [PATCH] Fixes --- nvchad/.config/nvim/lua/custom/chadrc.lua | 2 +- nvchad/.config/nvim/lua/custom/plugins.lua | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/nvchad/.config/nvim/lua/custom/chadrc.lua b/nvchad/.config/nvim/lua/custom/chadrc.lua index 67a76f2..4da4317 100644 --- a/nvchad/.config/nvim/lua/custom/chadrc.lua +++ b/nvchad/.config/nvim/lua/custom/chadrc.lua @@ -6,7 +6,7 @@ local highlights = require "custom.highlights" M.ui = { theme = "gruvchad", - theme_toggle = { "gruvchad", "one_light" }, + theme_toggle = { "gruvchad", "gruvbox_light" }, hl_override = highlights.override, hl_add = highlights.add, diff --git a/nvchad/.config/nvim/lua/custom/plugins.lua b/nvchad/.config/nvim/lua/custom/plugins.lua index a867c32..01fe7e3 100644 --- a/nvchad/.config/nvim/lua/custom/plugins.lua +++ b/nvchad/.config/nvim/lua/custom/plugins.lua @@ -47,6 +47,19 @@ local plugins = { end, }, + { + "github/copilot.vim", + lazy = false, + config = function() + -- Mapping tab is already used by NvChad + vim.g.copilot_no_tab_map = true; + vim.g.copilot_assume_mapped = true; + vim.g.copilot_tab_fallback = ""; + -- The mapping is set to other key, see custom/lua/mappings + -- or run ch to see copilot mapping section + end + }, + { "nvim-treesitter/nvim-treesitter", dependencies = {