diff options
Diffstat (limited to 'Common/nvim/lua/plugins.lua')
-rwxr-xr-x[-rw-r--r--] | Common/nvim/lua/plugins.lua | 51 |
1 files changed, 49 insertions, 2 deletions
diff --git a/Common/nvim/lua/plugins.lua b/Common/nvim/lua/plugins.lua index 43f63a7..4161b4f 100644..100755 --- a/Common/nvim/lua/plugins.lua +++ b/Common/nvim/lua/plugins.lua @@ -14,8 +14,54 @@ vim.cmd([[ ]]) return require('packer').startup(function(use) - use 'neovim/nvim-lspconfig' -- Easy LSP configuration - use 'kabouzeid/nvim-lspinstall' -- Install LSP servers on demand with :LSPInstall <name_of_language> + use 'wbthomason/packer.nvim' + use 'lewis6991/gitsigns.nvim' + --use {'tjdevries/colorbuddy.vim', {'nvim-treesitter/nvim-treesitter', opt = true}} + use 'preservim/tagbar' + use { + 'tpope/vim-dadbod', + config = function() + vim.cmd [[ + xnoremap <expr> <Plug>(DBExe) db#op_exec() + nnoremap <expr> <Plug>(DBExe) db#op_exec() + nnoremap <expr> <Plug>(DBExeLine) db#op_exec() . '_' + + xmap <leader>db <Plug>(DBExe) + nmap <leader>db <Plug>(DBExe) + omap <leader>db <Plug>(DBExe) + nmap <leader>dbb <Plug>(DBExeLine) + + autocmd FileType dbout setlocal nofoldenable + + if !empty(glob("~/.env.vim")) + source ~/.env.vim + endif + ]] + end, + } + use { + 'nvim-lualine/lualine.nvim', + requires = { 'kyazdani42/nvim-web-devicons', opt = true } + } + use { + 'kyazdani42/nvim-tree.lua', + requires = { 'kyazdani42/nvim-web-devicons' }, + tag = 'nightly' -- optional, updated every week. (see issue #1193) + } + use 'christoomey/vim-tmux-navigator' + use { + 'ibhagwan/fzf-lua', requires = { 'kyazdani42/nvim-web-devicons' } + } + -- terryma/vim-multiple-cursors + -- preservim/nerdcommenter + + use 'neovim/nvim-lsp' + use 'neovim/nvim-lspconfig' + --use 'kabouzeid/nvim-lspinstall' + use 'williamboman/nvim-lsp-installer' + use 'ms-jpq/coq_nvim' + + use 'mfussenegger/nvim-jdtls' -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins @@ -23,3 +69,4 @@ return require('packer').startup(function(use) require('packer').sync() end end) + |