summaryrefslogtreecommitdiff
path: root/config/plugin/bufferline.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/plugin/bufferline.lua')
-rw-r--r--config/plugin/bufferline.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/config/plugin/bufferline.lua b/config/plugin/bufferline.lua
new file mode 100644
index 0000000..f6e68ef
--- /dev/null
+++ b/config/plugin/bufferline.lua
@@ -0,0 +1,25 @@
+if vim.g.did_load_bufferline_plugin then
+ return
+end
+vim.g.did_load_bufferline_plugin = true
+
+require("bufferline").setup({
+ options = {
+ always_show_bufferline = false,
+
+ diagnostics = "nvim_lsp",
+
+ mode = "buffers",
+ numbers = "ordinal",
+ separator_style = "slant",
+
+ offsets = {
+ {
+ filetype = "neo-tree",
+ text = "neo-tree",
+ highlight = "Directory",
+ text_align = "left",
+ },
+ },
+ },
+})