updating packages

This commit is contained in:
Carlos Gutierrez
2025-10-22 21:58:30 -04:00
parent 9638b5346d
commit bf573ef961
14 changed files with 8283 additions and 141 deletions

View File

@@ -1,75 +0,0 @@
return {
{
-- Main Copilot plugin
"zbirenbaum/copilot.lua",
lazy = false, -- Load at startup
enabled = true,
config = function()
require("copilot").setup({
-- General settings
panel = {
enabled = true,
auto_refresh = false,
keymap = {
jump_prev = "[[",
jump_next = "]]",
accept = "<CR>",
refresh = "gr",
},
layout = {
position = "bottom", -- | top | left | right | horizontal | vertical
ratio = 0.4,
},
},
suggestion = {
enabled = true,
auto_trigger = true,
debounce = 75,
trigger_on_accept = false,
keymap = {
accept = "<C-l>", -- Accept suggestion
next = "<C-j>", -- Next suggestion
prev = "<C-k>", -- Previous suggestion
dismiss = "<C-x>", -- Dismiss suggestion
},
},
filetypes = {
markdown = true,
["*"] = true, -- Enable for all filetypes
},
copilot_node_command = "node", -- Ensure your system's Node.js is v20+
})
end,
},
{
-- Copilot Chat plugin
"CopilotC-Nvim/CopilotChat.nvim",
dependencies = {
{ "zbirenbaum/copilot.lua" },
{ "nvim-lua/plenary.nvim", branch = "master" }, -- For curl, log and async functions
},
build = "make tiktoken", -- Only on MacOS or Linux
opts = {
layout = {
position = "right", -- Position of the chat window
ratio = 0.5,
},
tiktoken = {
enabled = false, -- Enable token counting
},
floating = {
enabled = true,
border = "rounded",
},
prompts = {
Rename = {
prompt = "Please rename the variable correctly in given selection based on context",
selection = function(source)
local select = require("CopilotChat.select")
return select.visual(source)
end,
},
},
},
},
}

View File

@@ -0,0 +1,75 @@
-- return {
-- {
-- -- Main Copilot plugin
-- "zbirenbaum/copilot.lua",
-- lazy = false, -- Load at startup
-- enabled = true,
-- config = function()
-- require("copilot").setup({
-- -- General settings
-- panel = {
-- enabled = true,
-- auto_refresh = false,
-- keymap = {
-- jump_prev = "[[",
-- jump_next = "]]",
-- accept = "<CR>",
-- refresh = "gr",
-- },
-- layout = {
-- position = "bottom", -- | top | left | right | horizontal | vertical
-- ratio = 0.4,
-- },
-- },
-- suggestion = {
-- enabled = true,
-- auto_trigger = true,
-- debounce = 75,
-- trigger_on_accept = false,
-- keymap = {
-- accept = "<C-l>", -- Accept suggestion
-- next = "<C-j>", -- Next suggestion
-- prev = "<C-k>", -- Previous suggestion
-- dismiss = "<C-x>", -- Dismiss suggestion
-- },
-- },
-- filetypes = {
-- markdown = true,
-- ["*"] = true, -- Enable for all filetypes
-- },
-- copilot_node_command = "node", -- Ensure your system's Node.js is v20+
-- })
-- end,
-- },
-- {
-- -- Copilot Chat plugin
-- "CopilotC-Nvim/CopilotChat.nvim",
-- dependencies = {
-- { "zbirenbaum/copilot.lua" },
-- { "nvim-lua/plenary.nvim", branch = "master" }, -- For curl, log and async functions
-- },
-- build = "make tiktoken", -- Only on MacOS or Linux
-- opts = {
-- layout = {
-- position = "right", -- Position of the chat window
-- ratio = 0.5,
-- },
-- tiktoken = {
-- enabled = false, -- Enable token counting
-- },
-- floating = {
-- enabled = true,
-- border = "rounded",
-- },
-- prompts = {
-- Rename = {
-- prompt = "Please rename the variable correctly in given selection based on context",
-- selection = function(source)
-- local select = require("CopilotChat.select")
-- return select.visual(source)
-- end,
-- },
-- },
-- },
-- },
-- }

View File

@@ -0,0 +1,44 @@
return {
"CarGDev/rest.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
table.insert(opts.ensure_installed, "http")
end,
},
config = function()
-- Basic configuration for rest.nvim
vim.g.rest_nvim = {
-- Enable request highlighting
highlight = {
enable = true,
timeout = 750,
},
-- Enable response formatting
response = {
hooks = {
format = true,
decode_url = true,
},
},
-- Enable cookies
cookies = {
enable = true,
},
-- Enable environment variables
env = {
enable = true,
pattern = ".*%.env.*",
},
-- UI configuration
ui = {
winbar = true,
keybinds = {
prev = "H",
next = "L",
},
},
}
end,
}

View File

@@ -1 +1,11 @@
return { "wakatime/vim-wakatime", lazy = false }
return {
"wakatime/vim-wakatime",
lazy = false,
config = function()
-- WakaTime performance optimizations
vim.g.wakatime_HeartbeatFrequency = 2 -- Increase from default 1 minute to 2 minutes
vim.g.wakatime_buffering_heartbeats_enabled = 1 -- Enable buffering
vim.g.wakatime_debug = 0 -- Disable debug mode for performance
vim.g.wakatime_redraw_setting = 'auto' -- Auto redraw setting
end,
}