Skip to content

Commit 2f2739b

Browse files
committed
version to 0.11
1 parent b631452 commit 2f2739b

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

lua/phoenix/init.lua

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,6 @@ function server.create()
694694

695695
function srv.completion(params, callback)
696696
local position = params.position
697-
-- local lines = vim.split(root[filename], '\n')
698697
local line = vim.api.nvim_get_current_line()
699698
if #line == 0 then
700699
schedule_result(callback)
@@ -719,9 +718,7 @@ function server.create()
719718
return
720719
end
721720

722-
local expanded_path = vim.fn.has('nvim-0.10') and vim.fn.expand(dir_part)
723-
or vim.fs.normalize(vim.fs.abspath(dir_part))
724-
721+
local expanded_path = vim.fs.normalize(vim.fs.abspath(dir_part))
725722
scan_dir_async(expanded_path, function(results)
726723
local items = {}
727724
local current_input = prefix:match('[^/]*$') or ''

0 commit comments

Comments
 (0)