Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Mar 13, 2024
1 parent ad50d67 commit a06a4b4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lua/dotvim/extra/fswatch.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ local function fswatch(path, opts, callback)
path,
}, {
stdout = function(_, data)
for line in vim.gsplit(data, "\n", { plain = true, trimempty = true }) do
fswatch_output_handler(line, opts, callback)
if data ~= nil then
for line in vim.gsplit(data, "\n", { plain = true, trimempty = true }) do
fswatch_output_handler(line, opts, callback)
end
end
end,
})
Expand Down
1 change: 1 addition & 0 deletions lua/dotvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function M.setup(opts)
"dotvim.packages.lsp",
"dotvim.packages.editor",
"dotvim.packages.ui",
"dotvim.packages.tools",
}

if vim.uv.os_uname() == "Darwin" then
Expand Down
7 changes: 7 additions & 0 deletions lua/dotvim/packages/tools.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---@type dora.core.package.PackageOption
return {
name = "dotvim.packages.tools",
deps = {},
plugins = {
},
}

0 comments on commit a06a4b4

Please sign in to comment.