aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-26 01:00:52 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-09-09 09:53:19 -0700
commit81c3fa6c9df0c06a4b32982a71fcbb95a44b88a2 (patch)
tree4351be8025ebbd0de383a740de386f391e1e6bf6 /src
parent05c668f684e111880b4d15de9ec63c2ba3264ef3 (diff)
downloadrneovim-81c3fa6c9df0c06a4b32982a71fcbb95a44b88a2.tar.gz
rneovim-81c3fa6c9df0c06a4b32982a71fcbb95a44b88a2.tar.bz2
rneovim-81c3fa6c9df0c06a4b32982a71fcbb95a44b88a2.zip
doc
Diffstat (limited to 'src')
-rw-r--r--src/nvim/README.md2
-rw-r--r--src/nvim/api/vim.c10
2 files changed, 7 insertions, 5 deletions
diff --git a/src/nvim/README.md b/src/nvim/README.md
index 35ca2944e9..3f7c05757a 100644
--- a/src/nvim/README.md
+++ b/src/nvim/README.md
@@ -62,6 +62,8 @@ Configure the sanitizer(s) via these environment variables:
# Change to detect_leaks=1 to detect memory leaks (slower).
export ASAN_OPTIONS="detect_leaks=0:log_path=$HOME/logs/asan"
+ # Show backtraces in the logs.
+ export UBSAN_OPTIONS=print_stacktrace=1
export MSAN_OPTIONS="log_path=${HOME}/logs/tsan"
export TSAN_OPTIONS="log_path=${HOME}/logs/tsan"
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 27344fc093..60c58ff9a2 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -1019,7 +1019,7 @@ fail:
///
/// Currently this is used to open floating and external windows.
/// Floats are windows that are drawn above the split layout, at some anchor
-/// position in some other window. Floats can be draw internally or by external
+/// position in some other window. Floats can be drawn internally or by external
/// GUI with the |ui-multigrid| extension. External windows are only supported
/// with multigrid GUIs, and are displayed as separate top-level windows.
///
@@ -1416,9 +1416,9 @@ Dictionary nvim_get_color_map(void)
/// Gets a map of the current editor state.
///
/// @param types Context types ("regs", "jumps", "buflist", "gvars", ...)
-/// to gather, or NIL for all.
+/// to gather, or NIL for all (see |context-types|).
///
-/// @return map of global context
+/// @return map of global |context|.
Dictionary nvim_get_context(Array types)
FUNC_API_SINCE(6)
{
@@ -1453,9 +1453,9 @@ Dictionary nvim_get_context(Array types)
return dict;
}
-/// Sets the current editor state to that in given context dictionary.
+/// Sets the current editor state from the given |context| map.
///
-/// @param ctx_dict Context dictionary.
+/// @param dict |Context| map.
Object nvim_load_context(Dictionary dict)
FUNC_API_SINCE(6)
{