diff --git a/home-manager/neovim/neovim.lua b/home-manager/neovim/neovim.lua index fe77c97..594e16c 100644 --- a/home-manager/neovim/neovim.lua +++ b/home-manager/neovim/neovim.lua @@ -8,6 +8,7 @@ vim.wo.number = true vim.wo.relativenumber = true vim.wo.cursorline = true vim.opt.termguicolors = true +vim.o.mousemoveevent = true --[ LSPCONFIG ]-- @@ -153,4 +154,18 @@ require('nvim-treesitter.configs').setup { --[ BUFFERLINE ]-- -require("bufferline").setup{} +require("bufferline").setup{ + options = { + diagnostics = 'nvim_lsp', + diagnostics_indicator = function(count, level, diagnostics_dict, context) + local icon = level:match("error") and " " or " " + return " " .. icon .. count + end, + separator_style = "slant", + hover = { + enabled = true, + reveal = {'close'}, + }, + }, +} +require("bufferline").seperator_style = "slanted"