1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2026-07-24 00:35:45 +00:00

[neovim] Remove copilot support

This commit is contained in:
2026-06-26 18:32:13 +02:00
parent c5b9bf92d9
commit e9445d5934
7 changed files with 157 additions and 158 deletions
+20 -20
View File
@@ -1,27 +1,27 @@
local projects = function()
local projects_path = vim.fn.expand("~/.config/nvim/neovim-projects.json")
local data = require("util.files").read(projects_path)
local projects_path = vim.fn.expand("~/.config/nvim/neovim-projects.json")
local data = require("util.files").read(projects_path)
if data then
local ok, decoded = pcall(vim.json.decode, data)
return ok and decoded or {}
end
if data then
local ok, decoded = pcall(vim.json.decode, data)
return ok and decoded or {}
end
return {}
return {}
end
require("neovim-project").setup({
projects = projects(),
last_session_on_startup = false,
dashboard_mode = false,
filetype_autocmd_timeout = 0,
session_manager_opts = {
autosave_ignore_filetypes = {
"snacks_picker_list",
"trouble",
"grug-far",
"copilot-chat",
"trouble",
},
},
projects = projects(),
last_session_on_startup = false,
dashboard_mode = false,
filetype_autocmd_timeout = 0,
session_manager_opts = {
autosave_ignore_filetypes = {
"snacks_picker_list",
"trouble",
"grug-far",
-- "copilot-chat",
"trouble",
},
},
})