From 5ecf844b1f2efbdc86b1653483f17d7ecb39f8ee Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 3 Jun 2023 11:07:10 -0600 Subject: change colorscheme management, use dracula --- lua/plugins/colorscheme.lua | 8 -------- lua/plugins/dracula.lua | 7 +++++++ lua/plugins/lualine.lua | 2 +- lua/plugins/neo-tree.lua | 16 ++++++++-------- 4 files changed, 16 insertions(+), 17 deletions(-) delete mode 100644 lua/plugins/colorscheme.lua create mode 100644 lua/plugins/dracula.lua (limited to 'lua/plugins') diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua deleted file mode 100644 index c1d9a11..0000000 --- a/lua/plugins/colorscheme.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - 'navarasu/onedark.nvim', - name = 'colorscheme', - priority = 1000, - config = function() - vim.cmd.colorscheme 'onedark' - end, -} diff --git a/lua/plugins/dracula.lua b/lua/plugins/dracula.lua new file mode 100644 index 0000000..65f032e --- /dev/null +++ b/lua/plugins/dracula.lua @@ -0,0 +1,7 @@ +return { + 'Mofiqul/dracula.nvim', + priority = 1000, + config = function() + vim.cmd.colorscheme 'dracula' + end, +} diff --git a/lua/plugins/lualine.lua b/lua/plugins/lualine.lua index 350777d..a90a94c 100644 --- a/lua/plugins/lualine.lua +++ b/lua/plugins/lualine.lua @@ -3,7 +3,7 @@ return { opts = { options = { icons_enabled = false, - theme = 'colorscheme', + theme = 'dracula-nvim', component_separators = '|', section_separators = '', }, diff --git a/lua/plugins/neo-tree.lua b/lua/plugins/neo-tree.lua index 16d69c8..e83de80 100644 --- a/lua/plugins/neo-tree.lua +++ b/lua/plugins/neo-tree.lua @@ -1,19 +1,19 @@ return { - "nvim-neo-tree/neo-tree.nvim", - cmd = "Neotree", - version = "*", + 'nvim-neo-tree/neo-tree.nvim', + cmd = 'Neotree', + version = '*', keys = { - { "nt", "Neotree toggle", desc = "Toggle [N]eo[t]ree" }, + { 'nt', 'Neotree toggle', desc = 'Toggle [N]eo[t]ree' }, }, dependencies = { - "nvim-lua/plenary.nvim", - "MunifTanjim/nui.nvim", - "nvim-tree/nvim-web-devicons", + 'nvim-lua/plenary.nvim', + 'MunifTanjim/nui.nvim', + 'nvim-tree/nvim-web-devicons', }, opts = { filesystem = { follow_current_file = true, - hijack_netrw_behavior = "open_current", + hijack_netrw_behavior = 'open_current', }, }, } -- cgit v1.2.3-70-g09d2