diff options
Diffstat (limited to 'lua/plugins')
-rw-r--r-- | lua/plugins/colorscheme.lua | 8 | ||||
-rw-r--r-- | lua/plugins/init.lua | 28 | ||||
-rw-r--r-- | lua/plugins/lualine.lua | 11 | ||||
-rw-r--r-- | lua/plugins/neo-tree.lua | 19 |
4 files changed, 38 insertions, 28 deletions
diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua new file mode 100644 index 0000000..c1d9a11 --- /dev/null +++ b/lua/plugins/colorscheme.lua @@ -0,0 +1,8 @@ +return { + 'navarasu/onedark.nvim', + name = 'colorscheme', + priority = 1000, + config = function() + vim.cmd.colorscheme 'onedark' + end, +} diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index f89ea0a..b9f4cbb 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -1,7 +1,3 @@ --- You can add your own plugins here or in other files in this directory! --- I promise not to create any merge conflicts in this directory :) --- --- See the kickstart.nvim README for more information return { -- Git related plugins 'tpope/vim-fugitive', @@ -66,28 +62,6 @@ return { }, { - -- Theme inspired by Atom - 'navarasu/onedark.nvim', - priority = 1000, - config = function() - vim.cmd.colorscheme 'onedark' - end, - }, - - { - -- Set lualine as statusline - 'nvim-lualine/lualine.nvim', - opts = { - options = { - icons_enabled = false, - theme = 'onedark', - component_separators = '|', - section_separators = '', - }, - }, - }, - - { -- Add indentation guides even on blank lines 'lukas-reineke/indent-blankline.nvim', -- Enable `lukas-reineke/indent-blankline.nvim` @@ -121,5 +95,3 @@ return { build = ':TSUpdate', }, } - --- vim: ts=2 sts=2 sw=2 et diff --git a/lua/plugins/lualine.lua b/lua/plugins/lualine.lua new file mode 100644 index 0000000..350777d --- /dev/null +++ b/lua/plugins/lualine.lua @@ -0,0 +1,11 @@ +return { + 'nvim-lualine/lualine.nvim', + opts = { + options = { + icons_enabled = false, + theme = 'colorscheme', + component_separators = '|', + section_separators = '', + }, + }, +} diff --git a/lua/plugins/neo-tree.lua b/lua/plugins/neo-tree.lua new file mode 100644 index 0000000..16d69c8 --- /dev/null +++ b/lua/plugins/neo-tree.lua @@ -0,0 +1,19 @@ +return { + "nvim-neo-tree/neo-tree.nvim", + cmd = "Neotree", + version = "*", + keys = { + { "<leader>nt", "<CMD>Neotree toggle<CR>", desc = "Toggle [N]eo[t]ree" }, + }, + dependencies = { + "nvim-lua/plenary.nvim", + "MunifTanjim/nui.nvim", + "nvim-tree/nvim-web-devicons", + }, + opts = { + filesystem = { + follow_current_file = true, + hijack_netrw_behavior = "open_current", + }, + }, +} |