diff options
Diffstat (limited to 'neovim/.config/nvim/lua')
| -rw-r--r-- | neovim/.config/nvim/lua/config/lazy.lua | 2 | ||||
| -rw-r--r-- | neovim/.config/nvim/lua/plugins/colorscheme.lua | 13 | ||||
| -rw-r--r-- | neovim/.config/nvim/lua/plugins/statusline.lua | 2 |
3 files changed, 5 insertions, 12 deletions
diff --git a/neovim/.config/nvim/lua/config/lazy.lua b/neovim/.config/nvim/lua/config/lazy.lua index 5a645c1..59c672e 100644 --- a/neovim/.config/nvim/lua/config/lazy.lua +++ b/neovim/.config/nvim/lua/config/lazy.lua | |||
| @@ -12,6 +12,6 @@ end | |||
| 12 | vim.opt.rtp:prepend(lazypath) | 12 | vim.opt.rtp:prepend(lazypath) |
| 13 | 13 | ||
| 14 | require("lazy").setup("plugins", { | 14 | require("lazy").setup("plugins", { |
| 15 | install = { colorscheme = { "janah", "desert" } }, | 15 | install = { colorscheme = { "monokai-pro", "desert" } }, |
| 16 | checker = { enabled = false }, | 16 | checker = { enabled = false }, |
| 17 | }) | 17 | }) |
diff --git a/neovim/.config/nvim/lua/plugins/colorscheme.lua b/neovim/.config/nvim/lua/plugins/colorscheme.lua index 0349cf9..6892cba 100644 --- a/neovim/.config/nvim/lua/plugins/colorscheme.lua +++ b/neovim/.config/nvim/lua/plugins/colorscheme.lua | |||
| @@ -1,19 +1,12 @@ | |||
| 1 | return { | 1 | return { |
| 2 | "mhinz/vim-janah", | 2 | "loctvl842/monokai-pro.nvim", |
| 3 | lazy = false, | 3 | lazy = false, |
| 4 | priority = 1000, | 4 | priority = 1000, |
| 5 | config = function() | 5 | config = function() |
| 6 | local ok = pcall(vim.cmd.colorscheme, "janah") | 6 | require("monokai-pro").setup() |
| 7 | local ok = pcall(vim.cmd.colorscheme, "monokai-pro") | ||
| 7 | if not ok then | 8 | if not ok then |
| 8 | vim.cmd.colorscheme("desert") | 9 | vim.cmd.colorscheme("desert") |
| 9 | return | ||
| 10 | end | 10 | end |
| 11 | |||
| 12 | -- vim-janah predates floating windows and never defines NormalFloat/ | ||
| 13 | -- FloatBorder, so they fall back to Neovim's near-black default and any | ||
| 14 | -- floating UI (:Mason, :Lazy, which-key's popup, ...) renders as a | ||
| 15 | -- mismatched black box. Match them to janah's own Normal/Comment colors. | ||
| 16 | vim.api.nvim_set_hl(0, "NormalFloat", { bg = "#262626", fg = "#dadada" }) | ||
| 17 | vim.api.nvim_set_hl(0, "FloatBorder", { bg = "#262626", fg = "#585858" }) | ||
| 18 | end, | 11 | end, |
| 19 | } | 12 | } |
diff --git a/neovim/.config/nvim/lua/plugins/statusline.lua b/neovim/.config/nvim/lua/plugins/statusline.lua index 6cb2412..0096c0f 100644 --- a/neovim/.config/nvim/lua/plugins/statusline.lua +++ b/neovim/.config/nvim/lua/plugins/statusline.lua | |||
| @@ -4,7 +4,7 @@ return { | |||
| 4 | opts = { | 4 | opts = { |
| 5 | refresh = { statusline = 1000 }, | 5 | refresh = { statusline = 1000 }, |
| 6 | sections = { | 6 | sections = { |
| 7 | lualine_a = { "mode", { function() return os.date("%H:%M") end } }, | 7 | lualine_z = { "location", { function() return os.date("%H:%M") end } }, |
| 8 | }, | 8 | }, |
| 9 | }, | 9 | }, |
| 10 | } | 10 | } |
