fix: decompile all, remove unnecessary cursor set
This commit is contained in:
parent
b14cf6bcfb
commit
4d3ace9688
1 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,7 @@ vim.api.nvim_create_user_command(
|
||||||
local classpath = classpath_raw:gsub("%%5C", "") .. '.jar'
|
local classpath = classpath_raw:gsub("%%5C", "") .. '.jar'
|
||||||
local classname = classname_raw:gsub("%%3C", ""):gsub("%(", ".")
|
local classname = classname_raw:gsub("%%3C", ""):gsub("%(", ".")
|
||||||
vim.fn.jobstart(
|
vim.fn.jobstart(
|
||||||
{'javap', '-c', '--class-path', classpath, classname},
|
{'javap', '-p', '-c', '--class-path', classpath, classname},
|
||||||
{
|
{
|
||||||
width = 1024,
|
width = 1024,
|
||||||
stdout_buffered = true,
|
stdout_buffered = true,
|
||||||
|
@ -37,7 +37,6 @@ vim.api.nvim_create_user_command(
|
||||||
})
|
})
|
||||||
else
|
else
|
||||||
vim.api.nvim_win_set_buf(0, buf)
|
vim.api.nvim_win_set_buf(0, buf)
|
||||||
vim.api.nvim_win_set_cursor(buf, { 1, 0 })
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue