diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 8cbd3d4ef5..8a9c621916 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -9,7 +9,7 @@ body: *Before reporting:* - Confirm the problem is reproducible on [**master**](https://github.com/neovim/neovim/releases/nightly) or [**latest stable**](https://github.com/neovim/neovim/releases/stable) release - Run `make distclean` when encountering build issues - - Search [existing issues](https://github.com/neovim/neovim/issues?q=is%3Aissue+is%3Aopen+label%3Abug,bug-crash) (including [closed](https://github.com/neovim/neovim/issues?q=is%3Aissue+is%3Aclosed+label%3Abug%2Cbug-crash)) + - Search [existing issues](https://github.com/neovim/neovim/issues?q=is%3Aissue%20is%3Aopen%20type%3ABug) (including [closed](https://github.com/neovim/neovim/issues?q=is%3Aissue%20is%3Aclosed%20type%3ABug)) - Read the [FAQ](https://neovim.io/doc/user/faq.html) and ["Reporting Problems" in CONTRIBUTING.md](https://github.com/neovim/neovim/blob/master/CONTRIBUTING.md#reporting-problems). Usage or "How to" questions belong on [stackoverflow](https://vi.stackexchange.com/) and will be closed. diff --git a/runtime/doc/gui.txt b/runtime/doc/gui.txt index 0981514d98..f7aae7ee84 100644 --- a/runtime/doc/gui.txt +++ b/runtime/doc/gui.txt @@ -728,9 +728,12 @@ when the right mouse button is pressed, if 'mousemodel' is set to popup or popup_setpos. The default "PopUp" menu is: >vim - anoremenu PopUp.Go\ to\ definition lua vim.lsp.buf.definition() amenu PopUp.Open\ in\ web\ browser gx anoremenu PopUp.Inspect Inspect + anoremenu PopUp.Go\ to\ definition lua vim.lsp.buf.definition() + anoremenu PopUp.Show\ Diagnostics lua vim.diagnostic.open_float() + anoremenu PopUp.Show\ All\ Diagnostics lua vim.diagnostic.setqflist() + anoremenu PopUp.Configure\ Diagnostics help vim.diagnostic.config() anoremenu PopUp.-1- vnoremenu PopUp.Cut "+x vnoremenu PopUp.Copy "+y diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 53bd814610..d8cf0a3f77 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -4510,11 +4510,12 @@ SystemObj:kill({signal}) *SystemObj:kill()* Example: >lua local obj = vim.system({'sleep', '10'}) - obj:kill('TERM') -- sends SIGTERM to the process + obj:kill('sigterm') -- sends SIGTERM to the process < Parameters: ~ - • {signal} (`integer|string`) Signal to send to the process. + • {signal} (`integer|string`) Signal to send to the process. See + |luv-constants|. SystemObj:wait({timeout}) *SystemObj:wait()* Waits for the process to complete or until the specified timeout elapses. diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index c9a21c45e3..9e9218ed74 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -219,7 +219,7 @@ HIGHLIGHTS • |hl-DiffTextAdd| highlights added text within a changed line. • |hl-OkMsg| |hl-StderrMsg| |hl-StdoutMsg| • |hl-SnippetTabstopActive| highlights the currently active tabstop. -• |hl-PmenuBorder |hl-PmenuShadow| |hl-PmenuShadowThrough| see 'pumborder'. +• |hl-PmenuBorder| |hl-PmenuShadow| |hl-PmenuShadowThrough| see 'pumborder'. LSP @@ -302,7 +302,7 @@ OPTIONS • 'winborder' "bold" style, custom border style. • |g:clipboard| accepts a string name to force any builtin clipboard tool. • 'busy' sets a buffer "busy" status. Indicated in the default statusline. -• 'pumborder' add a border to the popup menu. +• 'pumborder' adds a border to the popup menu. PERFORMANCE diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 35d08c46b6..5b66625649 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -5355,10 +5355,10 @@ NormalFloat Normal text in floating windows. *hl-FloatBorder* FloatBorder Border of floating windows. *hl-FloatShadow* -FloatShadow Blended areas when border is shadow. +FloatShadow Blended areas when border is "shadow". *hl-FLoatShadowThrough* -FloatShadownThrough - shadow corners when border is shadow. +FloatShadowThrough + Shadow corners when border is "shadow". *hl-FloatTitle* FloatTitle Title of floating windows. *hl-FloatFooter* @@ -5390,10 +5390,10 @@ PmenuMatchSel Popup menu: Matched text in selected item. Combined with *hl-PmenuBorder* PmenuBorder Popup menu: border of popup menu. *hl-PmenuShadow* -PmenuShadow Popup menu: blended areas when 'pumborder' is shadow. +PmenuShadow Popup menu: blended areas when 'pumborder' is "shadow". *hl-PmenuShadowThrough* -PmenuShadownThrough - Popup menu: shadow corners when 'pumborder' is shadow. +PmenuShadowThrough + Popup menu: shadow corners when 'pumborder' is "shadow". *hl-ComplMatchIns* ComplMatchIns Matched text of the currently inserted completion. *hl-PreInsert* diff --git a/runtime/lua/vim/_system.lua b/runtime/lua/vim/_system.lua index 7ff61a1c68..00c362696f 100644 --- a/runtime/lua/vim/_system.lua +++ b/runtime/lua/vim/_system.lua @@ -98,10 +98,10 @@ end --- Example: --- ```lua --- local obj = vim.system({'sleep', '10'}) ---- obj:kill('TERM') -- sends SIGTERM to the process +--- obj:kill('sigterm') -- sends SIGTERM to the process --- ``` --- ---- @param signal integer|string Signal to send to the process. +--- @param signal integer|string Signal to send to the process. See |luv-constants|. function SystemObj:kill(signal) self._state.handle:kill(signal) end diff --git a/src/nvim/insexpand.c b/src/nvim/insexpand.c index 31ae200866..f5799ddfa9 100644 --- a/src/nvim/insexpand.c +++ b/src/nvim/insexpand.c @@ -2260,7 +2260,7 @@ bool ins_compl_has_autocomplete(void) return curbuf->b_p_ac >= 0 ? curbuf->b_p_ac : p_ac; } -/// Cacluate fuzzy score and sort completion matches unless sorting is disabled. +/// Calculate fuzzy score and sort completion matches unless sorting is disabled. static void ins_compl_fuzzy_sort(void) { unsigned cur_cot_flags = get_cot_flags(); diff --git a/test/old/testdir/gen_opt_test.vim b/test/old/testdir/gen_opt_test.vim index 76aae7d19f..54edf6e5b1 100644 --- a/test/old/testdir/gen_opt_test.vim +++ b/test/old/testdir/gen_opt_test.vim @@ -96,6 +96,7 @@ let test_values = { \ 'highlight': [[&highlight], []], \ 'iminsert': [[0, 1], [-1, 2, 3, 999]], \ 'imsearch': [[-1, 0, 1], [-2, 2, 3, 999]], + \ 'pumborder': [['rounded', 'none', 'single', 'solid'], ['xxx', 'none,solid']], \ 'signcolumn': [['auto', 'no', 'yes', 'number', 'yes:1', 'auto:1-9'], \ ['', 'xxx', 'no,yes', 'auto:0-9', 'auto:9-1', 'auto:1-@']], \ 'writedelay': [[0, 100], [-1, '']], @@ -300,7 +301,6 @@ let test_values = { \ 'alpha,hex,bin'], \ ['xxx']], \ 'patchmode': [['', 'xxx', '.x'], [&backupext, '*']], - \ 'pumborder': [['rounded', 'none', 'single', 'solid'], ['xxx', 'none,solid']], "\ 'previewpopup': [['', 'height:13', 'width:20', 'highlight:That', "\ " 'align:item', 'align:menu', 'border:on', 'border:off', "\ " 'width:10,height:234,highlight:Mine'], @@ -311,6 +311,10 @@ let test_values = { "\ " ['xxx', 'xxx,c:yes', 'xxx:', 'xxx:,c:yes']], "\ 'printoptions': [['', 'header:0', 'left:10pc,top:5pc'], "\ " ['xxx', 'header:-1']], + "\ 'pumborder': [['', 'single', 'double', 'round', 'ascii', 'shadow', + "\ " 'double,margin,shadow', 'custom:─;│;─;│;┌;┐;┘;└,shadow', + "\ " 'ascii,margin'], + "\ " ['xxx', 'margin', 'margin,shadow', 'custom:', 'custom:+;']], "\ 'renderoptions': [[''], ['xxx']], \ 'rightleftcmd': [['search'], ['xxx']], \ 'rulerformat': [['', 'xxx'], ['%-', '%(', '%15(%%']],