aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | ci: add workflow_dispatch event to testing workflowsdundargoc2024-03-27
| | | | | | | | | | | | This allows us to easily test the release branch if needed.
| * | test(old): skip flaky test (#28060)dundargoc2024-03-27
| | |
| * | vim-patch:9.1.0196: filetype: support for gnuplot files is lacking (#27972)Christian Clason2024-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: filetype: support for gnuplot files is lacking Solution: Also detect *.gnuplot files (RobbiZ98) closes: vim/vim#14243 https://github.com/vim/vim/commit/3a6bd0c5c743bf69d2e8af4c8b3c6b2cb5f3631a Co-authored-by: RobbiZ98 <113035863+RobbiZ98@users.noreply.github.com>
| * | vim-patch:9.1.0212: CI: MS-Windows fails in test_winfixbuf (#28056)zeertzjq2024-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: CI: MS-Windows fails in test_winfixbuf (after v9.1.208) Solution: Skip Ms-Windows for now, fix style related: vim/vim#14286 https://github.com/vim/vim/commit/79b2867ce3f4ed99d8c4e06c2c3b8f105f67c53a Co-authored-by: Christian Brabandt <cb@256bit.org>
| * | fix(treesitter): return correct match table in iter_captures()Lewis Russell2024-03-27
| | |
| * | Merge pull request #28025 from luukvbaal/introfloatbfredl2024-03-27
| |\ \ | | |/ | |/| fix(intro): still show intro message with floating window
| | * fix(intro): still show intro message with floating windowLuuk van Baal2024-03-27
| | | | | | | | | | | | Stop drawing the intro only after a split is opened.
| * | refactor(options): swap `immutable` and `hidden` option property namesFamiu Haque2024-03-27
| | | | | | | | | | | | Ref: https://github.com/neovim/neovim/pull/28018#issuecomment-2021622120
| * | Merge pull request #28046 from bfredl/nosethl_1bfredl2024-03-27
| |\ \ | | | | | | | | refactor(tests): use new global defaults instead of set_default_attr_ids
| | * | refactor(tests): use new global defaults instead of set_default_attr_idsbfredl2024-03-26
| | | | | | | | | | | | | | | | This will be done in batches.
| * | | vim-patch:9.1.0208: winfixbuf does not allow to re-edit current buffer (#28054)Colin Kennedy2024-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: winfixbuf does not allow to re-edit current buffer (Tim Pope, after v9.1.0147) Solution: Explicitly allow :e even when 'winfixbuf' is set, since it just re-loads the current buffer (Colin Kennedy) fixes: vim/vim#14237 closes: vim/vim#14286 https://github.com/vim/vim/commit/65e580bd5610465bb6b9c1a546b7a8d00c76aa47
| * | | test(tui_spec): fix flaky test for isolated "stop paste" (#28053)zeertzjq2024-03-27
| | | | | | | | | | | | In rare cases there may be multiple chunks of phase 2 because of timing.
| * | | refactor(tui): reorder functions for query and response (#28051)zeertzjq2024-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Group functions for key encoding together. - Move the handle_modereport() branch before the handle_unknown_csi() branch to match the order of the corresponding functions, but don't move handle_term_response() yet, as that will be subject to further changes (e.g. for #26744).
| * | | feat(diagnostic): add support for many namespaces filtering in GetOpts (#28045)Mayrom2024-03-26
| | | |
| * | | vim-patch:9.1.0207: No autocommand when writing session file (#28048)zeertzjq2024-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No autocommand when writing session file Solution: Add SessionWritePost autocommand (Colin Kennedy) fixes: vim/vim#14242 closes: vim/vim#14288 https://github.com/vim/vim/commit/e5f2280381250801a28dcff9823e6f94e7b163fc Co-authored-by: Colin Kennedy <colinvfx@gmail.com>
| * | | refactor(options): make `immutable` and `hidden` options distinctFamiu Haque2024-03-26
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Currently, the `immutable` property of options can be applied for options that are hidden and options whose value simply can't be changed. Which is problematic when attempting to convert an option like `'maxcombine'` into an immutable option, because trying to `:set` an immutable option currently gives an error, which is only desired behavior for hidden options, not options that are actually immutable. Solution: Separate the `immutable` property into two distinct `hidden` and `immutable` properties. Change all options with the `immutable` property to use the `hidden` property instead. Also add `p_mco` as an `immutable` option, as its value cannot be changed, and the underlying variable is not used anywhere.
| * | | vim-patch:63833bb0217fChristian Clason2024-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime(json5): add basic indent support (vim/vim#14298) https://github.com/vim/vim/commit/63833bb0217fbfd5556a77103bd6c1ce78cfd996 Co-authored-by: Rocco Mao <dapeng.mao@qq.com>
| * | | vim-patch:63d68c2c218eChristian Clason2024-03-26
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime(java): Update java[CR]_JavaLang type lists (vim/vim#14297) - Add to the list of java.lang runtime exceptions two new types: MatchException (Pattern Matching for _switch_) and WrongThreadException (Virtual Threads). - "Demote" Compiler (removed in JDK 21) from the list of java.lang class types to a new list javaLangDeprecated. References: https://bugs.openjdk.org/browse/JDK-8205129 https://bugs.openjdk.org/browse/JDK-8282274 https://bugs.openjdk.org/browse/JDK-8284161 https://github.com/vim/vim/commit/63d68c2c218eeb80c164e1c56c53f51a9e92a5eb Co-authored-by: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com>
| * | test(lsp): fix flaky basic_finish test again (#28041)zeertzjq2024-03-26
| | | | | | | | | | | | | | | | | | | | | Problem: LSP basic_finish test modified in #27899 is flaky again after #28030. Solution: Run on_setup() immediately after setup using a before_init callback.
| * | docs: remove remaining mentions of hkmap (#28038)zeertzjq2024-03-26
| | |
| * | feat(tui): support undercurl in WezTerm (#28037)zeertzjq2024-03-26
| | | | | | | | | | | | | | | Also fix some typos in windows.ti while at it. Close #21699
| * | fix(filetype): don't use fnamemodify() with :e for extension (#27976)zeertzjq2024-03-26
| | | | | | | | | | | | | | | | | | | | | Use pattern matching instead, as fnamemodify() with :e produces an empty string when the file name only has an extension, leading to differences in behavior from Vim. Related #16955 #27972
| * | refactor(lsp): simplify client trackingLewis Russell2024-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove: - uninitialized_clients - active_clients - all_buffer_active_clients - Add: - all_clients - Use `lsp.get_clients()` to get buffer clients.
| * | vim-patch:9.1.0204: Backspace inserts spaces with virtual text and ↵zeertzjq2024-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'smarttab' (#28032) Problem: Backspace inserts spaces with virtual text and 'smarttab'. Solution: Ignore virtual text and wrapping when backspacing. (zeertzjq) related: neovim/neovim#28005 closes: vim/vim#14296 https://github.com/vim/vim/commit/0185c7701434f1fbbf83fecd6384a19c1d2fc44e Co-authored-by: VanaIgr <vanaigranov@gmail.com>
| * | fix(edit): backspace adds extra spaces for inline virtual text (#28005)vanaigr2024-03-26
| | | | | | | | | | | | Problem: Backspace adds extra spaces for inline virtual text. Solution: Ignore virtual text and wrapping when backspacing.
| * | fix(test): typingLewis Russell2024-03-25
| | |
| * | vim-patch:ab01adf7c65bChristian Clason2024-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime(doc): Update options.txt closes: vim/vim#14295 https://github.com/vim/vim/commit/ab01adf7c65b4ee350b402ab3ef1e7dfa5e074f1 Co-authored-by: Song-Tianxiang <149415622+Song-Tianxiang@users.noreply.github.com>
| * | vim-patch:9.1.0205: Cannot use modifiers before :-Ntabmove (#28031)zeertzjq2024-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use modifiers before :-Ntabmove. Solution: Check backwards from the command instead of checking from the start of the command line. Slightly adjust docs to make them more consistent (zeertzjq). closes: vim/vim#14289 https://github.com/vim/vim/commit/076faac5378cf517baa8c331c57488d39efadec0
| * | vim-patch:8e59a7ba8877Christian Clason2024-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime(java): Recognise the inline kind of the {@return} tag (vim/vim#14284) Also: - Refine comment matching (javaComment{Error\ and,Start}). - Continue rewriting regexps (prefer atom grouping with non-capturing parens; factor out common prefixes in alternations). - Allow for relative paths with the _file_ attribute of {@snippet}. - Anticipate HTML in the @see tags. - Match the nullary method parens in javaDocSeeTagParam. - Improve the boundary patterns for summary sentences of documentation. > This sentence ends at ... or at the first tag (as defined > below). There are Java documentation tags (@) and there are HTML tags (<?>) (with Markdown looming large; see JEP 467). With block tags, e.g. @param, @return, @see, we begin another documentation "sentence" whether or not the author has terminated the summary sentence with a period; with .<!-- -->, we may follow abbreviations, enumerations, initials, (but instead consider @literal or &nbsp;) _within_ the summary sentence. On the other hand, inline tags, e.g. @code, @link, @literal, should not terminate the summary sentence. References: https://bugs.openjdk.org/browse/JDK-8075778 https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html#firstsentence https://docs.oracle.com/en/java/javase/21/docs/specs/javadoc/doc-comment-spec.html https://github.com/vim/vim/commit/8e59a7ba88776d5425bafc6eefd978de3312fcdf Co-authored-by: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com>
| * | Revert "refactor(lsp): simplify client tracking"Lewis Russell2024-03-25
| | | | | | | | | | | | This reverts commit 3f238b39cfdf27657b2d9452c6ffd28f8209c95f.
| * | ci: use the same logic to determine build type for all releasesdundargoc2024-03-25
| | |
| * | refactor(lsp): simplify client trackingLewis Russell2024-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove: - uninitialized_clients - active_clients - all_buffer_active_clients - Add: - all_clients - Use `lsp.get_clients()` to get buffer clients.
| * | vim-patch:3e72bf10a0a2Christian Clason2024-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime(java): Recognise the {@snippet} documentation tag (vim/vim#14271) Remember that ‘code fragments are typically Java source code, but they may also be fragments of properties files, source code in other languages, or plain text.’ Therefore, with these changes, markup tags are highlighted in the Java source files (as external snippets) and in the {@snippet} tags. Also: - Improve matching of the multi-line {@code} documentation tag with any contained balanced braces. - Recognise the {@literal} documentation tag. - Highlight stray blanks in comments. Related to an enhancement proposal for PCRE-like callouts discussed at https://github.com/vim/vim/issues/11217. References: https://openjdk.org/jeps/413 https://docs.oracle.com/en/java/javase/21/docs/specs/javadoc/doc-comment-spec.html https://github.com/vim/vim/commit/3e72bf10a0a2fc34f01ff9663ed3324c2a140228 Co-authored-by: Aliaksei Budavei <32549825+zzzyxwvut@users.noreply.github.com>
| * | Merge pull request #28006 from wookayin/ts/refactor-testsGregory Anders2024-03-25
| |\ \ | | |/ | |/| test(treesitter): refactor parser_spec, and separate query_spec
| | * test(treesitter): separate out query-related tests into query_specJongwook Choi2024-03-24
| | | | | | | | | | | | | | | | | | Move test cases that are more about treesitter query API rather than parser API or LanguageTree out of "treesitter/parser_spec", and collect them in another test suite "treesitter/query_spec".
| | * test(treesitter): improve the style of treesitter/parser_specJongwook Choi2024-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | General refactoring, including: - Improve whitespace and indentation - Prefix captures with `@` - Add more comments on `iter_capture()` tests - Move `test_query` up closer to the fixture source string No behavioral changes are made.
| * | refactor(backup): remove duplicate os_copy_xattr() (#28020)zeertzjq2024-03-25
| | | | | | | | | | | | The first os_copy_xattr() is inside #ifdef UNIX, while the second isn't, so the first one isn't actually needed.
| * | fix(backup): E1509 when writing extended attr to symlink (#28014)Razvan-Adrian Ciochina2024-03-25
| | | | | | | | | | | | | | | | | | | | | | | | Problem: E1509 when writing extended attributes to a symlink. Solution: Copy the file before copying extended attributes. On Fedora, the attribute being set is "security.selinux". For normal, non-symlink files this attribute doesn't show up and that's why calling os_copy_xattr() doesn't break in that case.
| * | vim-patch:4b715bdaf4caChristian Clason2024-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime(netrw): Fix typo in netrw#NetWrite (vim/vim#14283) Fix typo in netrw#NetWrite (http) error message call. https://github.com/vim/vim/commit/4b715bdaf4ca08ba0f64475e250c0fe799ab6d9b Co-authored-by: dkearns <dougkearns@gmail.com>
| * | ci: provide separate macos releases for intel and armdundargoc2024-03-24
| | | | | | | | | | | | | | | | | | This will immensely reduce the complexity required to support both architectures, reduce overall lines of code and unblock follow-up simplifications.
| * | vim-patch:6f438199c92bChristian Clason2024-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime(compiler): update errorformat for dot and neato compiler (vim/vim#14257) * add errorformat for dot compiler * add errorformat for neato compiler https://github.com/vim/vim/commit/6f438199c92b3258c1faeba1c5ebddd2ce247658 Co-authored-by: Enno <Konfekt@users.noreply.github.com>
| * | vim-patch:d3c0ff5d5a90Christian Clason2024-03-24
| |/ | | | | | | | | | | | | | | | | | | | | runtime(termdebug): allow multibyte characters as breakpoint signs (vim/vim#14274) Allow multibyte characters as termdebug signs using slice() function https://github.com/vim/vim/commit/d3c0ff5d5a9076999a8504ee4d23a2c5abaf494e Co-authored-by: Mihai Ciuraru <mihai.ciuraru@gmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
| * ci(windows): optionally test windows with ASANdundargoc2024-03-23
| | | | | | | | Add the label `ci:windows-asan` to enable it.
| * fix(vim.iter): use correct cmp function when truncating tail in `take` (#27998)Calvin Bochulak2024-03-23
| |
| * Merge pull request #27980 from bfredl/noignorebfredl2024-03-23
| |\ | | | | | | refactor(tests): all screen tests should use highlights
| | * refactor(tests): all screen tests should use highlightsbfredl2024-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first installment of a multi-PR series significantly refactoring how highlights are being specified. The end goal is to have a base set of 20 ish most common highlights, and then specific files only need to add more groups to that as needed. As a complicating factor, we also want to migrate to the new default color scheme eventually. But by sharing a base set, that future PR will hopefully be a lot smaller since a lot of tests will be migrated just simply by updating the base set in place. As a first step, fix the anti-pattern than Screen defaults to ignoring highlights. Highlights are integral part of the screen state, not something "extra" which we only test "sometimes". For now, we still allow opt-out via the intentionally ugly screen._default_attr_ids = nil The end goal is to get rid of all of these eventually (which will be easier as part of the color scheme migration)
| * | build: use `GIT_REPOSITORY` for local URLsdundargoc2024-03-23
| | | | | | | | | | | | | | | | | | | | | `GIT_REPOSITORY` will cause cmake to rebuild if local dependency changes, which isn't the case for `URL`. Also document how to test a different commits of a dependency.
| * | vim-patch:9.1.0199: Not enough tests for the slice() function (#27991)zeertzjq2024-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Not enough tests for the slice() function. Solution: Test with multibyte chars, and in both Legacy and Vim9 script. Update docs to be clearer about how it treats composing chars. (zeertzjq) closes: vim/vim#14275 https://github.com/vim/vim/commit/ad38769030b5fa86aa0e8f1f0b4266690dfad4c9
| * | fix(filetype): use unexpanded file name (#27931)zeertzjq2024-03-23
| | | | | | | | | | | | | | | | | | When the edited file is a symlink, the unexpanded file name is needed to to achieve the same behavior as the autocommand pattern matching in Vim. Neither args.file nor args.match are guaranteed to be unexpanded, so use bufname() instead.
| * | Merge pull request #27987 from zeertzjq/vim-8.2.2318zeertzjq2024-03-23
| |\ \ | | | | | | | | vim-patch:8.2.{2318,2605}