2023-10-18 16:05:38 +00:00
|
|
|
return require('lazy').setup({
|
2023-06-06 18:53:32 +00:00
|
|
|
-- theme
|
|
|
|
-- use {'morhetz/gruvbox', config = function() vim.cmd.colorscheme("gruvbox") end }
|
2023-10-18 16:05:38 +00:00
|
|
|
{'luisiacc/gruvbox-baby', config = function() vim.cmd.colorscheme("gruvbox-baby") end },
|
2023-06-06 18:53:32 +00:00
|
|
|
-- use 'drewtempelmeyer/palenight.vim'
|
2023-10-18 16:05:38 +00:00
|
|
|
{ 'stevedylandev/flexoki-nvim', as = 'flexoki', config = function() vim.cmd.colorscheme("flexoki") end, enabled = false },
|
|
|
|
|
|
|
|
-- utility plugins
|
|
|
|
{ 'nvim-tree/nvim-web-devicons', lazy = true },
|
|
|
|
{ "nvim-lua/plenary.nvim", lazy = true },
|
|
|
|
|
|
|
|
-- UI
|
|
|
|
{
|
2023-06-06 18:53:32 +00:00
|
|
|
'nvim-lualine/lualine.nvim',
|
2023-10-18 16:05:38 +00:00
|
|
|
dependencies = 'nvim-tree/nvim-web-devicons'
|
|
|
|
},
|
|
|
|
{'akinsho/bufferline.nvim', version = "*", dependencies = 'nvim-tree/nvim-web-devicons' },
|
2023-06-06 18:53:32 +00:00
|
|
|
|
2023-10-18 16:05:38 +00:00
|
|
|
-- commenting and text formatting
|
|
|
|
'scrooloose/nerdcommenter',
|
|
|
|
'sbdchd/neoformat',
|
2023-06-06 18:53:32 +00:00
|
|
|
|
2023-10-18 16:05:38 +00:00
|
|
|
-- directory editing
|
|
|
|
{
|
2023-06-06 19:07:19 +00:00
|
|
|
'stevearc/oil.nvim',
|
2023-10-18 16:05:38 +00:00
|
|
|
dependencies = 'nvim-tree/nvim-web-devicons',
|
2023-06-06 19:07:19 +00:00
|
|
|
config = function() require('oil').setup() end
|
2023-10-18 16:05:38 +00:00
|
|
|
},
|
2023-06-06 19:07:19 +00:00
|
|
|
|
2023-06-06 18:53:32 +00:00
|
|
|
-- fuzzy file finder
|
2023-10-18 16:05:38 +00:00
|
|
|
{ 'junegunn/fzf', build = function() vim.fn['fzf#install'](0) end },
|
|
|
|
'junegunn/fzf.vim',
|
2023-06-06 18:53:32 +00:00
|
|
|
|
2023-10-18 16:05:38 +00:00
|
|
|
-- On-demand loading for languages
|
|
|
|
{ 'rust-lang/rust.vim', ft = "rust" },
|
|
|
|
{ 'cespare/vim-toml', ft = "toml" },
|
2023-06-06 18:53:32 +00:00
|
|
|
-- use 'keith/swift.vim'
|
|
|
|
-- use 'neovimhaskell/haskell-vim'
|
2023-10-18 16:05:38 +00:00
|
|
|
{ 'Civitasv/cmake-tools.nvim', dependencies = "nvim-lua/plenary.nvim" },
|
|
|
|
{ 'anekos/hledger-vim' },
|
2023-06-06 18:53:32 +00:00
|
|
|
|
2023-10-18 16:05:38 +00:00
|
|
|
-- Treesitter
|
|
|
|
{ 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate' },
|
2023-06-06 18:53:32 +00:00
|
|
|
|
|
|
|
-- LSP plugins
|
2023-10-18 16:05:38 +00:00
|
|
|
'neovim/nvim-lspconfig',
|
|
|
|
'p00f/clangd_extensions.nvim',
|
|
|
|
'hrsh7th/cmp-nvim-lsp',
|
|
|
|
'hrsh7th/cmp-buffer',
|
|
|
|
'hrsh7th/cmp-path',
|
|
|
|
'hrsh7th/cmp-cmdline',
|
|
|
|
'hrsh7th/nvim-cmp',
|
|
|
|
'hrsh7th/cmp-nvim-lsp-signature-help',
|
2023-06-06 18:53:32 +00:00
|
|
|
-- snippet engine
|
2023-10-18 16:05:38 +00:00
|
|
|
'hrsh7th/vim-vsnip',
|
|
|
|
|
|
|
|
'tpope/vim-fugitive',
|
|
|
|
'lervag/vimtex',
|
|
|
|
'editorconfig/editorconfig-vim',
|
|
|
|
'LnL7/vim-nix'
|
|
|
|
|
|
|
|
-- 'xevz/vim-squirrel'
|
|
|
|
})
|