summaryrefslogtreecommitdiff
path: root/nvim/after/plugin/bufferline.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/after/plugin/bufferline.lua')
-rw-r--r--nvim/after/plugin/bufferline.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/nvim/after/plugin/bufferline.lua b/nvim/after/plugin/bufferline.lua
new file mode 100644
index 0000000..53db4f3
--- /dev/null
+++ b/nvim/after/plugin/bufferline.lua
@@ -0,0 +1,22 @@
+vim.cmd.colorscheme "catppuccin"
+vim.opt.termguicolors = true
+
+require("bufferline").setup({
+ options = {
+ offsets = {
+ {
+ filetype = "undotree",
+ text = "Undo Zone",
+ text_align = "center",
+ separator = true
+ }
+ },
+ show_buffer_icons = true, -- disable filetype icons for buffers
+ separator_style = "thick",
+ hover = {
+ enabled = true,
+ delay = 200,
+ reveal = {'close'}
+ },
+ }
+})