Add nvim config
This commit is contained in:
parent
b227b7cb19
commit
25a48b5694
48 changed files with 1550 additions and 2 deletions
16
home/.config/nvim/lua/plugins/bufferline.lua
Normal file
16
home/.config/nvim/lua/plugins/bufferline.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
-- Bufferline
|
||||
--- @type LazyPluginSpec
|
||||
return {
|
||||
"akinsho/bufferline.nvim",
|
||||
dependencies = { "kyazdani42/nvim-web-devicons" },
|
||||
--- @type BufferlineConfig
|
||||
opts = {
|
||||
options = {
|
||||
diagnostics = "nvim_lsp",
|
||||
diagnostics_indicator = function(count, level)
|
||||
local icon = level:match("error") and " " or " "
|
||||
return " " .. icon .. count
|
||||
end,
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue