95 lines
2.9 KiB
Lua
95 lines
2.9 KiB
Lua
return {
|
|
{
|
|
'nvim-lualine/lualine.nvim',
|
|
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
|
config = function()
|
|
require('lualine').setup {
|
|
options = {
|
|
icons_enabled = true,
|
|
theme = 'auto',
|
|
component_separators = { left = '', right = '' },
|
|
section_separators = { left = '', right = '' },
|
|
disabled_filetypes = {
|
|
statusline = {},
|
|
winbar = {},
|
|
'sagaoutline',
|
|
'neo-tree',
|
|
'neominimap'
|
|
},
|
|
ignore_focus = {},
|
|
always_divide_middle = false,
|
|
globalstatus = false,
|
|
refresh = {
|
|
statusline = 1000,
|
|
tabline = 1000,
|
|
winbar = 1000,
|
|
}
|
|
},
|
|
tabline = {},
|
|
winbar = {},
|
|
inactive_winbar = {},
|
|
extensions = {},
|
|
}
|
|
end
|
|
},
|
|
{
|
|
'akinsho/bufferline.nvim',
|
|
version = "*",
|
|
dependencies = 'nvim-tree/nvim-web-devicons',
|
|
config = function()
|
|
require("bufferline").setup {
|
|
options = {
|
|
diagnostics = "nvim_lsp",
|
|
diagnostics_indicator = function(count, level, diagnostics_dict, context)
|
|
local s = " "
|
|
for e, n in pairs(diagnostics_dict) do
|
|
local sym = e == "error" and " "
|
|
or (e == "warning" and " " or " ")
|
|
s = s .. n .. sym
|
|
end
|
|
return s
|
|
end
|
|
}
|
|
}
|
|
end
|
|
},
|
|
{
|
|
'lewis6991/satellite.nvim'
|
|
},
|
|
{
|
|
'rasulomaroff/reactive.nvim',
|
|
config = function()
|
|
require('reactive').setup {
|
|
builtin = {
|
|
cursorline = true,
|
|
cursor = true,
|
|
modemsg = true
|
|
}
|
|
}
|
|
end
|
|
},
|
|
'nvim-tree/nvim-web-devicons',
|
|
{
|
|
"catgoose/nvim-colorizer.lua",
|
|
event = "BufReadPre",
|
|
opts = { -- set to setup table
|
|
},
|
|
},
|
|
{
|
|
-- Hides the highlight after searching and going into insert mode
|
|
'nvimdev/hlsearch.nvim',
|
|
event = { "BufRead" },
|
|
config = function()
|
|
require('hlsearch').setup()
|
|
end
|
|
},
|
|
{
|
|
"rachartier/tiny-inline-diagnostic.nvim",
|
|
event = "VeryLazy", -- Or `LspAttach`
|
|
priority = 1000, -- needs to be loaded in first
|
|
config = function()
|
|
require('tiny-inline-diagnostic').setup()
|
|
end
|
|
}
|
|
}
|