Skip to content

Commit fbfdb68

Browse files
committed
feat(nvim-theme): change to base16 catppuccin mocha theme
1 parent 7820286 commit fbfdb68

File tree

3 files changed

+24
-4
lines changed

3 files changed

+24
-4
lines changed

.github/scripts/verify-dotfiles.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ FILES=(
2828
"$HOME/.config/nvim/lua/plugins/markdown.lua"
2929
"$HOME/.config/nvim/lua/plugins/mason.lua"
3030
"$HOME/.config/nvim/lua/plugins/snacks.lua"
31+
"$HOME/.config/nvim/lua/plugins/theme.lua"
3132
"$HOME/.config/nvim/lua/plugins/wakatime.lua"
3233
"$HOME/.config/nvim/README.md"
3334
"$HOME/.config/nvim/stylua.toml"
Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,30 @@
1-
-- Autocmds are automatically loaded on the VeryLazy event
1+
-- Autocmds are automatically loaded on the `VeryLazy` event
22
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
33
--
44
-- Add any additional autocmds here
55
-- with `vim.api.nvim_create_autocmd`
66
--
77
-- Or remove existing autocmds by their group name (which is prefixed with `lazyvim_` for the defaults)
8-
-- e.g. vim.api.nvim_del_augroup_by_name("lazyvim_wrap_spell")
8+
-- e.g. `vim.api.nvim_del_augroup_by_name("lazyvim_wrap_spell")`
99

10-
-- Use harper_ls instead
10+
-- Use `harper_ls` instead
1111
vim.api.nvim_del_augroup_by_name("lazyvim_wrap_spell")
1212

13-
-- Use render-markdown.nvim instead
13+
-- Use `render-markdown.nvim` instead
1414
vim.api.nvim_create_autocmd("FileType", {
1515
pattern = { "markdown" },
1616
callback = function()
1717
vim.opt_local.conceallevel = 0
1818
end,
1919
})
20+
21+
-- Apply dank colors theme on startup
22+
vim.api.nvim_create_autocmd("VimEnter", {
23+
callback = function()
24+
local dankcolors_path = vim.fn.stdpath("config") .. "/lua/plugins/dankcolors.lua"
25+
local spec = dofile(dankcolors_path)
26+
if spec and spec[1] and spec[1].config then
27+
spec[1].config()
28+
end
29+
end,
30+
})
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
return {
2+
{
3+
"LazyVim/LazyVim",
4+
opts = {
5+
colorscheme = "base16-catppuccin-mocha",
6+
},
7+
},
8+
}

0 commit comments

Comments
 (0)