summaryrefslogtreecommitdiff
path: root/nvim/after/plugin/bufferline.lua
diff options
context:
space:
mode:
authorottjk <joshott16@gmail.com>2023-12-30 19:23:04 -0500
committerottjk <joshott16@gmail.com>2023-12-30 19:23:04 -0500
commited46f1c5e82709417085b1a3b7708b209c5f4bfe (patch)
treed7eb3f2b4b00e75e5f10199e1cbff959c355b312 /nvim/after/plugin/bufferline.lua
downloaddotfiles-ed46f1c5e82709417085b1a3b7708b209c5f4bfe.tar.gz
dotfiles-ed46f1c5e82709417085b1a3b7708b209c5f4bfe.zip
initial commit
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'}
+ },
+ }
+})