mirror of
https://codeberg.org/FelipeLema/cmp-async-path
synced 2025-05-12 12:48:31 +00:00
commit
0016221b61
@ -90,7 +90,7 @@ source._candidates = function(_, params, dirname, offset, callback)
|
|||||||
|
|
||||||
local items = {}
|
local items = {}
|
||||||
|
|
||||||
local include_hidden = string.sub(params.context.cursor_before_line, offset + 1, offset + 1) == '.'
|
local include_hidden = string.sub(params.context.cursor_before_line, offset, offset) == '.'
|
||||||
while true do
|
while true do
|
||||||
local name, type, e = vim.loop.fs_scandir_next(fs)
|
local name, type, e = vim.loop.fs_scandir_next(fs)
|
||||||
if e then
|
if e then
|
||||||
|
Loading…
Reference in New Issue
Block a user