diff options
author | Patrice Peterson <patrice.peterson@mailbox.org> | 2020-08-08 23:49:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-08 23:49:44 +0200 |
commit | 1869f86e358b64eae69bbd004ab4822bdcc54870 (patch) | |
tree | 31c1596415be11c12abd1bca0f23712d0ef0f0d5 /runtime/lua/vim/lsp/util.lua | |
parent | 7f49594813287d8134c52b3a9ee8ff099d525468 (diff) | |
download | rneovim-1869f86e358b64eae69bbd004ab4822bdcc54870.tar.gz rneovim-1869f86e358b64eae69bbd004ab4822bdcc54870.tar.bz2 rneovim-1869f86e358b64eae69bbd004ab4822bdcc54870.zip |
Remove unused function (#12719)
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r-- | runtime/lua/vim/lsp/util.lua | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua index d286f28d0c..33fca29ecd 100644 --- a/runtime/lua/vim/lsp/util.lua +++ b/runtime/lua/vim/lsp/util.lua @@ -195,12 +195,6 @@ function M.apply_text_document_edit(text_document_edit) M.apply_text_edits(text_document_edit.edits, bufnr) 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 res = "" |