docs: typo fixes (#17859)

Co-authored-by: Elias Alves Moura <eliamoura.alves@gmail.com>
Co-authored-by: venkatesh <shariharanvenkatesh@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Vikas Raj <24727447+numToStr@users.noreply.github.com>
Co-authored-by: Steve Vermeulen <sfvermeulen@gmail.com>
Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
Co-authored-by: rwxd <rwxd@pm.me>
Co-authored-by: casswedson <58050969+casswedson@users.noreply.github.com>
This commit is contained in:
dundargoc 2022-04-15 12:35:06 +02:00 committed by GitHub
parent 4503cb6b64
commit e63e5d1dbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
39 changed files with 48 additions and 54 deletions

View File

@ -11,7 +11,7 @@ low-risk/isolated tasks:
- Fix bugs found by [Clang](#clang-scan-build), [PVS](#pvs-studio) or - Fix bugs found by [Clang](#clang-scan-build), [PVS](#pvs-studio) or
[Coverity](#coverity). [Coverity](#coverity).
- [Improve documentation][wiki-contribute-help] - [Improve documentation][wiki-contribute-help]
- [Merge a Vim patch] (Familiarity with Vim is *strongly* recommended) - [Merge a Vim patch] (familiarity with Vim is *strongly* recommended)
Reporting problems Reporting problems
------------------ ------------------
@ -289,7 +289,7 @@ as context, use the `-W` argument as well.
[complexity:low]: https://github.com/neovim/neovim/issues?q=is%3Aopen+is%3Aissue+label%3Acomplexity%3Alow [complexity:low]: https://github.com/neovim/neovim/issues?q=is%3Aopen+is%3Aissue+label%3Acomplexity%3Alow
[master error list]: https://raw.githubusercontent.com/neovim/doc/gh-pages/reports/clint/errors.json [master error list]: https://raw.githubusercontent.com/neovim/doc/gh-pages/reports/clint/errors.json
[wiki-contribute-help]: https://github.com/neovim/neovim/wiki/contribute-%3Ahelp [wiki-contribute-help]: https://github.com/neovim/neovim/wiki/contribute-%3Ahelp
[pr-draft]: https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request [pr-draft]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request
[pr-ready]: https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request [pr-ready]: https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request
[uncrustify]: http://uncrustify.sourceforge.net/ [uncrustify]: http://uncrustify.sourceforge.net/
[lua-language-server]: https://github.com/sumneko/lua-language-server/ [lua-language-server]: https://github.com/sumneko/lua-language-server/

View File

@ -52,7 +52,7 @@ has a major bug:
3. Cut a release from `release-x.y`. 3. Cut a release from `release-x.y`.
- Run `./scripts/release.sh` - Run `./scripts/release.sh`
- Update (force-push) the remote `stable` tag. - Update (force-push) the remote `stable` tag.
- The [nightly job](https://github.com/neovim/bot-ci/blob/master/ci/nightly.sh) - The [nightly job](https://github.com/neovim/neovim/blob/master/.github/workflows/release.yml#L4)
will update the release assets based on the `stable` tag. will update the release assets based on the `stable` tag.
The neovim repository includes a backport [github action](https://github.com/zeebe-io/backport-action). The neovim repository includes a backport [github action](https://github.com/zeebe-io/backport-action).

View File

@ -2859,8 +2859,7 @@ nvim_win_set_cursor({window}, {pos}) *nvim_win_set_cursor()*
{pos} (row, col) tuple representing the new position {pos} (row, col) tuple representing the new position
nvim_win_set_height({window}, {height}) *nvim_win_set_height()* nvim_win_set_height({window}, {height}) *nvim_win_set_height()*
Sets the window height. This will only succeed if the screen Sets the window height.
is split horizontally.
Parameters: ~ Parameters: ~
{window} Window handle, or 0 for current window {window} Window handle, or 0 for current window
@ -3234,9 +3233,9 @@ nvim_create_autocmd({event}, {*opts}) *nvim_create_autocmd()*
pattern = { "*.py", "*.pyi" } pattern = { "*.py", "*.pyi" }
< <
Examples values for event: > Example values for event: >
"BufPreWrite" "BufWritePre"
{"CursorHold", "BufPreWrite", "BufPostWrite"} {"CursorHold", "BufWritePre", "BufWritePost"}
< <
Parameters: ~ Parameters: ~

View File

@ -966,8 +966,6 @@ byteidxcomp({expr}, {nr}) *byteidxcomp()*
< The first and third echo result in 3 ('e' plus composing < The first and third echo result in 3 ('e' plus composing
character is 3 bytes), the second echo results in 1 ('e' is character is 3 bytes), the second echo results in 1 ('e' is
one byte). one byte).
Only works differently from byteidx() when 'encoding' is set
to a Unicode encoding.
Can also be used as a |method|: > Can also be used as a |method|: >
GetName()->byteidxcomp(idx) GetName()->byteidxcomp(idx)

View File

@ -1151,7 +1151,7 @@ In any of the above examples, to replicate the behavior |setlocal|, use
|vim.opt| returns an Option object. |vim.opt| returns an Option object.
For example: `local listchar_object = vim.opt.listchar` For example: `local listchar_object = vim.opt.listchars`
An `Option` has the following methods: An `Option` has the following methods:
@ -1910,7 +1910,7 @@ select({items}, {opts}, {on_choice}) *vim.ui.select()*
which select() was called. which select() was called.
{on_choice} function ((item|nil, idx|nil) -> ()) Called {on_choice} function ((item|nil, idx|nil) -> ()) Called
once the user made a choice. `idx` is the once the user made a choice. `idx` is the
1-based index of `item` within `item`. `nil` 1-based index of `item` within `items`. `nil`
if the user aborted the dialog. if the user aborted the dialog.

View File

@ -921,7 +921,7 @@ A jump table for the options with a short description can be found at |Q_op|.
Note that environment variables are not expanded. If you want to use Note that environment variables are not expanded. If you want to use
$HOME you must expand it explicitly, e.g.: > $HOME you must expand it explicitly, e.g.: >
:let backupskip = escape(expand('$HOME'), '\') .. '/tmp/*' :let &backupskip = escape(expand('$HOME'), '\') .. '/tmp/*'
< Note that the default also makes sure that "crontab -e" works (when a < Note that the default also makes sure that "crontab -e" works (when a
backup would be made by renaming the original file crontab won't see backup would be made by renaming the original file crontab won't see

View File

@ -111,7 +111,7 @@ width of the terminal.
*tui-input* *tui-input*
Nvim uses libtermkey to convert terminal escape sequences to key codes. Nvim uses libtermkey to convert terminal escape sequences to key codes.
|terminfo| is used first, and CSI sequences not in |terminfo| (including |terminfo| is used first, and CSI sequences not in |terminfo| (including
exteneded keys a.k.a. modifyOtherKeys or `CSI u`) can also be parsed. extended keys a.k.a. modifyOtherKeys or `CSI u`) can also be parsed.
For example, when running Nvim in tmux, this makes Nvim leave Insert mode and For example, when running Nvim in tmux, this makes Nvim leave Insert mode and
go to the window below: > go to the window below: >
tmux send-keys 'Escape' [ 2 7 u 'C-W' j tmux send-keys 'Escape' [ 2 7 u 'C-W' j

View File

@ -268,7 +268,7 @@ Here is a list of built-in directives:
((identifier) @foo (#set! @foo "kind" "parameter")) ((identifier) @foo (#set! @foo "kind" "parameter"))
((node1) @left (node2) @right (#set! "type" "pair")) ((node1) @left (node2) @right (#set! "type" "pair"))
< <
`offset!` *ts-predicate-offset!* `offset!` *ts-directive-offset!*
Takes the range of the captured node and applies the offsets Takes the range of the captured node and applies the offsets
to it's range : > to it's range : >
((identifier) @constant (#offset! @constant 0 1 0 -1)) ((identifier) @constant (#offset! @constant 0 1 0 -1))

View File

@ -16,7 +16,7 @@ local M = {}
--- `items`, or the context in which select() was called. --- `items`, or the context in which select() was called.
---@param on_choice function ((item|nil, idx|nil) -> ()) ---@param on_choice function ((item|nil, idx|nil) -> ())
--- Called once the user made a choice. --- Called once the user made a choice.
--- `idx` is the 1-based index of `item` within `item`. --- `idx` is the 1-based index of `item` within `items`.
--- `nil` if the user aborted the dialog. --- `nil` if the user aborted the dialog.
--- ---
--- ---

View File

@ -295,7 +295,7 @@ function TStream_Write.writelnTail(this,Line)
table.insert(this.tailLine,Line) table.insert(this.tailLine,Line)
end end
--! \brief outout tail lines --! \brief output tail lines
function TStream_Write.write_tailLines(this) function TStream_Write.write_tailLines(this)
for _,line in ipairs(this.tailLine) do for _,line in ipairs(this.tailLine) do
TCore_IO_writeln(line) TCore_IO_writeln(line)

View File

@ -68,7 +68,7 @@ Configure the sanitizer(s) via these environment variables:
export ASAN_OPTIONS="detect_leaks=0:log_path=$HOME/logs/asan" export ASAN_OPTIONS="detect_leaks=0:log_path=$HOME/logs/asan"
# Show backtraces in the logs. # Show backtraces in the logs.
export UBSAN_OPTIONS=print_stacktrace=1 export UBSAN_OPTIONS=print_stacktrace=1
export MSAN_OPTIONS="log_path=${HOME}/logs/tsan" export MSAN_OPTIONS="log_path=${HOME}/logs/msan"
export TSAN_OPTIONS="log_path=${HOME}/logs/tsan" export TSAN_OPTIONS="log_path=${HOME}/logs/tsan"
Logs will be written to `${HOME}/logs/*san.PID` then. Logs will be written to `${HOME}/logs/*san.PID` then.

View File

@ -360,10 +360,10 @@ cleanup:
/// pattern = { "*.py", "*.pyi" } /// pattern = { "*.py", "*.pyi" }
/// </pre> /// </pre>
/// ///
/// Examples values for event: /// Example values for event:
/// <pre> /// <pre>
/// "BufPreWrite" /// "BufWritePre"
/// {"CursorHold", "BufPreWrite", "BufPostWrite"} /// {"CursorHold", "BufWritePre", "BufWritePost"}
/// </pre> /// </pre>
/// ///
/// @param event (string|array) The event or events to register this autocommand /// @param event (string|array) The event or events to register this autocommand

View File

@ -139,8 +139,7 @@ Integer nvim_win_get_height(Window window, Error *err)
return win->w_height; return win->w_height;
} }
/// Sets the window height. This will only succeed if the screen is split /// Sets the window height.
/// horizontally.
/// ///
/// @param window Window handle, or 0 for current window /// @param window Window handle, or 0 for current window
/// @param height Height as a count of rows /// @param height Height as a count of rows

View File

@ -5852,7 +5852,7 @@ HistoryType get_histtype(const char *const name, const size_t len, const bool re
static int last_maptick = -1; // last seen maptick static int last_maptick = -1; // last seen maptick
/// Add the given string to the given history. If the string is already in the /// Add the given string to the given history. If the string is already in the
/// history then it is moved to the front. "histype" may be one of he HIST_ /// history then it is moved to the front. "histype" may be one of the HIST_
/// values. /// values.
/// ///
/// @parma in_map consider maptick when inside a mapping /// @parma in_map consider maptick when inside a mapping

View File

@ -446,7 +446,7 @@ const char *const highlight_init_cmdline[] = {
"default link NvimInvalidSpacing ErrorMsg", "default link NvimInvalidSpacing ErrorMsg",
// Not actually invalid, but we highlight user that he is doing something // Not actually invalid, but we show the user that they are doing something
// wrong. // wrong.
"default link NvimDoubleQuotedUnknownEscape NvimInvalidValue", "default link NvimDoubleQuotedUnknownEscape NvimInvalidValue",
NULL, NULL,

View File

@ -3944,10 +3944,8 @@ static void ml_updatechunk(buf_T *buf, linenr_T line, long len, int updtype)
} else if (buf->b_ml.ml_chunksize[curix].mlcs_numlines >= MLCS_MINL } else if (buf->b_ml.ml_chunksize[curix].mlcs_numlines >= MLCS_MINL
&& curix == buf->b_ml.ml_usedchunks - 1 && curix == buf->b_ml.ml_usedchunks - 1
&& buf->b_ml.ml_line_count - line <= 1) { && buf->b_ml.ml_line_count - line <= 1) {
/* // We are in the last chunk and it is cheap to create a new one
* We are in the last chunk and it is cheap to crate a new one // after this. Do it now to avoid the loop above later on
* after this. Do it now to avoid the loop above later on
*/
curchnk = buf->b_ml.ml_chunksize + curix + 1; curchnk = buf->b_ml.ml_chunksize + curix + 1;
buf->b_ml.ml_usedchunks++; buf->b_ml.ml_usedchunks++;
if (line == buf->b_ml.ml_line_count) { if (line == buf->b_ml.ml_line_count) {

View File

@ -4533,7 +4533,7 @@ static void nv_scroll(cmdarg_T *cap)
validate_botline(curwin); // make sure w_empty_rows is valid validate_botline(curwin); // make sure w_empty_rows is valid
half = (curwin->w_height_inner - curwin->w_empty_rows + 1) / 2; half = (curwin->w_height_inner - curwin->w_empty_rows + 1) / 2;
for (n = 0; curwin->w_topline + n < curbuf->b_ml.ml_line_count; n++) { for (n = 0; curwin->w_topline + n < curbuf->b_ml.ml_line_count; n++) {
// Count half he number of filler lines to be "below this // Count half the number of filler lines to be "below this
// line" and half to be "above the next line". // line" and half to be "above the next line".
if (n > 0 && used + win_get_fill(curwin, curwin->w_topline + n) / 2 >= half) { if (n > 0 && used + win_get_fill(curwin, curwin->w_topline + n) / 2 >= half) {
n--; n--;

View File

@ -4840,7 +4840,7 @@ static int get_corner_sep_connector(win_T *wp, WindowCorner corner)
} }
} }
/// Draw seperator connecting characters on the corners of window "wp" /// Draw separator connecting characters on the corners of window "wp"
static void draw_sep_connectors_win(win_T *wp) static void draw_sep_connectors_win(win_T *wp)
{ {
// Don't draw separator connectors unless global statusline is enabled and the window has // Don't draw separator connectors unless global statusline is enabled and the window has

View File

@ -27,7 +27,7 @@ typedef enum {
WC_BOTTOM_RIGHT WC_BOTTOM_RIGHT
} WindowCorner; } WindowCorner;
/// By default, all widows are draw on a single rectangular grid, represented by /// By default, all windows are drawn on a single rectangular grid, represented by
/// this ScreenGrid instance. In multigrid mode each window will have its own /// this ScreenGrid instance. In multigrid mode each window will have its own
/// grid, then this is only used for global screen elements that hasn't been /// grid, then this is only used for global screen elements that hasn't been
/// externalized. /// externalized.

View File

@ -770,7 +770,7 @@ func Test_breakindent20_list()
\ "shall make no law ", \ "shall make no law ",
\ ] \ ]
call s:compare_lines(expect, lines) call s:compare_lines(expect, lines)
" set mininum indent " set minimum indent
setl briopt=min:5 setl briopt=min:5
redraw! redraw!
let lines = s:screen_lines2(1, 6, 20) let lines = s:screen_lines2(1, 6, 20)

View File

@ -1127,7 +1127,7 @@ func Test_cmdwin_tabpage()
tabedit tabedit
" v8.2.1919 isn't ported yet, so E492 is thrown after E11 here. " v8.2.1919 isn't ported yet, so E492 is thrown after E11 here.
" v8.2.1183 also isn't ported yet, so we also can't assert E11 directly. " v8.2.1183 also isn't ported yet, so we also can't assert E11 directly.
" For now, assert E11 and E492 seperately. When v8.2.1183 is ported, the " For now, assert E11 and E492 separately. When v8.2.1183 is ported, the
" assert for E492 will fail and this workaround should be removed. " assert for E492 will fail and this workaround should be removed.
" call assert_fails("silent norm q/g :I\<Esc>", 'E11:') " call assert_fails("silent norm q/g :I\<Esc>", 'E11:')
call assert_fails("silent norm q/g ", 'E11:') call assert_fails("silent norm q/g ", 'E11:')

View File

@ -976,7 +976,7 @@ func Test_debug_backtrace_level()
\ 'line 1: let s:file1_var = ''file1''' \ 'line 1: let s:file1_var = ''file1'''
\ ]) \ ])
" step throught the initial declarations " step through the initial declarations
call RunDbgCmd(buf, 'step', [ 'line 2: let g:global_var = ''global''' ] ) call RunDbgCmd(buf, 'step', [ 'line 2: let g:global_var = ''global''' ] )
call RunDbgCmd(buf, 'step', [ 'line 4: func s:File1Func( arg )' ] ) call RunDbgCmd(buf, 'step', [ 'line 4: func s:File1Func( arg )' ] )
call RunDbgCmd(buf, 'echo s:file1_var', [ 'file1' ] ) call RunDbgCmd(buf, 'echo s:file1_var', [ 'file1' ] )

View File

@ -285,7 +285,7 @@ endfunc
" 1 " 1
" 1 " 1
" 1 " 1
" Expexted: " Expected:
" 1) g Ctrl-A on block selected indented lines " 1) g Ctrl-A on block selected indented lines
" 2 " 2
" 1 " 1

View File

@ -5049,7 +5049,7 @@ func Test_quickfix_window_fails_to_open()
call delete('XquickfixFails') call delete('XquickfixFails')
endfunc endfunc
" Test for updating the quickfix buffer whenever the assocaited quickfix list " Test for updating the quickfix buffer whenever the associated quickfix list
" is changed. " is changed.
func Xqfbuf_update(cchar) func Xqfbuf_update(cchar)
call s:setup_commands(a:cchar) call s:setup_commands(a:cchar)

View File

@ -686,7 +686,7 @@ func Test_matchstr_with_ze()
bwipe! bwipe!
endfunc endfunc
" Check a pattern with a look beind crossing a line boundary " Check a pattern with a look behind crossing a line boundary
func Test_lookbehind_across_line() func Test_lookbehind_across_line()
new new
call append(0, ['Behind:', 'asdfasd<yyy', 'xxstart1', 'asdfasd<yy', call append(0, ['Behind:', 'asdfasd<yyy', 'xxstart1', 'asdfasd<yy',

View File

@ -1356,7 +1356,7 @@ func Test_sort_cmd()
endif endif
endfor endfor
" Needs atleast two lines for this test " Needs at least two lines for this test
call setline(1, ['line1', 'line2']) call setline(1, ['line1', 'line2'])
call assert_fails('sort no', 'E474:') call assert_fails('sort no', 'E474:')
call assert_fails('sort c', 'E475:') call assert_fails('sort c', 'E475:')

View File

@ -924,7 +924,7 @@ describe('API/extmarks', function()
eq(3, set_extmark(ns, 3, positions[2][1], positions[2][2])) eq(3, set_extmark(ns, 3, positions[2][1], positions[2][2]))
eq(4, set_extmark(ns, 0, positions[1][1], positions[1][2])) eq(4, set_extmark(ns, 0, positions[1][1], positions[1][2]))
-- mixing manual and allocated id:s are not recommened, but it should -- mixing manual and allocated id:s are not recommended, but it should
-- do something reasonable -- do something reasonable
eq(6, set_extmark(ns, 6, positions[2][1], positions[2][2])) eq(6, set_extmark(ns, 6, positions[2][1], positions[2][2]))
eq(7, set_extmark(ns, 0, positions[1][1], positions[1][2])) eq(7, set_extmark(ns, 0, positions[1][1], positions[1][2]))

View File

@ -251,7 +251,7 @@ describe("API: set highlight", function()
eq(highlight2_result, meths.get_hl_by_name('Test_hl', false)) eq(highlight2_result, meths.get_hl_by_name('Test_hl', false))
end) end)
it ("can set emtpy cterm attr", function() it ("can set empty cterm attr", function()
local ns = get_ns() local ns = get_ns()
meths.set_hl(ns, 'Test_hl', { cterm = {} }) meths.set_hl(ns, 'Test_hl', { cterm = {} })
eq({}, meths.get_hl_by_name('Test_hl', false)) eq({}, meths.get_hl_by_name('Test_hl', false))

View File

@ -1038,7 +1038,7 @@ describe('jobs', function()
local other_jobid = eval("jobstart(['cat', '-'], g:job_opts)") local other_jobid = eval("jobstart(['cat', '-'], g:job_opts)")
local other_pid = eval('jobpid(' .. other_jobid .. ')') local other_pid = eval('jobpid(' .. other_jobid .. ')')
-- Other job doesn't block first job from recieving SIGHUP on jobclose() -- Other job doesn't block first job from receiving SIGHUP on jobclose()
command('call jobclose(j)') command('call jobclose(j)')
-- Have to wait so that the SIGHUP can be processed by tty-test on time. -- Have to wait so that the SIGHUP can be processed by tty-test on time.
-- Can't wait for the next message in case this test fails, if it fails -- Can't wait for the next message in case this test fails, if it fails

View File

@ -358,7 +358,7 @@ describe('startup', function()
end) end)
it("handles :packadd during startup", function() it("handles :packadd during startup", function()
-- control group: opt/bonus is not availabe by default -- control group: opt/bonus is not available by default
pack_clear [[ pack_clear [[
try try
let g:x = bonus#secret() let g:x = bonus#secret()

View File

@ -173,7 +173,7 @@ for _, cmd in ipairs {'cd', 'chdir'} do
-- Change tab-local working directory and verify it is different -- Change tab-local working directory and verify it is different
command('silent t' .. cmd .. ' ' .. directories.tab) command('silent t' .. cmd .. ' ' .. directories.tab)
eq(globalDir .. pathsep .. directories.tab, cwd()) eq(globalDir .. pathsep .. directories.tab, cwd())
eq(cwd(), tcwd()) -- working directory maches tab directory eq(cwd(), tcwd()) -- working directory matches tab directory
eq(1, tlwd()) eq(1, tlwd())
eq(cwd(), wcwd()) -- still no window-directory eq(cwd(), wcwd()) -- still no window-directory
eq(0, wlwd()) eq(0, wlwd())

View File

@ -215,7 +215,7 @@ describe(':terminal highlight with custom palette', function()
clear() clear()
screen = Screen.new(50, 7) screen = Screen.new(50, 7)
screen:set_default_attr_ids({ screen:set_default_attr_ids({
[1] = {foreground = tonumber('0x123456')}, -- no fg_indexed when overriden [1] = {foreground = tonumber('0x123456')}, -- no fg_indexed when overridden
[2] = {foreground = 12}, [2] = {foreground = 12},
[3] = {bold = true, reverse = true}, [3] = {bold = true, reverse = true},
[5] = {background = 11}, [5] = {background = 11},

View File

@ -728,7 +728,7 @@ end]]
]]} ]]}
end) end)
it('can have virtual text which combines foreground and backround groups', function() it('can have virtual text which combines foreground and background groups', function()
screen:set_default_attr_ids { screen:set_default_attr_ids {
[1] = {bold=true, foreground=Screen.colors.Blue}; [1] = {bold=true, foreground=Screen.colors.Blue};
[2] = {background = tonumber('0x123456'), foreground = tonumber('0xbbbbbb')}; [2] = {background = tonumber('0x123456'), foreground = tonumber('0xbbbbbb')};

View File

@ -1013,7 +1013,7 @@ vimComment xxx match /\s"[^\-:.%#=*].*$/ms=s+1,lc=1 excludenl contains=@vim
end) end)
it('redraws NOT_VALID correctly after message', function() it('redraws NOT_VALID correctly after message', function()
-- edge case: only one window was set NOT_VALID. Orginal report -- edge case: only one window was set NOT_VALID. Original report
-- used :make, but fake it using one command to set the current -- used :make, but fake it using one command to set the current
-- window NOT_VALID and another to show a long message. -- window NOT_VALID and another to show a long message.
command("set more") command("set more")
@ -1227,7 +1227,7 @@ describe('ui/msg_puts_printf', function()
pending('Locale ja_JP.UTF-8 not supported', function() end) pending('Locale ja_JP.UTF-8 not supported', function() end)
return return
elseif helpers.isCI() then elseif helpers.isCI() then
-- Fails non--Windows CI. Message catalog direcotry issue? -- Fails non--Windows CI. Message catalog directory issue?
pending('fails on unix CI', function() end) pending('fails on unix CI', function() end)
return return
end end

View File

@ -26,7 +26,7 @@ describe("multibyte rendering", function()
̊ ̊
x]]) x]])
feed("gg") feed("gg")
-- verify the modifier infact is alone -- verify the modifier in fact is alone
feed_command("ascii") feed_command("ascii")
screen:expect([[ screen:expect([[
^ ̊ | ^ ̊ |

View File

@ -1952,7 +1952,7 @@ describe('builtin popupmenu', function()
]]) ]])
end) end)
it('wildoptions=pum with scrolled mesages ', function() it('wildoptions=pum with scrolled messages ', function()
screen:try_resize(40,10) screen:try_resize(40,10)
command('set wildmenu') command('set wildmenu')
command('set wildoptions=pum') command('set wildoptions=pum')
@ -2191,7 +2191,7 @@ describe('builtin popupmenu', function()
{20:-- Keyword Local completion (^N^P) }{21:match 1 of 65} | {20:-- Keyword Local completion (^N^P) }{21:match 1 of 65} |
]]) ]])
-- can disable blending for indiviual attribute. For instance current -- can disable blending for individual attribute. For instance current
-- selected item. (also tests that `hi Pmenu*` take immediate effect) -- selected item. (also tests that `hi Pmenu*` take immediate effect)
command('hi PMenuSel blend=0') command('hi PMenuSel blend=0')
screen:expect([[ screen:expect([[

View File

@ -544,7 +544,7 @@ function Screen:_wait(check, flags)
elseif not checked then elseif not checked then
err = check() err = check()
if not err and flags.unchanged then if not err and flags.unchanged then
-- expecting NO screen change: use a shorter timout -- expecting NO screen change: use a shorter timeout
success_seen = true success_seen = true
end end
end end

View File

@ -471,7 +471,7 @@ describe('search highlighting', function()
{4:search hit BOTTOM, continuing at TOP} | {4:search hit BOTTOM, continuing at TOP} |
]]) ]])
-- check hilights work also in folds -- check highlights work also in folds
feed("zf4j") feed("zf4j")
command("%foldopen") command("%foldopen")
screen:expect([[ screen:expect([[

View File

@ -527,7 +527,7 @@ describe('systemlist()', function()
end) end)
-- Unlike `system()` which uses SOH to represent NULs, with `systemlist()` -- Unlike `system()` which uses SOH to represent NULs, with `systemlist()`
-- input and ouput are the same. -- input and output are the same.
describe('with linefeed characters inside list items', function() describe('with linefeed characters inside list items', function()
it('converts linefeed characters to NULs', function() it('converts linefeed characters to NULs', function()
eq({'l1\np2', 'line2\na\nb', 'l3'}, eq({'l1\np2', 'line2\na\nb', 'l3'},