Skip to content

Commit e824adb

Browse files
authored
perlcritic: replace vim.uv with vim.loop for nvim <0.10 compat (#547)
1 parent 4dade85 commit e824adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/lint/linters/perlcritic.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ local severity_map = {
1111
local find_conf = function()
1212
local conf = vim.fs.find('.perlcriticrc', {
1313
upward = true,
14-
stop = vim.fs.dirname(vim.uv.os_homedir()),
14+
stop = vim.fs.dirname(vim.loop.os_homedir()),
1515
path = vim.fs.dirname(vim.api.nvim_buf_get_name(0)),
1616
})
1717
return conf[1] or ''

0 commit comments

Comments
 (0)