mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-02-04 14:52:04 +00:00
Update 24.01.2024
This commit is contained in:
37
lua/plugins/lualine.lua
Normal file
37
lua/plugins/lualine.lua
Normal file
@@ -0,0 +1,37 @@
|
||||
return {
|
||||
"nvim-lualine/lualine.nvim",
|
||||
dependencies = {
|
||||
"arkav/lualine-lsp-progress",
|
||||
},
|
||||
opts = {
|
||||
options = {
|
||||
component_separators = { left = "|", right = "|" },
|
||||
},
|
||||
--[[ Available components
|
||||
`branch` (git branch)
|
||||
`buffers` (shows currently available buffers)
|
||||
`diagnostics` (diagnostics count from your preferred source)
|
||||
`diff` (git diff status)
|
||||
`encoding` (file encoding)
|
||||
`fileformat` (file format)
|
||||
`filename`
|
||||
`filesize`
|
||||
`filetype`
|
||||
`hostname`
|
||||
`location` (location in file in line:column format)
|
||||
`mode` (vim mode)
|
||||
`progress` (%progress in file)
|
||||
`searchcount` (number of search matches when hlsearch is active)
|
||||
`selectioncount` (number of selected characters or lines)
|
||||
`tabs` (shows currently available tabs)
|
||||
`windows` (shows currently available windows) ]]
|
||||
sections = {
|
||||
lualine_a = { "mode" },
|
||||
lualine_b = { "branch" },
|
||||
lualine_c = { "filename", "diff", "lsp_progress" },
|
||||
lualine_x = { "diagnostics", "encoding", "filetype", "filesize" },
|
||||
lualine_y = { "progress" },
|
||||
lualine_z = { "location" },
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user