aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/api.txt2
-rw-r--r--runtime/doc/news.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index 4aba1f8141..48bbdc33df 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -1231,6 +1231,8 @@ nvim_open_term({buffer}, {*opts}) *nvim_open_term()*
is sent as a "\r", not as a "\n". |textlock| applies. It
is possible to call |nvim_chan_send()| directly in the
callback however. ["input", term, bufnr, data]
+ • force_crlf: (boolean, default true) Convert "\n" to
+ "\r\n".
Return: ~
Channel id, or 0 on error
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 04f143f0c3..9bfc577e87 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -344,6 +344,8 @@ The following changes to existing APIs or features add new behavior.
• Diagnostic sign text is no longer configured with |sign_define()|.
Use |vim.diagnostic.config()| instead.
+• Added "force_crlf" option field in |nvim_open_term()|.
+
==============================================================================
REMOVED FEATURES *news-removed*