1
0
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:
jdhao
2023-04-07 22:42:24 +02:00
committed by GitHub
parent 8746c7eb11
commit 644993a89e
5 changed files with 10 additions and 18 deletions

View File

@@ -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

View File

@@ -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