From 948675d76105cfaa0d07960d0c0cfbfd76feee18 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Thu, 26 Oct 2023 12:11:49 -0400 Subject: [PATCH] Fix theme.lua dracula-pro.nvim source --- chezmoi/private_dot_config/nvim/lazy-lock.json | 1 + .../nvim/lua/plugins/bufferline.lua | 9 +++++++++ .../nvim/lua/plugins/statusline.lua | 16 ++++++++++++++++ .../nvim/lua/plugins/theme.lua | 2 +- 4 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 chezmoi/private_dot_config/nvim/lua/plugins/bufferline.lua create mode 100644 chezmoi/private_dot_config/nvim/lua/plugins/statusline.lua diff --git a/chezmoi/private_dot_config/nvim/lazy-lock.json b/chezmoi/private_dot_config/nvim/lazy-lock.json index c49745d..72b1497 100644 --- a/chezmoi/private_dot_config/nvim/lazy-lock.json +++ b/chezmoi/private_dot_config/nvim/lazy-lock.json @@ -1,5 +1,6 @@ { "bufferline.nvim": { "branch": "main", "commit": "243893ba9d5d1049dd451a25cab32ec7f8f67bcf" }, + "dracula-pro.nvim": { "branch": "main", "commit": "83d6571c6cb4fd4164888777c254d3e26dc8f18e" }, "dracula.nvim": { "branch": "master", "commit": "2f396b6ba988ad4b3961c2e40d1b9ae436b8c26c" }, "fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" }, "gitsigns.nvim": { "branch": "main", "commit": "5a9a6ac29a7805c4783cda21b80a1e361964b3f2" }, diff --git a/chezmoi/private_dot_config/nvim/lua/plugins/bufferline.lua b/chezmoi/private_dot_config/nvim/lua/plugins/bufferline.lua new file mode 100644 index 0000000..134d1b9 --- /dev/null +++ b/chezmoi/private_dot_config/nvim/lua/plugins/bufferline.lua @@ -0,0 +1,9 @@ +-- See current buffers at the top of the editor +return { + { + "akinsho/bufferline.nvim", + version = "v3.*", + dependencies = "nvim-tree/nvim-web-devicons", + opts = {}, + }, +} diff --git a/chezmoi/private_dot_config/nvim/lua/plugins/statusline.lua b/chezmoi/private_dot_config/nvim/lua/plugins/statusline.lua new file mode 100644 index 0000000..89b7d73 --- /dev/null +++ b/chezmoi/private_dot_config/nvim/lua/plugins/statusline.lua @@ -0,0 +1,16 @@ +-- Fancier statusline +return { + "nvim-lualine/lualine.nvim", + config = function() + local colorscheme = require("helpers.colorscheme") + local lualine_theme = colorscheme == "default" and "auto" or colorscheme + require("lualine").setup({ + options = { + icons_enabled = true, + theme = lualine_theme, + component_separators = "|", + section_separators = "", + }, + }) + end, +} diff --git a/chezmoi/private_dot_config/nvim/lua/plugins/theme.lua b/chezmoi/private_dot_config/nvim/lua/plugins/theme.lua index abd4182..9411bdf 100644 --- a/chezmoi/private_dot_config/nvim/lua/plugins/theme.lua +++ b/chezmoi/private_dot_config/nvim/lua/plugins/theme.lua @@ -26,7 +26,7 @@ return { end, dependencies = { { - dir = "/Users/tony.blyler/repos/dracula-pro.nvim", + url = "git@git.0xdad.com:tblyler/dracula-pro.nvim.git", }, }, },