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.
|
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*
|
CONTRIBUTING *lualine-contributing*
|
||||||
|
|
||||||
|
|
|
@ -601,15 +601,16 @@ end
|
||||||
|
|
||||||
--- Check neovim compatibilitu
|
--- Check neovim compatibilitu
|
||||||
local function verify_nvim_version()
|
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([[
|
modules.utils_notices.add_notice([[
|
||||||
### Incompatible Neovim version
|
### Incompatible Neovim version
|
||||||
Lualine supports neovim 0.7 and up. It seems you're using a older 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
|
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
|
can use older compatible versions of lualine using compat tags like
|
||||||
`compat-nvim-0.5`, `compat-nvim-0.6`.
|
`compat-nvim-0.5`, `compat-nvim-0.6`.
|
||||||
]]
|
]])
|
||||||
)
|
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue