Add nvim config

This commit is contained in:
Marko Korhonen 2024-09-16 20:40:42 +03:00
parent b227b7cb19
commit 25a48b5694
48 changed files with 1550 additions and 2 deletions

View 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,
},
},
}