Init commit

This commit is contained in:
Archie Fox
2025-07-25 13:09:33 +03:00
commit 7f1d7f48dd
30 changed files with 1469 additions and 0 deletions

25
lua/config/bufferline.lua Normal file
View File

@@ -0,0 +1,25 @@
local bufferline = require("bufferline")
bufferline.setup({
options = {
mode = "buffers", -- set to "tabs" to only show tabpages instead
style_preset = bufferline.style_preset.no_bold, -- or bufferline.style_preset.minimal,
-- separator_style = "slant",
themable = true, -- allows highlight groups to be overriden i.e. sets highlights as default
numbers = "ordinal",
close_command = "bdelete! %d", -- can be a string | function, | false see "Mouse actions"
offsets = {
{
filetype = "neo-tree",
text = "File Explorer",
text_align = "center",
separator = false,
},
},
indicator = {
icon = "", -- this should be omitted if indicator style is not 'icon'
style = "underline",
},
always_show_bufferline = true,
diagnostics = "nvim_lsp",
},
})