aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt2
-rw-r--r--runtime/lua/vim/lsp/util.lua6
2 files changed, 2 insertions, 6 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index e1beea0fed..29f4abf250 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -5553,6 +5553,8 @@ A jump table for the options with a short description can be found at |Q_op|.
"yes" always
"yes:[1-9]" always, with fixed space for signs up to the given
number (maximum 9), e.g. "yes:3"
+ "number" display signs in the 'number' column. If the number
+ column is not present, then behaves like 'auto'.
*'smartcase'* *'scs'* *'nosmartcase'* *'noscs'*
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 = ""