aboutsummaryrefslogtreecommitdiff
path: root/.config/nvchad/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvchad/plugins.lua')
-rw-r--r--.config/nvchad/plugins.lua112
1 files changed, 61 insertions, 51 deletions
diff --git a/.config/nvchad/plugins.lua b/.config/nvchad/plugins.lua
index b51fcbf1..00691aa9 100644
--- a/.config/nvchad/plugins.lua
+++ b/.config/nvchad/plugins.lua
@@ -3,61 +3,71 @@ local overrides = require("custom.configs.overrides")
---@type NvPluginSpec[]
local plugins = {
- {
- "neovim/nvim-lspconfig",
- dependencies = {
- {
- "jose-elias-alvarez/null-ls.nvim",
- config = function()
- require "custom.configs.null-ls"
- end,
- },
- },
- config = function()
- require "plugins.configs.lspconfig"
- require "custom.configs.lspconfig"
- end,
- },
-
- {
- "williamboman/mason.nvim",
- opts = overrides.mason
- },
-
- {
- "nvim-treesitter/nvim-treesitter",
- opts = overrides.treesitter,
- },
-
- {
- "nvim-tree/nvim-tree.lua",
- opts = overrides.nvimtree,
- },
-
- {
- "max397574/better-escape.nvim",
- event = "InsertEnter",
- config = function()
- require("better_escape").setup()
- end,
- },
+ {
+ "neovim/nvim-lspconfig",
+ dependencies = {
+ {
+ "jose-elias-alvarez/null-ls.nvim",
+ config = function()
+ require("custom.configs.null-ls")
+ end,
+ },
+ },
+ config = function()
+ require("plugins.configs.lspconfig")
+ require("custom.configs.lspconfig")
+ end,
+ },
- {
- "lervag/vimtex",
- lazy = false,
- config = function()
- require("custom.configs.vimtex")
- end,
- },
+ {
+ "williamboman/mason.nvim",
+ opts = overrides.mason,
+ },
+
+ {
+ "nvim-treesitter/nvim-treesitter",
+ opts = overrides.treesitter,
+ },
+
+ {
+ "nvim-tree/nvim-tree.lua",
+ opts = overrides.nvimtree,
+ },
+
+ {
+ "max397574/better-escape.nvim",
+ event = "InsertEnter",
+ config = function()
+ require("better_escape").setup()
+ end,
+ },
+
+ {
+ "lervag/vimtex",
+ lazy = false,
+ config = function()
+ require("custom.configs.vimtex")
+ end,
+ },
+
+ {
+ "L3MON4D3/LuaSnip",
+ dependencies = { "rafamadriz/friendly-snippets" },
+ config = function()
+ require("custom.configs.luasnip")
+ end,
+ lazy = false,
+ },
- {
- "L3MON4D3/LuaSnip",
- dependencies = { "rafamadriz/friendly-snippets" },
+ {
+ "iamcco/markdown-preview.nvim",
+ cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
+ build = "cd app && npm install",
config = function()
- require("custom.configs.luasnip")
+ require("custom.configs.markdown-preview")
end,
- lazy = false,
- },
+ ft = { "markdown" },
+ },
}
return plugins