Skip to content

Commit b94e53a

Browse files
committed
turn on catppuccin nvim tree root dir color
1 parent 2fbc7bd commit b94e53a

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

nvim/lua/user/colorscheme.lua

+12-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
-- load themes config
2+
require ("user.themes.github-nvim-theme")
3+
require ("user.themes.onedark")
4+
require ("user.themes.catppuccin")
5+
16
-- cursor color: #61AFEF
2-
-- local colorscheme = "catppuccin"
7+
local colorscheme = "catppuccin"
38
-- local colorscheme = "darkplus"
4-
local colorscheme = "github_light"
9+
-- local colorscheme = "github_light"
510
-- require "user.conf.github-nvim-theme"
611

712
local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
@@ -10,8 +15,8 @@ if not status_ok then
1015
return
1116
end
1217

13-
if colorscheme == "onedark" then
14-
require "user.themes.onedark"
15-
elseif colorscheme == "catppuccin" then
16-
require "user.themes.catppuccin"
17-
end
18+
-- if colorscheme == "onedark" then
19+
-- require "user.themes.onedark"
20+
-- elseif colorscheme == "catppuccin" then
21+
-- require "user.themes.catppuccin"
22+
-- end

nvim/lua/user/plugins.lua

-3
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ return packer.startup(function(use)
221221
-- use "navarasu/onedark.nvim"
222222
use({
223223
"catppuccin/nvim",
224-
as = "catppuccin"
225224
})
226225
use {
227226
"projekt0n/github-nvim-theme",
@@ -291,8 +290,6 @@ return packer.startup(function(use)
291290
use "Pocco81/AutoSave.nvim"
292291
use "djoshea/vim-autoread"
293292
-- use "chipsenkbeil/distant.nvim"
294-
295-
296293

297294
-- Automatically set up your configuration after cloning packer.nvim
298295
-- Put this at the end after all plugins

nvim/lua/user/themes/catppuccin.lua

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
local status_ok, catppuccin = pcall(require, "catppuccin")
22
if not status_ok then
3+
vim.notify("catppuccin not found")
34
return
45
end
56

@@ -10,7 +11,7 @@ catppuccin.setup(
1011
styles = { -- TODO: style setting doesn't work
1112
comments = "underline",
1213
functions = "bold",
13-
keywords = "NONE",
14+
keywords = "italic",
1415
strings = "underline",
1516
variables = "NONE",
1617
},
@@ -39,7 +40,7 @@ catppuccin.setup(
3940
telescope = true,
4041
nvimtree = {
4142
enabled = true,
42-
show_root = false,
43+
show_root = true,
4344
transparent_panel = false,
4445
},
4546
neotree = {

0 commit comments

Comments
 (0)