mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
bugfixes
This commit is contained in:
parent
b0cd1f6bb8
commit
4ceceff9bf
7 changed files with 22 additions and 30 deletions
|
|
@ -1,7 +1,7 @@
|
|||
return {
|
||||
{
|
||||
'echasnovski/mini.nvim',
|
||||
event = "VeryLazy",
|
||||
lazy = false,
|
||||
config = function()
|
||||
require('mini.ai').setup()
|
||||
require('mini.comment').setup()
|
||||
|
|
@ -28,6 +28,7 @@ return {
|
|||
return summary
|
||||
end
|
||||
local diagnostics = MiniStatusline.section_diagnostics { trunc_width = 75 }
|
||||
local lsp = MiniStatusline.section_lsp { trunc_width = 75 }
|
||||
local filename = MiniStatusline.section_filename { trunc_width = 140 }
|
||||
local search = MiniStatusline.section_searchcount { trunc_width = 75 }
|
||||
|
||||
|
|
@ -36,7 +37,7 @@ return {
|
|||
'%<', -- Mark general truncate point
|
||||
{ hl = 'MiniStatuslineFilename', strings = { filename } },
|
||||
'%=', -- End left alignment
|
||||
{ hl = 'MiniStatusDevinfo', strings = { git(), diff(), diagnostics } },
|
||||
{ hl = 'MiniStatusDevinfo', strings = { git(), diff(), diagnostics, lsp} },
|
||||
{ hl = mode_hl, strings = { search } },
|
||||
}
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue