aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:9.0.0782: OpenVPN files are not recognized (#20702)Christian Clason2022-10-17
| | | | | Problem: OpenVPN files are not recognized. Solution: Add patterns for OpenVPN files. (closes vim/vim#11391) https://github.com/vim/vim/commit/4bf67ec52e938a3edaa4f452adab42a57505f940
* ci: add cirrus to isCI function to skip tests (#20526)dundargoc2022-10-17
| | | | The environment variable CIRRUS_CI is manually passed to RunTests.cmake as it doesn't get passed when using cmake script mode.
* fix(runtime): use `g:terminal_color_{0-15}` in colorschemes (#20637)C.D. MacEachern2022-10-17
|
* Merge pull request #20685 from luukvbaal/scrollzeertzjq2022-10-17
|\ | | | | fix: 'scroll' is not set correctly for floats with 'splitkeep'
| * test: add a test for #20684zeertzjq2022-10-17
| |
| * fix: 'scroll' is not set correctly for floats with 'splitkeep'Luuk van Baal2022-10-17
|/ | | | | | | | | vim-patch:9.0.0780: 'scroll' value computed in unexpected location Problem: 'scroll' value computed in unexpected location. Solution: Compute 'scroll' when the window height is changed. (Luuk van Baal, closes vim/vim#11387) https://github.com/vim/vim/commit/a1a46da87d91cfbf46866627b3e66a757145e8c3
* feat(api): nvim_select_popupmenu_item support cmdline pum (#20652)zeertzjq2022-10-17
|
* fix(man): handle absolute paths as `:Man` targets (#20624)Mahmoud Al-Qudsi2022-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(man): handle absolute paths as :Man targets Previously, attempting to provide `:Man` with an absolute path as the name would cause neovim to return the following error: ``` Error detected while processing command line: /usr/local/share/nvim/runtime/lua/man.lua:690: /usr/local/share/nvim/runtime/lua/man.lua:683: Vim:E426: tag not found: nil(nil) Press ENTER or type command to continue ``` ..because it would try to validate the existence of a man page for the provided name by executing `man -w /some/path` which (on at least some Linux machines [0]) returns `/some/path` instead of the path to the nroff files that would be formatted to satisfy the man(1) lookup. While man pages are not normally named after absolute paths, users shouldn't be blamed for trying. Given such a name/path, neovim would **not** complain that the path didn't have a corresponding man file but would error out when trying to call the tag function for the null-propagated name-and-section `nil(nil)`. (The same underlying error existed before this function was ported to lua, but did not exhibit the lua-specific `nil(nil)` name; instead a tag lookup for `()` would fail and error out.) With this patch, we detect the case where `man -w ...` returns the same value as the provided name to not only prevent invoking the tag function for a non-existent/malformed name+sect but also to properly report the non-existence of a man page for the provided lookup (the absolute path). While man(1) can be used to directly read an nroff-formatted document via `man /path/to/nroff.doc`, `:Man /path/to/nroff.doc` never supported this behavior so no functionality is lost in case the provided path _was_ an nroff file. [0]: `man -w /absolute/path` returning `/absolute/path` observed on an Ubuntu 18.04 installation. * test: add regression test for #20624 Add a functional test to `man_spec.lua` to check for a regression for #20624 by first obtaining an absolute path to a random file and materializing it to disk, then attempting to query `:Man` for an entry by that same name/path. The test passes if nvim correctly reports that there is no man page correspending to the provided name/path and fails if any other error (or no error) is shown.
* Merge pull request #20665 from lewis6991/fix/decor_redrawLewis Russell2022-10-17
|\
| * fix(decoration): call providers in win_update() earlierLewis Russell2022-10-15
| | | | | | | | Fixes #20651
* | feat(runtime)!: remove filetype.vim (#20428)Christian Clason2022-10-17
| | | | | | | | | | | | Made obsolete by now graduated `filetype.lua` (enabled by default). Note that changes or additions to the filetype detection still need to be made through a PR to vim/vim as we port the _logic_ as well as tests.
* | vim-patch:3c053a1a5ad2 (#20679)Christian Clason2022-10-17
| | | | | | | | Update runtime files https://github.com/vim/vim/commit/3c053a1a5ad2a3c924929e11f2b9af20a8b901e2
* | vim-patch:9.0.0771: cannot always tell the difference beween tex and … ↵Jonas Strittmatter2022-10-17
| | | | | | | | | | | | | | | | | | | | (#20687) vim-patch:9.0.0771: cannot always tell the difference beween tex and rexx files Problem: Cannot always tell the difference beween tex and rexx files. Solution: Recognize tex by a leading backslash. (Martin Tournoij, closes vim/vim#11380) https://github.com/vim/vim/commit/bd053f894b0d7652928201faa68c53d1ce2acdc5
* | docs: "supported platforms" matrix #19615dundargoc2022-10-16
| | | | | | | | | | | | Inspired by libuv's own SUPPORTED_PLATFORMS.md: https://github.com/libuv/libuv/blob/v1.x/ https://neovim.io/doc/user/support.html
* | fix(lsp): reporting bogus capabilities in CodeActionKind #20678David Hotham2022-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: LSP client provides bogus capabilities in CodeActionKind. LSP logs show this in the "initialize" message: codeActionKind = { valueSet = { "Empty", "QuickFix", "Refactor", "RefactorExtract", "RefactorInline", "RefactorRewrite", "Source", "SourceOrganizeImports", "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite", "source", "source.organizeImports" } Solution: Only the values from the CodeActionKind table should be presented, not also the keys. fix #20657
* | feat: mention ":help news" in intro #20674Gregory Anders2022-10-16
| |
* | Merge pull request #20677 from zeertzjq/vim-9.0.0761zeertzjq2022-10-16
|\ \ | | | | | | vim-patch:9.0.{0761,0762,0764}: 'lispoptions'
| * | vim-patch:9.0.0764: indent and option tests failzeertzjq2022-10-16
| | | | | | | | | | | | | | | | | | Problem: Indent and option tests fail. Solution: Change OP_INDENT. Add entry to options test table. https://github.com/vim/vim/commit/c8b673557390e5cd20bc0a4c2786d0db1d77a24c
| * | vim-patch:9.0.0761: cannot use 'indentexpr' for Lisp indentingzeertzjq2022-10-16
|/ / | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use 'indentexpr' for Lisp indenting. Solution: Add the 'lispoptions' option. https://github.com/vim/vim/commit/49846fb1a31de99f49d6a7e70efe685197423c84 vim-patch:9.0.0762: build failure Problem: Build failure. Solution: Add missing change. https://github.com/vim/vim/commit/4b082c4bd05f504fda1acaa9d28fca55a2d04857
* / vim-patch:9.0.0765: with a Visual block a put command column may go negative ↵zeertzjq2022-10-16
|/ | | | | | | (#20676) Problem: With a Visual block a put command column may go negative. Solution: Check that the column does not become negative. https://github.com/vim/vim/commit/36343ae0fb7247e060abfd35fb8e4337b33abb4b
* refactor(drawscreen.c): reduce scopes of locals (#20668)Lewis Russell2022-10-15
|
* Merge pull request #20140 from dundargoc/refactor/char_u/12bfredl2022-10-15
|\ | | | | refactor: replace char_u with char 12: remove `STRLEN` part 2
| * refactor: replace char_u with charDundar Göc2022-10-15
| | | | | | | | Work on https://github.com/neovim/neovim/issues/459
* | Merge pull request #20670 from zeertzjq/vim-9.0.0737zeertzjq2022-10-15
|\ \ | | | | | | vim-patch:9.0.{partial:0737,0754}: lisp indent fixes
| * | vim-patch:9.0.0754: 'indentexpr' overrules lisp indenting in one situationzeertzjq2022-10-15
| | | | | | | | | | | | | | | | | | Problem: 'indentexpr' overrules lisp indenting in one situation. Solution: Add "else" to keep the lisp indent. (issue vim/vim#11327) https://github.com/vim/vim/commit/a79b35b5781ae770334cec781d17fec3875f8108
| * | vim-patch:partial:9.0.0737: Lisp word only recognized when a space followszeertzjq2022-10-15
| |/ | | | | | | | | | | | | | | | | Problem: Lisp word only recognized when a space follows. Solution: Also match a word at the end of a line. Rename the test. Use a compiled function to avoid backslashes. https://github.com/vim/vim/commit/d26c5805bcbd630dab0478c2d22503a6e32a83c1 Keep the old Test_lisp_indent().
* / refactor(shada.c): clint (#20599)Lewis Russell2022-10-15
|/
* Merge pull request #20663 from zeertzjq/vim-9.0.0753zeertzjq2022-10-15
|\ | | | | vim-patch:partial:{3e79c97c18c5,9da17d7c5707,9.0.0753}
| * vim-patch:partial:9.0.0753: some Ex commands are not in the help indexzeertzjq2022-10-15
| | | | | | | | | | | | | | | | | | Problem: Some Ex commands are not in the help index. Solution: Add the missing commands. Add a script to check all Ex commands are in the help index. (Yee Cheng Chin, closes vim/vim#11371) https://github.com/vim/vim/commit/b77bdce120d7e140d0d0bd535ec9febdef78993d Only port index.txt docs for :star and :horizontal.
| * vim-patch:partial:9da17d7c5707zeertzjq2022-10-15
| | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/9da17d7c57071c306565da6a35c3704db1916b78 Only port index.txt, syntax.txt and uganda.txt.
| * vim-patch:partial:3e79c97c18c5zeertzjq2022-10-15
| | | | | | | | | | | | | | Update runtime files; use compiled functions https://github.com/vim/vim/commit/3e79c97c18c50f97797ab13ed81c4011eba9aba0 Only port uganda.txt.
* | Merge #20634 fix(windows): set console icon later in startupJustin M. Keyes2022-10-15
|\ \
| * | refactor(windows): move os_icon_xx functionsJustin M. Keyes2022-10-14
| | |
| * | fix(windows): set console icon later in startupJustin M. Keyes2022-10-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Windows console icon is set early in startup, but there are some cases where `os_exit` is called and we don't restore the original icon. Solution: - Move `os_icon_init()` later in the startup sequence, and only if `use_builtin_ui==true`. - Rename functions: use `os_` prefix for platform-specific code.
* | | docs(dev-style): remove rule about variable declarations (#20446)kylo2522022-10-15
| |/ |/| | | | | The other style rules such as "initialize variables in the declaration" should already take care of this rule automatically.
* | Merge pull request #20662 from zeertzjq/vim-9.0.0614zeertzjq2022-10-15
|\ \ | | | | | | vim-patch:8.1.0342,9.0.{0614,0616}: SpellFileMissing autocmd may delete buffer
| * | vim-patch:9.0.0616: spell test fails because error message changedzeertzjq2022-10-15
| | | | | | | | | | | | | | | | | | Problem: Spell test fails because error message changed. Solution: Adjust expected error message. https://github.com/vim/vim/commit/371951d0c34d4f44b50ad8bc8d30a4ef7effade6
| * | vim-patch:9.0.0614: SpellFileMissing autocmd may delete bufferzeertzjq2022-10-15
| | | | | | | | | | | | | | | | | | Problem: SpellFileMissing autocmd may delete buffer. Solution: Disallow deleting the current buffer to avoid using freed memory. https://github.com/vim/vim/commit/ef976323e770315b5fca544efb6b2faa25674d15
| * | vim-patch:8.1.0342: crash when a callback deletes a window that is being usedzeertzjq2022-10-15
|/ / | | | | | | | | | | | | | | | | | | | | Problem: Crash when a callback deletes a window that is being used. Solution: Do not unload a buffer that is being displayed while redrawing the screen. Also avoid invoking callbacks while redrawing. (closes vim/vim#2107) https://github.com/vim/vim/commit/94f01956a583223dafe24135489d0ab1100ab0ad Omit parse_queued_messages(): N/A. Cherry-pick a break statement from patch 8.1.0425.
* | vim-patch:9.0.0752: Rprofile files are not recognized (#20658)Christian Clason2022-10-15
| | | | | | | | | | Problem: Rprofile files are not recognized. Solution: Recognize Rprofile files as "r". (closes vim/vim#11369) https://github.com/vim/vim/commit/7e120ffccbf81ae8acac28f11fbd5eab79a1630d
* | vim-patch:9.0.0750: crash when popup closed in callback (#20659)zeertzjq2022-10-15
| | | | | | | | | | Problem: Crash when popup closed in callback. (Maxim Kim) Solution: In syntax_end_parsing() check that syn_block is valid. https://github.com/vim/vim/commit/0abd6cf62d65180dc2c40d67cd95f13b0691f7ea
* | Merge pull request #20645 from lewis6991/fix/decor_redraw_same_idLewis Russell2022-10-14
|\ \ | |/ |/| fix(decoration): redraw correctly when re-using ids
| * fix(decoration): redraw correctly when re-using idsLewis Russell2022-10-14
| | | | | | | | | | | | | | | | 00cfc1d (from #20249) reduced the amount of unnecessary redraws. This surfaced an issue where if and extmark with a specific ID is repositioned to a different row, the decorations from the old row were not redrawn and removed. This change fixes that by redrawing the old row.
* | fix(completion): set pum_size even if ext_popupmenu is used (#20648)zeertzjq2022-10-14
| | | | | | | | This allows CompleteChanged event to get the correct `v:event.size`. It should be harmless and more consistent to also set `pum_array`.
* | docs: fix/remove invalid URLs #20647Justin M. Keyes2022-10-14
| |
* | build: fix incorrect clang-tidy identifier rules (#20650)dundargoc2022-10-14
| | | | | | Also remove identifier rules that are C++ only.
* | fix(lua): on_yank error with blockwise multibyte region #20162Daniel Zhang2022-10-14
|/ | | | | Prevent out of range error when calling `str_byteindex`. Use `vim.str_byteindex(bufline, #bufline)` to cacluate utf length of `bufline`. fix #20161
* Merge pull request #20545 from lewis6991/remove_cscopeLewis Russell2022-10-14
|\
| * refactor(tag): remove return type from do_tag()Lewis Russell2022-10-13
| |
| * feat(cscope)!: removeLewis Russell2022-10-13
| |