Skip to content

Commit f233cb2

Browse files
committed
fix: disable sendfile on android for cpu 100%
1 parent 8223eb2 commit f233cb2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lua/fzf-lua/rpc.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
local uv = vim.uv or vim.loop
33

44
local _is_win = vim.fn.has("win32") == 1 or vim.fn.has("win64") == 1
5-
local _is_linux = vim.fn.has("linux") == 1
5+
local _is_linux = vim.fn.has("linux") == 1 and
6+
(vim.fn.has("nvim-0.12") == 1 and vim.fn.has("android") == 0)
67

78
if vim.v.servername and #vim.v.servername > 0 then
89
pcall(vim.fn.serverstop, vim.v.servername)

0 commit comments

Comments
 (0)