diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-03 00:02:49 +0200 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-03 00:32:10 +0200 |
commit | 88fce742fea734e6ad9fd3716e3f64161138926b (patch) | |
tree | 57e40051432a12b9a6372df110fc7e190642a5ff /.config/nvim/lua/plugins.lua | |
parent | 0e19499ddeb4ac32ef208aae658214b41148cd6c (diff) |
nvim: bufferline, nvim-tree, lsp, telescope, lualine
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-rw-r--r-- | .config/nvim/lua/plugins.lua | 39 |
1 files changed, 27 insertions, 12 deletions
diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 1a2c5c3..e5aacb7 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -42,8 +42,24 @@ local plugins = { }, { + "akinsho/bufferline.nvim", + after = "nvim-web-devicons", + config = function() + require "setup.bufferline" + end, + }, + + { + "kyazdani42/nvim-tree.lua", + cmd = { "NvimTreeToggle", "NvimTreeFindFile" }, + config = function() + require "setup.nvim-tree" + end, + }, + + { "lukas-reineke/indent-blankline.nvim", - event = { "BufRead" , "BufNewFile" }, + event = { "BufRead", "BufNewFile" }, config = function() require "setup.indent-blankline" end, @@ -51,7 +67,7 @@ local plugins = { { "nvim-treesitter/nvim-treesitter", - event = { "BufRead" , "BufNewFile" }, + event = { "BufRead", "BufNewFile" }, config = function() require "setup.nvim-treesitter" end, @@ -60,7 +76,7 @@ local plugins = { { "lewis6991/gitsigns.nvim", - event = { "BufRead" , "BufNewFile" }, + event = { "BufRead", "BufNewFile" }, wants = "plenary.nvim", config = function() require('gitsigns').setup() @@ -71,14 +87,14 @@ local plugins = { { "neovim/nvim-lspconfig", - event = { "BufRead" , "BufNewFile" }, + event = { "BufRead", "BufNewFile" }, }, { "williamboman/nvim-lsp-installer", after = "nvim-lspconfig", config = function() - require "setup.nvim-lsp-installer" + require "setup.lspconfig" end, }, @@ -128,18 +144,18 @@ local plugins = { "windwp/nvim-autopairs", after = "nvim-cmp", config = function() - require('nvim-autopairs').setup{} + require('nvim-autopairs').setup {} end, }, { "tpope/vim-surround", - event = { "BufRead" , "BufNewFile" }, + event = { "BufRead", "BufNewFile" }, }, { "b3nj5m1n/kommentary", - event = { "BufRead" , "BufNewFile" }, + event = { "BufRead", "BufNewFile" }, config = function() require "setup.kommentary" end, @@ -175,10 +191,9 @@ local plugins = { { 'iamcco/markdown-preview.nvim', - cmd = { "MarkdownPreview" }, - ft = {'markdown'}, - run = function() - vim.fn['mkdp#util#install']() + ft = "markdown", + run = function() + vim.fn['mkdp#util#install']() end, }, } |