mirror of
https://github.com/neovim/neovim.git
synced 2025-10-22 17:11:49 +00:00
Remove unused function (#12719)
This commit is contained in:
@@ -195,12 +195,6 @@ function M.apply_text_document_edit(text_document_edit)
|
|||||||
M.apply_text_edits(text_document_edit.edits, bufnr)
|
M.apply_text_edits(text_document_edit.edits, bufnr)
|
||||||
end
|
end
|
||||||
|
|
||||||
function M.get_current_line_to_cursor()
|
|
||||||
local pos = api.nvim_win_get_cursor(0)
|
|
||||||
local line = assert(api.nvim_buf_get_lines(0, pos[1]-1, pos[1], false)[1])
|
|
||||||
return line:sub(pos[2]+1)
|
|
||||||
end
|
|
||||||
|
|
||||||
local function parse_snippet_rec(input, inner)
|
local function parse_snippet_rec(input, inner)
|
||||||
local res = ""
|
local res = ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user