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[]
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",
cmd = {
@ -19,7 +36,7 @@ local plugins = {
{
"hrsh7th/nvim-cmp",
opts = overrides.cmp
opts = overrides.cmp,
},
{
@ -29,13 +46,13 @@ local plugins = {
{
"jose-elias-alvarez/null-ls.nvim",
config = function()
require "custom.configs.null-ls"
require("custom.configs.null-ls")
end,
},
},
config = function()
require "plugins.configs.lspconfig"
require "custom.configs.lspconfig"
require("plugins.configs.lspconfig")
require("custom.configs.lspconfig")
end, -- Override to setup mason-lspconfig
},
@ -71,23 +88,21 @@ local plugins = {
end,
},
{ "nvim-treesitter/nvim-treesitter-context",
lazy = false,
},
{ "nvim-treesitter/nvim-treesitter-context", lazy = false },
{
"theprimeagen/harpoon",
},
{
'simrat39/rust-tools.nvim'
"simrat39/rust-tools.nvim",
},
{
"ellisonleao/glow.nvim",
config = true,
cmd = "Glow",
event = 'BufEnter *.md',
event = "BufEnter *.md",
},
-- Disable nvchad plugins