chore: autogen (vimdocs+formating)
This commit is contained in:
parent
343e1941ba
commit
2e2284db88
|
@ -14,7 +14,10 @@ Table of Contents *lualine-table-of-contents*
|
|||
|
||||
A blazing fast and easy to configure Neovim statusline written in Lua.
|
||||
|
||||
`lualine.nvim` requires Neovim >= 0.5.
|
||||
`lualine.nvim` requires Neovim >= 0.7.
|
||||
|
||||
For previous versoins of neovim please use compatability tags for example
|
||||
compat-nvim-0.5
|
||||
|
||||
CONTRIBUTING *lualine-contributing*
|
||||
|
||||
|
|
|
@ -601,15 +601,16 @@ end
|
|||
|
||||
--- Check neovim compatibilitu
|
||||
local function verify_nvim_version()
|
||||
if vim.fn.has('nvim-0.7') == 1 then return true end
|
||||
if vim.fn.has('nvim-0.7') == 1 then
|
||||
return true
|
||||
end
|
||||
modules.utils_notices.add_notice([[
|
||||
### Incompatible Neovim version
|
||||
Lualine supports neovim 0.7 and up. It seems you're using a older version.
|
||||
Please update to newer version. Or if you have atleast neovim 0.5 you
|
||||
can use older compatible versions of lualine using compat tags like
|
||||
`compat-nvim-0.5`, `compat-nvim-0.6`.
|
||||
]]
|
||||
)
|
||||
]])
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ M.options = {
|
|||
colored = true,
|
||||
update_in_insert = false,
|
||||
always_visible = false,
|
||||
sources = { 'nvim_diagnostic', 'coc' },
|
||||
sources = { 'nvim_diagnostic', 'coc' },
|
||||
sections = { 'error', 'warn', 'info', 'hint' },
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue