Skip to content

Commit

Permalink
fix: osx was detected as android dou to both systems having a /system…
Browse files Browse the repository at this point in the history
… directory.
  • Loading branch information
Zeioth committed Mar 26, 2024
1 parent 9f98f29 commit 33cfdbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/markmap/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local M = {}

local uv = vim.uv or vim.loop
local is_windows = uv.os_uname().sysname == "Windows_NT"
local is_android = vim.fn.isdirectory("/system") == 1
local is_android = vim.fn.isdirectory('/data') == 1

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

0 comments on commit 33cfdbf

Please sign in to comment.