This commit is contained in:
Matt Anderson
2026-05-03 11:07:47 +08:00
parent 51da9f8a38
commit 7b423c0603
7 changed files with 23 additions and 119 deletions

View File

@@ -3,6 +3,7 @@
"LuaSnip": { "branch": "master", "commit": "1f4ad8bb72bdeb60975e98652636b991a9b7475d" },
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
"copilot.vim": { "branch": "release", "commit": "a12fd5672110c8aa7e3c8419e28c96943ca179be" },
"ember": { "branch": "main", "commit": "4dbd9cad1f587b147150e7cf71ac517ac31e3858" },
"formatter.nvim": { "branch": "master", "commit": "b9d7f853da1197b83b8edb4cc4952f7ad3a42e41" },
"gitsigns.nvim": { "branch": "main", "commit": "6d808f99bd63303646794406e270bd553ad7792e" },
"helm-ls.nvim": { "branch": "main", "commit": "20df43509b02a3ce3c6b3eee254d6e2bffa9a370" },

View File

@@ -48,21 +48,21 @@ require('lazy').setup({
},
}
},
{
"CopilotC-Nvim/CopilotChat.nvim",
dependencies = {
{ "github/copilot.vim" }, -- or zbirenbaum/copilot.lua
},
build = "make tiktoken", -- Only on MacOS or Linux
opts = {
window = {
layout = 'replace',
},
mappings = {
accept_diff = false, -- disables the default <C-y> “accept nearest diff”
},
},
},
-- {
-- "CopilotC-Nvim/CopilotChat.nvim",
-- dependencies = {
-- { "github/copilot.vim" }, -- or zbirenbaum/copilot.lua
-- },
-- build = "make tiktoken", -- Only on MacOS or Linux
-- opts = {
-- window = {
-- layout = 'replace',
-- },
-- mappings = {
-- accept_diff = false, -- disables the default <C-y> “accept nearest diff”
-- },
-- },
-- },
-- Utility
'windwp/nvim-autopairs',
'nvim-telescope/telescope.nvim',

View File

@@ -37,7 +37,7 @@ vim.api.nvim_create_autocmd("ColorScheme", {
})
-- Global colorscheme based on terminal colors
vim.cmd("Copilot disable")
-- vim.cmd("Copilot disable")
vim.cmd([[
autocmd ColorScheme * highlight Statement cterm=bold ctermfg=5
autocmd ColorScheme * highlight Keyword ctermfg=5
@@ -45,7 +45,7 @@ vim.cmd([[
autocmd ColorScheme * highlight Function cterm=bold ctermfg=4
autocmd ColorScheme * highlight Constant ctermfg=3
autocmd ColorScheme * highlight String ctermfg=2
" autocmd ColorScheme * highlight Comment cterm=italic ctermfg=lightgray
autocmd ColorScheme * highlight Comment cterm=italic ctermfg=lightgray
syntax on
set notermguicolors