mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-22 01:03:00 +00:00
feat(nvim): Use toggleterm instead of floaterm
* Light scheme to rose-pine
This commit is contained in:
parent
59cd198cfc
commit
5684ceaf0c
5 changed files with 66 additions and 35 deletions
|
|
@ -1,3 +1,11 @@
|
|||
local function get_highlight()
|
||||
if vim.g.colors_name == "catppuccin" then
|
||||
return require("catppuccin.groups.integrations.bufferline").get()
|
||||
elseif vim.g.colors_name == "rose-pine" then
|
||||
return require("rose-pine.plugins.bufferline")
|
||||
end
|
||||
end
|
||||
|
||||
return {
|
||||
"akinsho/bufferline.nvim",
|
||||
dependencies = "nvim-tree/nvim-web-devicons", -- 图标支持
|
||||
|
|
@ -42,6 +50,6 @@ return {
|
|||
},
|
||||
separator_style = "thin",
|
||||
},
|
||||
highlights = require("catppuccin.groups.integrations.bufferline").get(),
|
||||
highlights = get_highlight(),
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue