diff options
Diffstat (limited to 'fnl/plugins.fnl')
-rw-r--r-- | fnl/plugins.fnl | 213 |
1 files changed, 39 insertions, 174 deletions
diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl index 5d3453f..b315066 100644 --- a/fnl/plugins.fnl +++ b/fnl/plugins.fnl @@ -1,182 +1,47 @@ ;; List of plugins. -[;; Color related plugins - {1 :aktersnurra/no-clown-fiesta.nvim - :lazy false - :priority 1000 - :config (fn [] - (require :config.colorscheme))} - {1 :norcalli/nvim-colorizer.lua - :cmd :ColorizerToggle - :config (fn [] - (require :config.colorizer))} - {1 :nvim-treesitter/nvim-treesitter - :build ":TSUpdate" - :event :BufReadPre - :config (fn [] - (require :config.treesitter))} - ;; Completions - {1 :hrsh7th/nvim-cmp - :dependencies [{1 :hrsh7th/cmp-buffer} - {1 :onsails/lspkind-nvim} - {1 :hrsh7th/cmp-nvim-lsp} - {1 :hrsh7th/cmp-cmdline} - {1 :L3MON4D3/LuaSnip} - {1 :hrsh7th/cmp-path} - {1 :saadparwaiz1/cmp_luasnip} - {1 :f3fora/cmp-spell}] - :event :InsertEnter - :config (fn [] - (require :config.cmp))} - {1 :rafamadriz/friendly-snippets :event :InsertEnter} - ;; Core plugins +[(require :config.alpha) + (require :config.autopairs) + (require :config.better-escape) + (require :config.bqf) + (require :config.cmp) + (require :config.colorscheme) + (require :config.comment) + (require :config.flit) + (require :config.gitsigns) + (require :config.harpoon) + (require :config.leap) + (require :config.lir) + (require :config.lualine) + (require :config.minibar) + (require :config.orgmode) + (require :config.persistence) + (require :config.project) + (require :config.spectre) + (require :config.telescope) + (require :config.toggleterm) + (require :config.treesitter) + (require :config.trim) + (require :config.trouble) + (require :config.vim-slash) + (require :config.which-key) + (require :config.window-picker) + (require :config.zen) + (require :config.lsp.mason) + (require :config.lsp.lspconfig) + (require :config.lsp.null-ls) {1 :Olical/aniseed} - ;; Git plugins + {1 :nvim-telescope/telescope-fzf-native.nvim :build :make} + {1 :ojroques/nvim-bufdel :cmd :BufDel} + {1 :mbbill/undotree :cmd :UndotreeToggle} + {1 :simrat39/symbols-outline.nvim :cmd :SymbolsOutline :config true} + {1 :gbprod/stay-in-place.nvim :event :BufReadPost :config true} + {1 :kylechui/nvim-surround :event :InsertEnter :config true} + {1 :norcalli/nvim-colorizer.lua :cmd :ColorizerToggle :config true} {1 :sindrets/diffview.nvim :cmd [:DiffviewFileHistory :DiffviewOpen] - :config (fn [] - (require :config.diffview))} + :config true} {1 :TimUntersberger/neogit :cmd :Neogit :dependencies [:nvim-lua/plenary.nvim] - :config (fn [] - (require :config.neogit))} - {1 :lewis6991/gitsigns.nvim - :event :BufReadPost - :config (fn [] - (require :config.gitsigns))} - ;; LSP - {1 :williamboman/mason.nvim - :cmd :Mason - :keys [{1 :<leader>m 2 :<cmd>Mason<cr> :desc :Mason}] - :config (fn [] - (require :config.lsp.mason))} - {1 :jose-elias-alvarez/null-ls.nvim - :dependencies [:mason.nvim :jayp0521/mason-null-ls.nvim] - :event :BufReadPre - :config (fn [] - (require :config.lsp.null-ls))} - {1 :neovim/nvim-lspconfig - :event :BufReadPre - :dependencies [:mason.nvim - :williamboman/mason-lspconfig.nvim - :b0o/SchemaStore.nvim - :hrsh7th/cmp-nvim-lsp] - :config (fn [] - (require :config.lsp.diagnostics) - (require :config.lsp.lspconfig))} - {1 :folke/trouble.nvim - :cmd :TroubleToggle - :config (fn [] - (require :config.trouble))} - ;; Misc plugins - {1 :nvim-orgmode/orgmode - :event :BufReadPost - :config (fn [] - (require :config.orgmode))} - {1 :ojroques/nvim-bufdel :cmd :BufDel} - {1 :akinsho/toggleterm.nvim - :cmd :ToggleTerm - :config (fn [] - (require :config.toggleterm))} - ;; Search plugins - {1 :nvim-telescope/telescope-fzf-native.nvim :build :make} - {1 :nvim-telescope/telescope.nvim - :cmd :Telescope - :dependencies [:nvim-lua/popup.nvim - :nvim-telescope/telescope-frecency.nvim - :tami5/sqlite.lua - :ahmedkhalf/project.nvim - :nvim-lua/plenary.nvim - :nvim-telescope/telescope-fzf-native.nvim - :nvim-telescope/telescope-frecency.nvim - :joaomsa/telescope-orgmode.nvim] - :config (fn [] - (require :config.project) - (require :config.telescope))} - {1 :tamago324/lir.nvim - :keys "-" - :config (fn [] - (require :config.lir)) - :dependencies [:kyazdani42/nvim-web-devicons]} - {1 :ggandor/leap.nvim - :event :BufReadPost - :config (fn [] - (require :config.leap))} - {1 :ggandor/flit.nvim - :event :BufReadPost - :config (fn [] - (require :config.flit))} - {1 :windwp/nvim-spectre - :event :BufReadPost - :config (fn [] - (require :config.spectre))} - {1 :junegunn/vim-slash - :event :BufReadPost - :config (fn [] - (require :config.vim-slash))} - {1 :ThePrimeagen/harpoon - :event :BufReadPost - :config (fn [] - (require :config.harpoon))} - ;; Session plugins - {1 :folke/persistence.nvim - :event :VeryLazy - :config (fn [] - (require :config.persistence))} - ;; Text manipulation - {1 :numToStr/Comment.nvim - :event :BufReadPost - :config (fn [] - (require :config.comment))} - {1 :kylechui/nvim-surround - :event :InsertEnter - :config (fn [] - (require :config.surround))} - {1 :gbprod/stay-in-place.nvim - :event :BufReadPost - :config (fn [] - (require :config.stay-in-place))} - {1 :cappyzawa/trim.nvim - :event :BufFilePre - :config (fn [] - (require :config.trim))} - {1 :max397574/better-escape.nvim - :event :BufReadPost - :config (fn [] - (require :config.better-escape))} - {1 :windwp/nvim-autopairs - :event :InsertEnter - :config (fn [] - (require :config.autopairs))} - {1 :mbbill/undotree :cmd :UndotreeToggle} - {1 :nvim-lualine/lualine.nvim - :event :VeryLazy - :config (fn [] - (require :config.lualine)) - :dependencies [:kyazdani42/nvim-web-devicons :arkav/lualine-lsp-progress]} - {1 :aktersnurra/minibar.nvim - :event :BufReadPre - :config (fn [] - (require :config.minibar))} - {1 :folke/zen-mode.nvim - :cmd :ZenMode - :config (fn [] - (require :config.zen))} - {1 :kevinhwang91/nvim-bqf - :event :BufReadPost - :config (fn [] - (require :config.bqf))} - {1 :s1n7ax/nvim-window-picker - :event :BufReadPost - :config (fn [] - (require :config.window-picker))} - {1 :goolord/alpha-nvim - :event :VimEnter - :config (fn [] - (require :config.alpha))} - {1 :simrat39/symbols-outline.nvim :cmd :SymbolsOutline :config true} - {1 :folke/which-key.nvim - :event :VeryLazy - :config (fn [] - (require :config.which-key))}] + :config true}] |