We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df7c522 commit 99f643bCopy full SHA for 99f643b
lua/dashboard/utils.lua
@@ -2,7 +2,7 @@ local uv = vim.loop
2
local utils = {}
3
4
utils.is_win = uv.os_uname().version:match('Windows')
5
-local is_nvim_11_or_newer = vim.version().minor >= 11 -- check nvim minor ver
+local is_nvim_11_or_newer = vim.fn.has 'nvim-0.11' == 1
6
7
function utils.path_join(...)
8
local path_sep = utils.is_win and '\\' or '/'
0 commit comments