diff options
| author | Alec Goncharow <algo@cloudflare.com> | 2023-02-24 23:20:34 -0600 |
|---|---|---|
| committer | Alec Goncharow <algo@cloudflare.com> | 2023-02-24 23:20:34 -0600 |
| commit | 0c446121ba1f1653a0d984068209429e8cc453fb (patch) | |
| tree | bc04e8bb2a985e5cb4f7b15c1e4d8962b2c4b000 /.config/nvim/lua/plugins.lua | |
| parent | d3aeb8f7d8d9b4352e7b827a361d1da11cb6cf04 (diff) | |
out of the frying pan
into the fire
Diffstat (limited to '.config/nvim/lua/plugins.lua')
| -rw-r--r-- | .config/nvim/lua/plugins.lua | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua new file mode 100644 index 0000000..165139e --- /dev/null +++ b/.config/nvim/lua/plugins.lua @@ -0,0 +1,78 @@ +-- 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 'psliwka/vim-smoothie' + use 'edkolev/tmuxline.vim' + use 'romainl/vim-cool' + + -- common + use 'tpope/vim-fugitive' -- Git commands + use { + 'nvim-lualine/lualine.nvim', + requires = { 'kyazdani42/nvim-web-devicons', opt = true } + } + use 'rhysd/vim-grammarous' -- grammar check + use 'andymass/vim-matchup' -- matching parens and more + use 'rhysd/git-messenger.vim' + + + -- better quickfix buffer + use {'kevinhwang91/nvim-bqf', + ft = 'qf', + config = function() + require("bqf").setup { + -- your configuration comes here + -- or leave it empty to use the default settings + -- refer to the configuration section below + } + end + } + + + -- general dev + use 'neovim/nvim-lspconfig' + use 'kabouzeid/nvim-lspinstall' + use 'glepnir/lspsaga.nvim' + 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 'L3MON4D3/LuaSnip' + use { 'nvim-treesitter/nvim-treesitter', run = ':TSUpdate' } + use 'scrooloose/nerdcommenter' -- commenting shortcuts + use { + "folke/which-key.nvim", + config = function() + vim.o.timeout = true + vim.o.timeoutlen = 300 + require("which-key").setup { + -- your configuration comes here + -- or leave it empty to use the default settings + -- refer to the configuration section below + } + end +} + + -- search + use { 'nvim-telescope/telescope.nvim', requires = {{'nvim-lua/popup.nvim'}, {'nvim-lua/plenary.nvim'}} } + use 'tpope/vim-eunuch' -- wrappers UNIX commands + use 'tpope/vim-surround' -- surround characters shortcuts + use 'tpope/vim-vinegar' -- file browser + use 'kyazdani42/nvim-web-devicons' -- icons when searching + + -- go + use 'fatih/vim-go' + + -- rust + use 'rust-lang/rust.vim' + use 'simrat39/rust-tools.nvim' + + -- debugging + use 'nvim-lua/plenary.nvim' + use 'mfussenegger/nvim-dap' +end) |
