init: public
This commit is contained in:
31
modules/coding/editor/neovim/nvim/lua/plugins/bufferline.lua
Normal file
31
modules/coding/editor/neovim/nvim/lua/plugins/bufferline.lua
Normal file
@@ -0,0 +1,31 @@
|
||||
local buf_kill = require("core.globals").buf_kill
|
||||
|
||||
M = {
|
||||
highlights = {
|
||||
buffer_selected = {
|
||||
bold = true
|
||||
}
|
||||
},
|
||||
options = {
|
||||
diagnostics = "nvim_lsp",
|
||||
offsets = {
|
||||
{
|
||||
filetype = "NvimTree",
|
||||
text = "File Explorer",
|
||||
highlight = "Directory",
|
||||
text_align = "center"
|
||||
},
|
||||
},
|
||||
close_command = function (bufnr)
|
||||
buf_kill("bd", bufnr, false)
|
||||
end,
|
||||
right_mouse_command = function (bufnr)
|
||||
buf_kill("bd", bufnr, true)
|
||||
end
|
||||
}
|
||||
}
|
||||
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user