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 e01d3f1 commit 318c20eCopy full SHA for 318c20e
lua/neo-tree/clipboard/sync/universal.lua
@@ -10,7 +10,7 @@ local uv = vim.uv or vim.loop
10
---@field filename string
11
12
local clipboard_states_dir = vim.fn.stdpath("state") .. "/neo-tree.nvim/clipboards"
13
-local pid = vim.uv.os_getpid()
+local pid = uv.os_getpid()
14
15
---@class (exact) neotree.clipboard.FileBackend.FileFormat
16
---@field pid integer
@@ -32,7 +32,7 @@ local FileBackend = BaseBackend:new()
32
---@return boolean created
33
---@return string? err
34
local function file_touch(filename)
35
- if vim.uv.fs_stat(filename) then
+ if uv.fs_stat(filename) then
36
return true
37
end
38
local dir = vim.fn.fnamemodify(filename, ":h")
0 commit comments