aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Williamson <euclidianAce@protonmail.com>2021-03-16 01:02:20 -0500
committerBjörn Linse <bjorn.linse@gmail.com>2021-03-28 19:03:35 +0200
commit45236981d887e3a535adc0fc1e91cadce54c9463 (patch)
tree3f4d39555e66a523b5577438c4e3f77981ea309e
parent3fbd9ed4ab1d7a90297488d778205e8dc270cbf4 (diff)
downloadrneovim-45236981d887e3a535adc0fc1e91cadce54c9463.tar.gz
rneovim-45236981d887e3a535adc0fc1e91cadce54c9463.tar.bz2
rneovim-45236981d887e3a535adc0fc1e91cadce54c9463.zip
run docgen
-rw-r--r--runtime/doc/api.txt21
-rw-r--r--runtime/doc/lsp.txt4
2 files changed, 20 insertions, 5 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index bd34411065..5d7f559c0d 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -1415,8 +1415,8 @@ nvim_put({lines}, {type}, {after}, {follow}) *nvim_put()*
• "c" |charwise| mode
• "l" |linewise| mode
• "" guess by contents, see |setreg()|
- {after} If true insert after cursor (like |p|), or before (like
- |P|).
+ {after} If true insert after cursor (like |p|), or
+ before (like |P|).
{follow} If true place cursor at end of inserted text.
*nvim_replace_termcodes()*
@@ -1737,7 +1737,7 @@ nvim__buf_stats({buffer}) *nvim__buf_stats()*
TODO: Documentation
*nvim_buf_add_highlight()*
-nvim_buf_add_highlight({buffer}, {src_id}, {hl_group}, {line}, {col_start},
+nvim_buf_add_highlight({buffer}, {ns_id}, {hl_group}, {line}, {col_start},
{col_end})
Adds a highlight to buffer.
@@ -2468,6 +2468,21 @@ nvim_win_get_width({window}) *nvim_win_get_width()*
Return: ~
Width as a count of columns
+nvim_win_hide({window}) *nvim_win_hide()*
+ Closes the window and hide the buffer it contains (like
+ |:hide| with a |window-ID|).
+
+ Like |:hide| the buffer becomes hidden unless another window
+ is editing it, or 'bufhidden' is `unload` , `delete` or `wipe`
+ as opposed to |:close| or |nvim_win_close|, which will close
+ the buffer.
+
+ Attributes: ~
+ not allowed when |textlock| is active
+
+ Parameters: ~
+ {window} Window handle, or 0 for current window
+
nvim_win_is_valid({window}) *nvim_win_is_valid()*
Checks if a window is valid
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index d2d88fb9ba..1f6ecc911d 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -1469,8 +1469,8 @@ show_line_diagnostics({opts}, {bufnr}, {line_nr}, {client_id})
==============================================================================
Lua module: vim.lsp.handlers *lsp-handlers*
- *vim.lsp.handlers.progress_callback()*
-progress_callback({_}, {_}, {params}, {client_id})
+ *vim.lsp.handlers.progress_handler()*
+progress_handler({_}, {_}, {params}, {client_id})
See also: ~
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#workspace_executeCommand