aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-rw-r--r--.config/nvim/lua/plugins.lua78
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)