mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
bump to nvim version 0.9.0 (#188)
This commit is contained in:
@@ -93,7 +93,7 @@ local diff = function()
|
||||
local add_num = git_status.added
|
||||
|
||||
local info = { added = add_num, modified = modify_num, removed = remove_num }
|
||||
-- vim.pretty_print(info)
|
||||
-- vim.print(info)
|
||||
return info
|
||||
end
|
||||
|
||||
|
||||
@@ -31,13 +31,6 @@ function M.may_create_dir(dir)
|
||||
end
|
||||
end
|
||||
|
||||
function M.get_nvim_version()
|
||||
local actual_ver = vim.version()
|
||||
|
||||
local nvim_ver_str = string.format("%d.%d.%d", actual_ver.major, actual_ver.minor, actual_ver.patch)
|
||||
return nvim_ver_str
|
||||
end
|
||||
|
||||
--- Generate random integers in the range [Low, High], inclusive,
|
||||
--- adapted from https://stackoverflow.com/a/12739441/6064933
|
||||
--- @low: the lower value for this range
|
||||
|
||||
Reference in New Issue
Block a user