diff options
| author | Alec Goncharow <alec@goncharow.dev> | 2024-03-27 23:51:05 -0400 |
|---|---|---|
| committer | Alec Goncharow <alec@goncharow.dev> | 2024-03-27 23:51:50 -0400 |
| commit | a9c559f9fc070985db26e820f352395d75569eb8 (patch) | |
| tree | 565c4c21c3fbd0147166a5d3195d70b085168789 /.config/nvim/lua/plugins.lua | |
| parent | e4c0895320d09ab7238e91aefc4e7112ba577a72 (diff) | |
lazy, neorg, and oil
apparently packer is abandoned, neorg told me to use lazy
neorg is so cool actually
vim-vinegar walked so that oil could fly
Diffstat (limited to '.config/nvim/lua/plugins.lua')
| -rw-r--r-- | .config/nvim/lua/plugins.lua | 182 |
1 files changed, 74 insertions, 108 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index fbe003f..6498770 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -1,131 +1,97 @@ --- sourced from https://github.com/arnvald/viml-to-lua/blob/main/lua/plugins.lua - -return require('packer').startup(function() - use 'wbthomason/packer.nvim' - - -- use 'morhetz/gruvbox' - -- use 'tjdevries/colorbuddy.nvim' - use 'edkolev/tmuxline.vim' - use 'romainl/vim-cool' - +return require('lazy').setup({ + -- neorg + { + "vhyrro/luarocks.nvim", + }, + { + "nvim-neorg/neorg", + dependencies = { "luarocks.nvim" }, + version = "*", -- Pin Neorg to the latest stable release + }, + 'edkolev/tmuxline.vim', + 'romainl/vim-cool', -- common - use 'tpope/vim-fugitive' -- Git commands - use { - 'nvim-lualine/lualine.nvim', - requires = { 'kyazdani42/nvim-web-devicons', opt = true } - } - use 'andymass/vim-matchup' -- matching parens and more - use 'lewis6991/gitsigns.nvim' - - - use 'RRethy/vim-illuminate' + 'kyazdani42/nvim-web-devicons', + 'tpope/vim-fugitive', -- Git commands + 'lewis6991/gitsigns.nvim', + 'nvim-lualine/lualine.nvim', + 'andymass/vim-matchup', -- matching parens and more + 'RRethy/vim-illuminate', -- better quickfix buffer - use { 'kevinhwang91/nvim-bqf', ft = 'qf', - config = function() - -- Adapt fzf's delimiter in nvim-bqf - require('bqf').setup({ - filter = { - fzf = { - extra_opts = { '--bind', 'ctrl-o:toggle-all', '--delimiter', '│' } - } - } - }) - end - } - use 'matbme/JABS.nvim' -- buffer switcher - - + 'kevinhwang91/nvim-bqf', + 'matbme/JABS.nvim', -- buffer switcher -- general dev - use 'neovim/nvim-lspconfig' - use({ - "glepnir/lspsaga.nvim", - branch = "main", - requires = { - { "nvim-tree/nvim-web-devicons" }, - --Please make sure you install markdown and markdown_inline parser - { "nvim-treesitter/nvim-treesitter" } + 'neovim/nvim-lspconfig', + { 'glepnir/lspsaga.nvim', branch = "main" }, + + 'hrsh7th/nvim-cmp', + 'hrsh7th/cmp-buffer', + 'hrsh7th/cmp-nvim-lua', + 'hrsh7th/cmp-nvim-lsp', + 'hrsh7th/cmp-nvim-lsp-signature-help', + 'hrsh7th/cmp-path', + 'hrsh7th/cmp-vsnip', + 'hrsh7th/vim-vsnip', + + { 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate' }, + 'scrooloose/nerdcommenter', -- commenting shortcuts + + 'tpope/vim-eunuch', -- wrappers UNIX commands + 'tpope/vim-surround', -- surround characters shortcuts + 'tpope/vim-endwise', -- wisely add + 'tpope/vim-repeat', -- repeat for plugins + -- 'tpope/vim-vinegar', -- make explore better + { + 'stevearc/oil.nvim', + opts = {}, + -- Optional dependencies + dependencies = { "nvim-tree/nvim-web-devicons" }, + }, + { + 'prichrd/netrw.nvim', -- particles for ^ + opts = { + directory = '', -- Directory icon + file = '', -- File icon + use_devicons = true, -- Uses nvim-web-devicons if true, otherwise use the file icon specified above + mappings = {}, -- Custom key mappings } - }) - - use 'hrsh7th/nvim-cmp' - use 'hrsh7th/cmp-buffer' - use 'hrsh7th/cmp-nvim-lua' - use 'hrsh7th/cmp-nvim-lsp' - use 'hrsh7th/cmp-nvim-lsp-signature-help' - use "hrsh7th/cmp-path" - use 'hrsh7th/cmp-vsnip' - use 'hrsh7th/vim-vsnip' - - use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' } - use 'scrooloose/nerdcommenter' -- commenting shortcuts - - use 'tpope/vim-eunuch' -- wrappers UNIX commands - use 'tpope/vim-surround' -- surround characters shortcuts - use 'tpope/vim-endwise' -- wisely add - use 'tpope/vim-repeat' -- repeat for plugins - use 'tpope/vim-vinegar' -- make explore better - use { - 'prichrd/netrw.nvim', -- particles for ^ - config = function() - require("netrw").setup { - directory = '', -- Directory icon - file = '', -- File icon - use_devicons = true, -- Uses nvim-web-devicons if true, otherwise use the file icon specified above - mappings = {}, -- Custom key mappings - } - end - } - - use 'kyazdani42/nvim-web-devicons' -- icons when searching - use { "ibhagwan/fzf-lua", - -- optional for icon support - requires = { "nvim-tree/nvim-web-devicons" } - } + }, + 'ibhagwan/fzf-lua', -- zig - use 'ziglang/zig.vim' - + 'ziglang/zig.vim', -- go - use 'ray-x/go.nvim' + 'ray-x/go.nvim', -- rust - use 'rust-lang/rust.vim' - use 'simrat39/rust-tools.nvim' + 'rust-lang/rust.vim', + 'simrat39/rust-tools.nvim', -- ember - use 'joukevandermaas/vim-ember-hbs' - use 'joerdav/templ.vim' + 'joukevandermaas/vim-ember-hbs', + 'joerdav/templ.vim', -- debugging - use 'nvim-lua/plenary.nvim' - use 'mfussenegger/nvim-dap' + 'nvim-lua/plenary.nvim', + 'mfussenegger/nvim-dap', -- jai - use 'rluba/jai.vim' - - use 'wsdjeg/vim-fetch' + 'rluba/jai.vim', - use { "johmsalas/text-case.nvim", - config = function() - require('textcase').setup {} - end - } + 'johmsalas/text-case.nvim', -- integer base conversions - use { - "glts/vim-radical", - requires = { - { "glts/vim-magnum" }, - } - } + 'glts/vim-radical', + 'glts/vim-magnum', - use 'tpope/vim-dadbod' -- SQL - use 'nanotee/sqls.nvim' + -- SQL + 'tpope/vim-dadbod', + 'nanotee/sqls.nvim', - use 'rmagatti/auto-session' + 'rmagatti/auto-session', -- auto close delimiters because lazy - use 'm4xshen/autoclose.nvim' + 'm4xshen/autoclose.nvim', - use 'mg979/vim-visual-multi' -end) + 'mg979/vim-visual-multi', +}) |
