Switch up statusline plugin
This commit is contained in:
parent
cd767afa32
commit
a4b3d67216
@ -1,9 +1,20 @@
|
||||
return {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = {
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
},
|
||||
-- config = function()
|
||||
-- require('lualine').setup()
|
||||
-- end
|
||||
'ojroques/nvim-hardline',
|
||||
config = function()
|
||||
require('hardline').setup({
|
||||
sections = {
|
||||
{ class = 'mode', item = require('hardline.parts.mode').get_item },
|
||||
-- { class = 'high', item = require('hardline.parts.git').get_item, hide = 100 },
|
||||
{ class = 'med', item = require('hardline.parts.filename').get_item },
|
||||
'%<',
|
||||
{ class = 'med', item = '%=' },
|
||||
{ class = 'low', item = require('hardline.parts.wordcount').get_item, hide = 100 },
|
||||
{ class = 'error', item = require('hardline.parts.lsp').get_error },
|
||||
{ class = 'warning', item = require('hardline.parts.lsp').get_warning },
|
||||
{ class = 'warning', item = require('hardline.parts.whitespace').get_item },
|
||||
{ class = 'high', item = require('hardline.parts.filetype').get_item, hide = 60 },
|
||||
{ class = 'mode', item = require('hardline.parts.line').get_item },
|
||||
}
|
||||
})
|
||||
end
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user