aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* ci: remove mjlbach from reviewers (#18297)Michael Lingelbach2022-04-29
|
* fix: suppress "is a directory" messages with shortmess 'F' (#18296)Gregory Anders2022-04-28
| | | | When 'F' is in 'shortmess', don't show messages when editing a directory. This fixes a regression introduced by 0956283.
* vim-patch:ce001a337e28 (#18287)Christian Clason2022-04-27
| | | | | | Update runtime files https://github.com/vim/vim/commit/ce001a337e28fa368f40ac6422835d730fb8ebb1 also add `vimStdPlugin` keywords missing from previous updates
* Merge pull request #18254 from dundargoc/refactor/remove-char_ubfredl2022-04-27
|\ | | | | refactor: replace char_u variables and functions with char
| * refactor: replace char_u variables and functions with charDundar Goc2022-04-25
| | | | | | | | Work on https://github.com/neovim/neovim/issues/459
* | refactor: enable -Wconversion warning for ex_docmd.c (#18277)dundargoc2022-04-27
| | | | | | | | | | | | * refactor: enable -Wconversion warning for ex_docmd.c Work on https://github.com/neovim/neovim/issues/567
* | refactor(build): remove unused includes #17078kylo2522022-04-26
| | | | | | | | Remove unused includes in src/nvim/buffer.c|h using the IWYU library. Yet another step towards #6371 and #549
* | refactor(terminal)!: drop winpty, require Windows 10 #18253erw72022-04-26
| | | | | | | | | | | | | | | | | | | | | | Problem: winpty is only needed for Windows 8.1. Removing it reduces our build and code complexity. Solution: - Remove winpty. - Require Windows 10. closes #18252
* | fix: has() should preserve v:shell_error #18280Andrey Mishchenko2022-04-26
| | | | | | fixes #18278
* | feat(checkhealth): check for slow shell #17829Philip Linell2022-04-26
| | | | | | | | | | | | | | | | | | | | Problem: I had some issues where multiple plugins (vim-fzf and fugitive) was slow because of my `.zshenv`. Solution: Check shell performance in :checkhealth. Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
* | fix(build): missing definitions for sizeof macros #16393kylo2522022-04-26
| | | | | | | | | | Verified with -Wundef Fixes #16392
* | Merge pull request #18260 from dundargoc/refactor/enable-conversion-warningbfredl2022-04-26
|\ \ | | | | | | refactor: enable -Wconversion warning for funcs.c and userfuncs.c
| * | refactor: enable -Wconversion warning for funcs.c and userfuncs.cDundar Goc2022-04-26
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
* | | fix(lsp): fix unnecessary buffers being added on empty diagnostics (#18275)ii142022-04-26
| | | | | | | | | | | | | | | Some language servers send empty `textDocument/publishDiagnostics` messages after indexing the project with URIs corresponding to unopened buffers. This commit guards against opening buffers corresponding to empty diagnostics.
* | | Merge pull request #18267 from zeertzjq/test-eq-arg-orderzeertzjq2022-04-26
|\ \ \ | | | | | | | | test: correct order of arguments to eq() and neq()
| * | | test: correct order of arguments to eq() and neq()zeertzjq2022-04-26
|/ / /
* | | feat(tui): query terminal for CSI u support (#18181)Gregory Anders2022-04-25
| | | | | | | | | | | | | | | | | | On startup query the terminal for CSI u support and enable it using the escape sequence from kitty's progressive enhancement protocol [1]. [1]: https://sw.kovidgoyal.net/kitty/keyboard-protocol/
* | | Merge pull request #18249 from zeertzjq/vim-8.2.4760zeertzjq2022-04-26
|\ \ \ | | | | | | | | vim-patch:8.2.{4760,4765}: matchfuzzy() limit
| * | | vim-patch:8.2.4765: function matchfuzzy() sorts too many itemszeertzjq2022-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Function matchfuzzy() sorts too many items. Solution: Only put matches in the array. (Yegappan Lakshmanan, closes vim/vim#10208) https://github.com/vim/vim/commit/047a7019b293918343998ccbdfabd48c771f5eef
| * | | vim-patch:8.2.4760: using matchfuzzy() on a long list can take a whilezeertzjq2022-04-26
|/ / / | | | | | | | | | | | | | | | | | | Problem: Using matchfuzzy() on a long list can take a while. Solution: Add a limit to the number of matches. (Yasuhiro Matsumoto, closes vim/vim#10189) https://github.com/vim/vim/commit/9029a6e9931eede1d44f613687a2c01b9fe514ec
* / / vim-patch:8.2.4826: .cshtml files are not recognized (#18259)Christian Clason2022-04-25
|/ / | | | | | | | | Problem: .cshtml files are not recognized. Solution: Use html filetype for .cshtml files. (Julien Voisin, closes vim/vim#10212) https://github.com/vim/vim/commit/1f435dafff2452e0b55d1ca457ce7402e526e92a
* | Merge pull request #18257 from dundargoc/refactor/enable-conversion-warning/tagbfredl2022-04-25
|\ \ | | | | | | refactor: enable Wconversion warning for tag
| * | refactor: enable Wconversion warning for tagDundar Goc2022-04-25
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/567
* | | Merge pull request #18255 from bfredl/workaround_versionbfredl2022-04-25
|\ \ \ | |/ / |/| | fix(ci): workaround bug in msgpackparse() on windows caused by api level bump
| * | fix(ci): workaround bug in msgpackparse() on windows caused by api level bumpbfredl2022-04-25
| | |
* | | fix: show autocmd output when F is in shortmess (#18251)Gregory Anders2022-04-25
|/ / | | | | | | | | | | | | | | | | | | | | The default value of including F in 'shortmess' has the unfortunate side effect of hiding output from autocommands. This is a common source of confusion and often leads people to think their autocommands are not working when they are. There is a small snippet in the docs for 'shortmess' indicating that the F flag suppresses autocmd output, but it's not easy to find if you don't already know to look for it. This commit removes that behavior of the F flag to make it only suppress file info when opening a new file.
* / revert: "man.vim: Ensure 'modifiable' in man#init_pager" #17791dundargoc2022-04-25
|/ | | | | | | | | | | | | This reverts commit 526798a941b4cf80fd1f128b40e51fb47c77b654. This will make man filetype not modifiable by default, as it is the superior behavior in my opinion. More importantly, also make it possible for a user to modify man filetypes by adding `set modifiable` in `~/.config/nvim/ftplugin/man.vim` or its equivalent. ref #11450 closes #17595 Co-authored-by: Javier López <graulopezjavier@gmail.com>
* Merge pull request #18234 from zeertzjq/cursearch-reduce-redrawzeertzjq2022-04-25
|\ | | | | perf: only redraw for CurSearch when it is currently in use
| * perf: only redraw for CurSearch when it is currently in usezeertzjq2022-04-25
| | | | | | | | | | | | The check in redraw_for_cursorline() is not needed because VALID_VIRTCOL is always cleared when the cursor moves to another line, so the check in redraw_for_cursorcolumn() is enough.
* | refactor: convert macros to all-caps (#17895)dundargoc2022-04-24
| | | | | | Closes https://github.com/neovim/neovim/issues/6297
* | refactor: enable Wconversion warning for diff (#18094)dundargoc2022-04-24
| | | | | | Work on https://github.com/neovim/neovim/issues/567
* | Merge pull request #18110 from dundargoc/refactor/remove-char_uGregory Anders2022-04-24
|\ \ | | | | | | refactor: replace char_u variables and functions with char
| * | refactor: add function xstrnsaveDundar Goc2022-04-16
| | | | | | | | | | | | | | | | | | | | | xstrnsave is a clone of vim_strnsave that uses char* instead of char_u*. Its purpose short-term is to help reduce the number of casts and for long-term to replace vim_strnsave as the need to use char_u is eliminated.
| * | refactor: replace char_u variables and functions with charDundar Göc2022-04-16
| | | | | | | | | | | | Work on https://github.com/neovim/neovim/issues/459
* | | refactor: add pure attribute to pure functions (#18165)dundargoc2022-04-24
| |/ |/| | | | | This will allow the compilers that support the pure attribute to make further optimizations.
* | fix/PVS #17863dundargoc2022-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(PVS/V002): disable rule completely V002: "Some diagnostic messages may contain incorrect line number in this file." This particular check seems unreliable. It says on their website https://pvs-studio.com/en/docs/warnings/v002/ that this warning occurs when there are multiline pragmas, but there are none in extmark.c. * fix(PVS/V756): ignore "counter is not used inside a nested loop" warning The nested loop starts with "AutoCmd *ac = ap->cmds" so "ap" is definitely used. * fix(PVS/V560): disable "a part of conditional expression is always true" * fix(PVS/V614): potentially uninitialized variable 'blen' used
* | build: bump Doxyfile to minimum required version 1.9.0 #18118dundargoc2022-04-24
| |
* | docs: clarify enhanced modifiers, SHIFT usage #18124Joel Bradshaw2022-04-24
| | | | | | | | Co-authored-by: Justin M. Keyes <justinkz@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* | ci: label all markdown edits as "documentation" #18120casswedson2022-04-24
| |
* | fix(packaging): remove excess forward slash in Wix Patch (#18121)sitiom2022-04-24
| |
* | Merge pull request #18248 from zeertzjq/vim-8.2.4806zeertzjq2022-04-25
|\ \ | | | | | | vim-patch:8.2.{4806,4818}: a mapping using <LeftDrag> does not start Select mode
| * | vim-patch:8.2.4818: no test for what 8.2.4806 fixeszeertzjq2022-04-25
| | | | | | | | | | | | | | | | | | | | | | | | Problem: No test for what 8.2.4806 fixes. Solution: Add a test. (closes vim/vim#10727) https://github.com/vim/vim/commit/ac92ab771952b2a9ee39ea6fa5e70e4c072942d5 Test cannot be used because it must use test_setmouse(). Use a Lua test.
| * | vim-patch:8.2.4806: a mapping using <LeftDrag> does not start Select modezeertzjq2022-04-25
|/ / | | | | | | | | | | | | Problem: A mapping using <LeftDrag> does not start Select mode. Solution: When checking for starting select mode with the mouse also do this when there is typeahead. (closes vim/vim#10249) https://github.com/vim/vim/commit/53ef5731480d8b5aa74137a09b3b164b436ed76b
* | Merge pull request #18243 from zeertzjq/vim-8.2.4808zeertzjq2022-04-24
|\ \ | | | | | | vim-patch:8.2.{4808,4810,4813}: pasting text while indent folding may mess up folds
| * | vim-patch:8.2.4813: pasting text while indent folding may mess up foldszeertzjq2022-04-24
| | | | | | | | | | | | | | | | | | Problem: Pasting text while indent folding may mess up folds. Solution: Adjust the way folds are split. (Brandon Simmons, closes vim/vim#10254) https://github.com/vim/vim/commit/2c40707baa13a53cac4137ffb8b2ac67f50cea63
| * | vim-patch:8.2.4810: missing changes in one filezeertzjq2022-04-24
| | | | | | | | | | | | | | | | | | Problem: Missing changes in one file. Solution: Also change the struct initializers. https://github.com/vim/vim/commit/56dba60216a1bf72c1de299316f4d4ef19e50ad5
| * | vim-patch:8.2.4808: unused item in engine structzeertzjq2022-04-24
|/ / | | | | | | | | | | Problem: Unused item in engine struct. Solution: Remove "expr". Add comment with tags. https://github.com/vim/vim/commit/33d3ce640c63366e26b84c8d6f5798187a258ee2
* | build(clang-format): align with project style #18192dundargoc2022-04-23
| |
* | docs: make docstring consistent with parameters #18178dundargoc2022-04-23
| | | | | | Closes: https://github.com/neovim/neovim/issues/12691
* | ci(backport): remove triggering by comment (#18210)zeertzjq2022-04-23
| | | | | | | | Triggering by comment is not needed. Applying the label is enough to trigger the backport action.