aboutsummaryrefslogtreecommitdiff
path: root/test/functional
Commit message (Collapse)AuthorAge
...
* | | | fix(bufupdates): send correct updates for visual pasteThomas Vigouroux2021-08-25
| |/ / |/| | | | | | | | | | | | | | One step further towards stable tree-sitter. Co-authored-by: Björn Linse <bjorn.linse@gmail.com>
* | | Merge pull request #15434 from Dkendal/feature-lua-treesitter-siblingThomas Vigouroux2021-08-23
|\ \ \ | | | | | | | | feat(treesitter): add next, prev sibling method
| * | | feat(treesitter): add next, prev sibling methodDylan Kendal2021-08-20
| | | | | | | | | | | | | | | | | | | | Add tsnode methods to change to the next, previous, named or unnamed nodes.
* | | | fix(window.c): win_close from other tabpage #15454notomo2021-08-22
| | | | | | | | | | | | Fix #15313
* | | | docs: make Lua docstrings consistent #15255Gregory Anders2021-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The official developer documentation in in :h dev-lua-doc specifies to use "--@" for special/magic tokens. However, this format is not consistent with EmmyLua notation (used by some Lua language servers) nor with the C version of the magic docstring tokens which use three comment characters. Further, the code base is currently split between usage of "--@", "---@", and "--- @". In an effort to remain consistent, change all Lua magic tokens to use "---@" and update the developer documentation accordingly.
* | | | feat(api): add lua C bindings for xdiff (#14536)Lewis Russell2021-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(api): add lua C bindings for xdiff * chore: opt.hunk_lines -> opt.result_type opt.on_hunk now takes precedence over opt.result_type * chore: fix indents Fix indents * chore: change how priv is managed Assign priv NULL and unconditionally apply XFREE_CLEAR to it when finished.
* | | | feat(keywordprg): use :terminal for external commands #15398Gregory Anders2021-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Open external 'keywordprg' commands in a :terminal in a new tab. <Esc> is mapped to stop the job and close the buffer. Closes #2995 Closes #2761
* | | | feat(terminal): TermClose: set exit code in v:event.status #15406Gregory Anders2021-08-20
|/ / / | | | | | | Closes #4713
* | | Merge pull request #15422 from bfredl/syn_name2id_go_brrBjörn Linse2021-08-19
|\ \ \ | | | | | | | | feat(highlights): some improvements and perf fixes
| * | | feat(match): allow hl group to be defined after :match commandBjörn Linse2021-08-19
| | | |
* | | | test: update tests to work with 'hidden'Gregory Anders2021-08-18
| | | |
* | | | feat(defaults): set nojoinspacesGregory Anders2021-08-17
| | | |
* | | | feat(defaults): set hiddenGregory Anders2021-08-17
|/ / /
* | | feat: defaults: set undo points in <C-U> and <C-W> (#15400)Gregory Anders2021-08-16
| | |
* | | feat(defaults): map CTRL-L to search highlights, update diffs #15385Gregory Anders2021-08-16
| | |
* | | vim-patch:8.2.3295: 'cursorline' should not apply to 'breakindent' #15281zeertzjq2021-08-16
| | | | | | | | | | | | | | | | | | Problem: 'cursorline' should not apply to 'breakindent'. Solution: Make 'cursorline' apply to 'breakindent' and 'showbreak' consistently. (closes vim/vim#8684) https://github.com/vim/vim/commit/4f33bc20d7d5444e44d13f954e8219ad1abd26ef
* | | feat(defaults): map Y to y$ #13268Matthieu Coudron2021-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | rationale: - consistent with D and Y - long recommended by Vim's own ":help Y" close #13268 close #416 ref #6289
* | | Merge pull request #15368 from jamessan/fragilityJames McCoy2021-08-14
|\ \ \ | |/ / |/| | test(lsp): disable finicky test when TEST_SKIP_FRAGILE is set
| * | test(lsp): disable finicky test when TEST_SKIP_FRAGILE is setJames McCoy2021-08-13
| | |
* | | Merge pull request #15253 from spywhere/float-win-scl-fixBjörn Linse2021-08-10
|\ \ \ | | | | | | | | Fix sign column auto with minimum break floating window minimal style
| * | | fix(sign): reset auto sign column with minimum in float win minimal styleSirisak Lueangsaksri2021-08-09
| | | |
* | | | fix(lsp): properly handle `nil` lines when trimming empty lines (#15325)Andrea Cappuccio2021-08-10
| | | |
* | | | vim-patch:8.2.3141: no error when using :complete for :command without -nargsJan Edmund Lazo2021-08-08
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No error when using :complete for :command without -nargs. Solution: Give an error. (Martin Tournoij, closes vim/vim#8544, closes vim/vim#8541) https://github.com/vim/vim/commit/de69a7353e9bec552e15dbe3706a9f4e88080fce N/A patches for version.c: vim-patch:8.1.1801: cannot build without the +eval feature Problem: Cannot build without the +eval feature. Solution: Always define funcexe_T. https://github.com/vim/vim/commit/505e43a20eb25674b18d73971fe3b51dad917f9a vim-patch:8.1.1818: unused variable Problem: Unused variable. Solution: Remove the variable. (Mike Williams) https://github.com/vim/vim/commit/b4a88a0441a65a0c9411c294825a08ca703f541e vim-patch:8.2.1464: Vim9: build warning for unused variable Problem: Vim9: build warning for unused variable. Solution: Delete the variable declaration. https://github.com/vim/vim/commit/829ac868b7615d73dbfb536f7fcd44fc7c5b7c1d vim-patch:8.2.2639: build failure when fsync() is not available Problem: Build failure when fsync() is not available. Solution: Add #ifdef. https://github.com/vim/vim/commit/5ea79a2599d35f75e1ae8a75d2711c754c4cb7c4 vim-patch:8.2.2814: Vim9: unused variable Problem: Vim9: unused variable. (John Marriott) Solution: Adjust #ifdef. https://github.com/vim/vim/commit/b06b50dfa06e1cbefd634e2735e7cd5ddd5b911c vim-patch:8.2.2947: build failure without the channel feature Problem: Build failure without the channel feature. Solution: Add back #ifdef. (John Marriott) https://github.com/vim/vim/commit/f5bfa8faa7bbe025c10148d37e8b47217a430a3b vim-patch:8.2.2976: build failure without the +eval feature Problem: Build failure without the +eval feature. Solution: Add #ifdefs. https://github.com/vim/vim/commit/8de901e1f1b051e02a61ae76ad7c925e4c0642e5 vim-patch:8.2.2986: build failure without the profile feature Problem: Build failure without the profile feature. Solution: Add #ifdef. https://github.com/vim/vim/commit/d9f31c13d217b4b97f724774a67a6d1f8640e8ae vim-patch:8.2.3114: Amiga-like systems: build error using stat() Problem: Amiga-like systems: build error using stat(). Solution: Only build swapfile_process_running() on systems where it is actually used. (Ola Söder, closes vim/vim#8519) https://github.com/vim/vim/commit/599a6e5b3629d943a795cd69e4d3d19886f86405
* | | Merge pull request #15283 from jamessan/pending-c-parsersThomas Vigouroux2021-08-06
|\ \ \ | | | | | | | | test(treesitter): skip all parsers tests if parsers aren't installed
| * | | test(treesitter): skip all parsers tests if parsers aren't installedJames McCoy2021-08-05
| |/ /
* | | ci(tests): skip "stale events on channel close" (#15278)dundargoc2021-08-05
| | | | | | | | | This test sporadically hangs CI (cf. #14083); skip until the actual code is fixed.
* | | vim-patch:8.1.2117: CursorLine highlight used while 'cursorline' is offzeertzjq2021-08-02
| | | | | | | | | | | | | | | | | | Problem: CursorLine highlight used while 'cursorline' is off. Solution: Check 'cursorline' is set. (cloes vim/vim#5017) https://github.com/vim/vim/commit/49474ca12236776bb56aeb9d39bd6592e28157c7
* | | fixup! vim-patch:8.2.3019: location list only has the start position.Jan Edmund Lazo2021-07-31
| | |
* | | Merge pull request #15062 from seandewar/vim-8.1.0829Jan Edmund Lazo2021-07-30
|\ \ \ | | | | | | | | vim-patch:8.1.0829: when 'hidden' is set session creates extra buffers
| * | | vim-patch:8.1.0829: when 'hidden' is set session creates extra buffersSean Dewar2021-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When 'hidden' is set session creates extra buffers. Solution: Move :badd commands to the end. (Jason Franklin) https://github.com/vim/vim/commit/d39e275b57493f9e25e1b62f84810571eee30cf4 Adjust some tests in ex_cmds/mksession_spec.lua: - 'restores same :terminal buf in splits': Buffers aren't always :badded in the same order as they're :edited, :balted, etc, so the order of buffers in the buffer list may change slightly now that :badd happens afterwards. - 'restores buffers with tab-local CWD': This is explained in a comment.
* | | | Merge pull request #15207 from gpanders/bye-syncolorBjörn Linse2021-07-29
|\ \ \ \ | | | | | | | | | | fix(highlight): remove syncolor.vim
| * | | | fixup! fix(highlight): remove syncolor.vimGregory Anders2021-07-28
| | | | |
* | | | | refactor(decorations): merge the two different code paths for virt_textBjörn Linse2021-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test(bufhl): CHANGE of tested behaviour (inb4 a proper priority mechanism) test(decoration): change of test; previous behavior was buggy (ghost buffer text)
* | | | | feat(decorations): allow more than one stacked highlight in a virt_textBjörn Linse2021-07-29
| | | | |
* | | | | fix(decorations): crash when :bdelete (extmark_free_all) after clear_namespaceBjörn Linse2021-07-29
|/ / / / | | | | | | | | | | | | fixes #15212
* | | | treesitter: add query.list_directivesStephan Seitz2021-07-24
| | | |
* | | | fix(ci): disable broken test on openbsd on all CI due to resource constraintsBjörn Linse2021-07-23
| | | |
* | | | feat(treesitter): allow to set highlight priority for queriesStephan Seitz2021-07-22
| | | |
* | | | feat(lsp): allow diagnostics to be disabled for a buffer (#15134)Gregory Anders2021-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add two new methods to allow diagnostics to be disabled (and re-enabled) in the current buffer. When diagnostics are disabled they are simply not displayed to the user, but they are still sent by the server and processed by the client. Disabling diagnostics can be helpful in a number of scenarios. For example, if one is working on a buffer with an overwhelming amount of diagnostic warnings it can be helpful to simply disable diagnostics without disabling the LSP client entirely. This also allows users more flexibility on when and how they may want diagnostic information to be displayed. For example, some users may not want to display diagnostic information until after the buffer is first written.
* | | | fix(shared): do not treat empty tables as list in deep extend (#15094)Folke Lemaitre2021-07-19
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | An empty table was previously always treated as a list, which means that while merging tables, whenever an empty table was encountered it would always truncate any table on the left. `vim.tbl_deep_extend("force", { b = { a = 1 } }, { b = {} })` Before: `{ b = {} }` After: `{ b = { a = 1 } }`
* | | Merge pull request #15078 from bfredl/p_vim_viBjörn Linse2021-07-14
|\ \ \ | | | | | | | | refactor(options): remove obsolete distinction of "vi" vs "vim" defaults
| * | | refactor(options): remove obsolete distinction of "vi" vs "vim" defaultsBjörn Linse2021-07-14
| | | | | | | | | | | | | | | | | | | | It might come as a schocking surprise, but the defaults we support are the NEOVIM defaults.
* | | | Merge pull request #15017 from donbex/local-file-uriMichael Lingelbach2021-07-14
|\ \ \ \ | |/ / / |/| | | fix(lsp): accept file URIs without a hostname
| * | | feat(vim.uri): Allow URI schemes other than file: without authorityTom Payne2021-07-10
| | | |
| * | | test(lsp): file URIs do not allow relative pathsAlessandro Pezzoni2021-07-10
| | | |
| * | | test(lsp): file URIs without a hostnameAlessandro Pezzoni2021-07-10
| | | |
* | | | Add test case for 'null' stdin modeGregory Anders2021-07-12
| | | |
* | | | test/memory_usage_spec: skip on MacOS #15043Daniel Steinberg2021-07-10
|/ / / | | | | | | Memory compression could complicate the measurements.
* | | fix(vim.opt): vimL map string values not trimmed (#14982)jadedpasta2021-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | Options formatted as a list of comma-separated key-value pairs may have values that contain leading and trailing whitespace characters. For example, the `listchars` option has a default value of `"tab:> ,trail:-,nbsp:+"`. When converting this value to a lua table, leading and trailing whitespace should not be trimmed. Co-authored-by: Robert Hrusecky <robert.hrusecky@utexas.edu>
* | | doc/startup: cleanup; assign ENN to "conflicing configs" msg (#14971)Justin M. Keyes2021-07-03
|/ /