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 a4b80af commit 478053dCopy full SHA for 478053d
1 file changed
lua/markmap/config.lua
@@ -1,8 +1,9 @@
1
-- Config options to keep init clean.
2
local M = {}
3
4
-local is_windows = vim.uv.os_uname().sysname == "Windows_NT"
5
-local is_android = vim.fn.isdirectory('/data') == 1
+local uv = vim.uv or vim.loop
+local is_windows = uv.os_uname().sysname == "Windows_NT"
6
+local is_android = vim.fn.isdirectory("/data") == 1
7
8
---Parse user options, or set the defaults
9
---@param opts table A table with options to set.
0 commit comments