--local function set_theme(name) -- local cur_theme = require('nvconfig').ui.theme -- require("nvchad.utils").replace_word(cur_theme, name) -- require('nvconfig').ui.theme = name -- require('base46').load_all_highlights() --end return { { "stevearc/conform.nvim", -- event = 'BufWritePre', -- uncomment for format on save config = function() require "configs.conform" end, }, -- These are some examples, uncomment them if you want to see them work! -- { -- "neovim/nvim-lspconfig", -- config = function() -- require("nvchad.configs.lspconfig").defaults() -- require "configs.lspconfig" -- end, -- }, { "nvim-treesitter/nvim-treesitter", opts = { ensure_installed = { "bash", "lua", "markdown", "markdown_inline", "python", "terraform", "vim", }, }, }, -- { -- "f-person/auto-dark-mode.nvim", -- event = 'VeryLazy', -- config = { -- update_interval = 1000, -- set_dark_mode = function() -- set_theme('monekai') -- end, -- set_light_mode = function() -- set_theme('ayu_light') -- end, -- } -- } -- Install a plugin -- { -- "max397574/better-escape.nvim", -- event = "InsertEnter", -- config = function() -- require("better_escape").setup() -- end -- }, -- To make a plugin not be loaded -- { -- "NvChad/nvim-colorizer.lua", -- enabled = false -- }, -- All NvChad plugins are lazy-loaded by default -- For a plugin to be loaded, you will need to set either `ft`, `cmd`, `keys`, `event`, or set `lazy = false` -- If you want a plugin to load on startup, add `lazy = false` to a plugin spec, for example -- { -- "mg979/vim-visual-multi", -- lazy = false, -- } }