This commit is contained in:
Andrei Stoica 2024-02-02 13:24:32 -05:00
parent 7dd5258f9b
commit dc027d7da5
1 changed files with 109 additions and 94 deletions

View File

@ -1,9 +1,26 @@
local overrides = require "custom.configs.overrides" local overrides = require("custom.configs.overrides")
---@type NvPluginSpec[] ---@type NvPluginSpec[]
local plugins = { local plugins = {
{
"folke/twilight.nvim",
opts = {
context = 20,
expand = {
"function",
},
},
lazy = false,
},
{
"folke/zen-mode.nvim",
opts = {
tmux = {
enable = false,
},
},
lazy = false,
},
{ {
"christoomey/vim-tmux-navigator", "christoomey/vim-tmux-navigator",
cmd = { cmd = {
@ -19,7 +36,7 @@ local plugins = {
{ {
"hrsh7th/nvim-cmp", "hrsh7th/nvim-cmp",
opts = overrides.cmp opts = overrides.cmp,
}, },
{ {
@ -29,13 +46,13 @@ local plugins = {
{ {
"jose-elias-alvarez/null-ls.nvim", "jose-elias-alvarez/null-ls.nvim",
config = function() config = function()
require "custom.configs.null-ls" require("custom.configs.null-ls")
end, end,
}, },
}, },
config = function() config = function()
require "plugins.configs.lspconfig" require("plugins.configs.lspconfig")
require "custom.configs.lspconfig" require("custom.configs.lspconfig")
end, -- Override to setup mason-lspconfig end, -- Override to setup mason-lspconfig
}, },
@ -71,23 +88,21 @@ local plugins = {
end, end,
}, },
{ "nvim-treesitter/nvim-treesitter-context", { "nvim-treesitter/nvim-treesitter-context", lazy = false },
lazy = false,
},
{ {
"theprimeagen/harpoon", "theprimeagen/harpoon",
}, },
{ {
'simrat39/rust-tools.nvim' "simrat39/rust-tools.nvim",
}, },
{ {
"ellisonleao/glow.nvim", "ellisonleao/glow.nvim",
config = true, config = true,
cmd = "Glow", cmd = "Glow",
event = 'BufEnter *.md', event = "BufEnter *.md",
}, },
-- Disable nvchad plugins -- Disable nvchad plugins