Skip to content

Commit 33cfdbf

Browse files
committed
fix: osx was detected as android dou to both systems having a /system directory.
1 parent 9f98f29 commit 33cfdbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/markmap/config.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ local M = {}
33

44
local uv = vim.uv or vim.loop
55
local is_windows = uv.os_uname().sysname == "Windows_NT"
6-
local is_android = vim.fn.isdirectory("/system") == 1
6+
local is_android = vim.fn.isdirectory('/data') == 1
77

88
---Parse user options, or set the defaults
99
---@param opts table A table with options to set.

0 commit comments

Comments
 (0)