diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 441295678d..ff5b9f5448 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -186,8 +186,7 @@ be effective in the current buffer only. Example: > Then you can map ",w" to something else in another buffer: > :map ,w /[#&!] The local buffer mappings are used before the global ones. See below -to make a short local mapping taking effect when a longer global one -exists. +to make a short local mapping take effect when a longer global one exists. The "" argument can also be used to clear mappings: > :unmap ,w :mapclear diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index c3fdd8d956..17a28a29b5 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -374,7 +374,7 @@ See |ft-ada-syntax| ALGOL 68 *algol68* *ft-algol68-syntax* This syntax file currently targets the Algol 68 Genie project using the -default UPPER stropping regime. It should also be usuable in other +default UPPER stropping regime. It should also be usable in other environments using the UPPER stropping regime, though somewhat less complete. Highlighting can be further configured with the following variables. diff --git a/runtime/doc/usr_30.txt b/runtime/doc/usr_30.txt index 6cf2061111..36b57c7afc 100644 --- a/runtime/doc/usr_30.txt +++ b/runtime/doc/usr_30.txt @@ -531,8 +531,8 @@ they do when using only tab characters. Vim 5.4 introduced the 'softtabstop' option. On top of the (hard) tab stops used to display the horizontal tab characters in the text, Vim adds extra soft tab stops dedicated only to the cursor. When 'softtabstop' is set to a -positive value, the key will push the cursor to the next soft tab -stop. Vim will insert the correct combination of tab characters and spaces to +positive value, the key will push the cursor to the next soft tab stop. +Vim will insert the correct combination of tab characters and spaces to achieve this effect. Likewise pressing will have the cursor try to reach the nearest soft tab stop. The following example uses `:set softtabstop=4` diff --git a/src/nvim/spellfile.c b/src/nvim/spellfile.c index 99da20af68..eacb07e9ae 100644 --- a/src/nvim/spellfile.c +++ b/src/nvim/spellfile.c @@ -885,7 +885,7 @@ static void tree_count_words(const uint8_t *byts, int byts_len, idx_T *idxs) wordcount[depth]++; // Skip over any other NUL bytes (same word with different - // flags). But don't go over the end + // flags). But don't go over the end. while (n + 1 < byts_len && byts[n + 1] == 0) { n++; curi[depth]++; @@ -4956,7 +4956,7 @@ static int sug_filltree(spellinfo_T *spin, slang_T *slang) spin->si_blocks_cnt = 0; // Skip over any other NUL bytes (same word with different - // flags). But don't go over the end + // flags). But don't go over the end. while (n + 1 < slang->sl_fbyts_len && byts[n + 1] == 0) { n++; curi[depth]++;