aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/private/helpers.c
diff options
context:
space:
mode:
authorNimit Bhardwaj <nimitbhardwaj@gmail.com>2018-02-24 15:44:51 +0530
committerJustin M. Keyes <justinkz@gmail.com>2018-05-11 13:20:19 +0200
commit25b630484023716977c3fe2790c13b41f9db9f30 (patch)
treec6cd3a539518418da64faab85754220b37ecd3c6 /src/nvim/api/private/helpers.c
parent273d2cd5d5cfc7616c76d3531e9938750abcc05e (diff)
downloadrneovim-25b630484023716977c3fe2790c13b41f9db9f30.tar.gz
rneovim-25b630484023716977c3fe2790c13b41f9db9f30.tar.bz2
rneovim-25b630484023716977c3fe2790c13b41f9db9f30.zip
API: nvim_get_commands()
Diffstat (limited to 'src/nvim/api/private/helpers.c')
-rw-r--r--src/nvim/api/private/helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c
index b922036893..03f1a882d3 100644
--- a/src/nvim/api/private/helpers.c
+++ b/src/nvim/api/private/helpers.c
@@ -701,7 +701,7 @@ String cchar_to_string(char c)
String cstr_to_string(const char *str)
{
if (str == NULL) {
- return (String) STRING_INIT;
+ return (String) STRING_INIT;
}
size_t len = strlen(str);
@@ -1149,7 +1149,7 @@ void api_set_error(Error *err, ErrorType errType, const char *format, ...)
///
/// @param mode The abbreviation for the mode
/// @param buf The buffer to get the mapping array. NULL for global
-/// @returns An array of maparg() like dictionaries describing mappings
+/// @returns Array of maparg()-like dictionaries describing mappings
ArrayOf(Dictionary) keymap_array(String mode, buf_T *buf)
{
Array mappings = ARRAY_DICT_INIT;