diff options
author | Hunt <lizhunt@amazon.com> | 2025-06-07 17:23:25 -0700 |
---|---|---|
committer | Hunt <lizhunt@amazon.com> | 2025-06-07 17:23:25 -0700 |
commit | fe6a59ea558971a2c3e532e922b4fc4232bc1719 (patch) | |
tree | 0372373802692c54da133fb6448b7abb6dc522ce /dots/nvim/.config | |
parent | da1dbddd46cac345116488cd38d42d7502522465 (diff) | |
download | dotfiles-fe6a59ea558971a2c3e532e922b4fc4232bc1719.tar.gz dotfiles-fe6a59ea558971a2c3e532e922b4fc4232bc1719.zip |
Add emacs config
Diffstat (limited to 'dots/nvim/.config')
-rw-r--r-- | dots/nvim/.config/nvim/lua/plugins/lualine.lua | 34 | ||||
-rw-r--r-- | dots/nvim/.config/nvim/lua/plugins/lualine.lua.j2 | 35 | ||||
-rw-r--r-- | dots/nvim/.config/nvim/lua/plugins/theme.lua | 9 | ||||
-rw-r--r-- | dots/nvim/.config/nvim/lua/plugins/theme.lua.j2 | 24 |
4 files changed, 59 insertions, 43 deletions
diff --git a/dots/nvim/.config/nvim/lua/plugins/lualine.lua b/dots/nvim/.config/nvim/lua/plugins/lualine.lua deleted file mode 100644 index a5c341d..0000000 --- a/dots/nvim/.config/nvim/lua/plugins/lualine.lua +++ /dev/null @@ -1,34 +0,0 @@ -return { - { - 'nvim-lualine/lualine.nvim', - event = 'VeryLazy', - opts = function() - return { - options = { - icons_enabled = true, - theme = 'gruvbox', - component_separators = { left = '', right = ''}, - section_separators = { left = '', right = ''}, - }, - sections = { - lualine_c = { - { 'filename', path = 1 }, - }, - lualine_y = { - { - require('tmux-status').tmux_windows, - cond = require('tmux-status').show, - padding = { left = 1, right = 1 }, - }, - } - }, - } - end, - }, - { - "christopher-francisco/tmux-status.nvim", --- lazy = true, - opts = {}, - }, -} - diff --git a/dots/nvim/.config/nvim/lua/plugins/lualine.lua.j2 b/dots/nvim/.config/nvim/lua/plugins/lualine.lua.j2 new file mode 100644 index 0000000..dd44249 --- /dev/null +++ b/dots/nvim/.config/nvim/lua/plugins/lualine.lua.j2 @@ -0,0 +1,35 @@ +return { + { + 'nvim-lualine/lualine.nvim', + event = 'VeryLazy', + opts = function() + return { + options = { + icons_enabled = true, + theme = '{{ theme.nvim.lualine_theme }}', + component_separators = { left = '', right = ''}, + section_separators = { left = '', right = ''}, + }, + sections = { + lualine_c = { + { 'filename', path = 1 }, + }, + lualine_y = { + { + require('tmux-status').tmux_windows, + cond = require('tmux-status').show, + padding = { left = 1, right = 1 }, + }, + } + }, + } + end, + }, + + { + "christopher-francisco/tmux-status.nvim", + -- lazy = true, + opts = {}, + }, +} + diff --git a/dots/nvim/.config/nvim/lua/plugins/theme.lua b/dots/nvim/.config/nvim/lua/plugins/theme.lua deleted file mode 100644 index 7f53fa8..0000000 --- a/dots/nvim/.config/nvim/lua/plugins/theme.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - "ellisonleao/gruvbox.nvim", - opts = { - transparent_mode = true, - }, - init = function() - vim.cmd("colorscheme gruvbox") - end -} diff --git a/dots/nvim/.config/nvim/lua/plugins/theme.lua.j2 b/dots/nvim/.config/nvim/lua/plugins/theme.lua.j2 new file mode 100644 index 0000000..dd47aee --- /dev/null +++ b/dots/nvim/.config/nvim/lua/plugins/theme.lua.j2 @@ -0,0 +1,24 @@ +return { + { + "ellisonleao/gruvbox.nvim", + opts = { + transparent_mode = true, + } + }, + + { + "f-person/auto-dark-mode.nvim", + opts = { + set_dark_mode = function() + vim.api.nvim_set_option_value("background", "dark", {}) + vim.cmd("colorscheme {{ theme.nvim.dark_colorscheme }}") + end, + set_light_mode = function() + vim.api.nvim_set_option_value("background", "light", {}) + vim.cmd("colorscheme {{ theme.nvim.light_colorscheme }}") + end, + update_interval = 3000, + fallback = "dark" + } + }, +} |