mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
fix: failing colorscheme plugins on first load
This commit is contained in:
9
nvim/after/plugin/catppuccin.lua
Normal file
9
nvim/after/plugin/catppuccin.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
-- Catppuccin Theme – https://github.com/catppuccin/catppuccin
|
||||
local status_ok, catppucin = pcall(require, "catppuccin")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
vim.g.catppuccin_flavour = "mocha" -- latte, frappe, macchiato, mocha
|
||||
|
||||
require("catppuccin").setup()
|
||||
@@ -9,14 +9,8 @@ if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
-- Catppuccin Theme
|
||||
vim.g.catppuccin_flavour = "mocha" -- latte, frappe, macchiato, mocha
|
||||
require("catppuccin").setup()
|
||||
|
||||
-- Set colorscheme and additional colors
|
||||
vim.cmd([[
|
||||
colorscheme tokyonight-night
|
||||
|
||||
silent! colorscheme tokyonight-night
|
||||
highlight ColorColumn guibg=#202224
|
||||
highlight SpellBad guifg=red
|
||||
]])
|
||||
|
||||
Reference in New Issue
Block a user