aboutsummaryrefslogtreecommitdiff
path: root/test/functional
Commit message (Collapse)AuthorAge
* test: fix BufModifiedSetRom Grk2020-11-07
|
* tests: add functional test for BufModifiedSetRom Grk2020-11-07
|
* Merge pull request #13117 from romgrk/add-scroll-eventsBjörn Linse2020-11-07
|\ | | | | Implement scroll autocommand
| * my fight with the linter (tome II)Rom Grk2020-11-06
| |
| * Merge branch 'master' into add-scroll-eventsRom Grk2020-11-03
| |\
| * | tests: separate scroll test for horizontal/vertical scrollRom Grk2020-10-31
| | |
| * | tests: make scroll tests passRom Grk2020-10-30
| | |
| * | tests: add functional test for WinScrolledRom Grk2020-10-28
| | |
| * | tests: add test for Scroll autocmdRom Grk2020-10-24
| | |
* | | lua: make vim.inspect available early so it can be used for path debuggingBjörn Linse2020-11-05
| | |
* | | tree-sitter: ignore some tests on windowsThomas Vigouroux2020-11-03
| |/ |/| | | | | | | Weirdl this test is failing, but can't reproduce locally, this is an unnecessary blocker for this PR.
* | fixup! startup: handle autoload and lua packages during startupJan Edmund Lazo2020-11-02
| |
* | startup: handle autoload and lua packages during startupBjörn Linse2020-11-02
| | | | | | | | ¡NO HAY BANDA!
* | Merge pull request #12870 from bfredl/themeparkBjörn Linse2020-11-01
|\ \ | | | | | | Color themes (per window/line) and lua theme providers
| * | api: add API for themesBjörn Linse2020-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function) orange is sus?? NOVEMBER DAWN erase the lie that is redraw_later()
* | | Merge pull request #13197 from janlazo/vim-8.2.1925Jan Edmund Lazo2020-11-01
|\ \ \ | | | | | | | | vim-patch:8.2.{639,666,1925,1926,1929,1932}
| * | | vim-patch:8.2.1925: list/dict test failsJan Edmund Lazo2020-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: List/dict test fails. Solution: Correct expected exception. https://github.com/vim/vim/commit/6d967125ad87b1c2a9467357286c3514d5dd1c40 Cherry-pick e_dictkey[] change from patch 8.2.1924. N/A patches for version.c: vim-patch:8.2.1929: MS-Windows: problem loading Perl 5.32 Problem: MS-Windows: problem loading Perl 5.32. Solution: Define NO_THREAD_SAFE_LOCALE. (Ken Takata, closes vim/vim#7234) https://github.com/vim/vim/commit/0289065e41ce3148f929e16a55aa3b161c80576f vim-patch:8.2.1932: compiler warnings when building with Athena GUI Problem: Compiler warnings when building with Athena GUI. Solution: Fix function signatures. https://github.com/vim/vim/commit/963734e316bd17dd7290abcac28b875435d06381
* | | | Merge pull request #13192 from bfredl/nodeidBjörn Linse2020-11-01
|\ \ \ \ | |/ / / |/| | | ] treesitter: add node:id()
| * | | treesitter: add node:id()Björn Linse2020-11-01
| |/ /
* / / vim-patch:8.2.0131: command line is not cleared when switching tabsJan Edmund Lazo2020-10-29
|/ / | | | | | | | | | | | | | | Problem: Command line is not cleared when switching tabs and the command line height differs. Solution: Set the "clear_cmdline" flag when needed. (Naruhiko Nishino, closes vim/vim#5495) https://github.com/vim/vim/commit/479950f6c9aee4806f28a2b2fe5471e18a034cff
* | Merge pull request #13154 from fsouza/fix-callback-logicMatthieu Coudron2020-10-25
|\ \ | | | | | | [RDY] lsp: fix fallback for callback in method_unsupported
| * | lsp: fix fallback for callback in method_unsupportedfrancisco souza2020-10-25
| | | | | | | | | | | | Missed this #12764. My bad :((
* | | Merge pull request #13077 from tjdevries/tjdevries/buf_apis_1Björn Linse2020-10-25
|\ \ \ | |/ / |/| | api: nvim_buf_delete
| * | api: nvim_buf_deleteTJ DeVries2020-10-22
| | |
* | | lsp: only send buf requests to servers that support the request (#12764)francisco souza2020-10-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactors how required capabilities are detected and validated, and make sure requests are only sent to clients that support it (and only fail if no clients support the provided method). The validation happens at the buf_request level, because we assume that if someone is sending the request directly through the client, they know what they're doing. Also, let unknown methods go through. This is extracted from #12518 and closes #12755. Co-authored-by: francisco souza <fsouza@users.noreply.github.com>
* | | Fix popupmenu position issueerw72020-10-23
|/ /
* / vim-patch:8.1.1056: no eval function for RubyAlex Genco2020-10-21
|/ | | | | | Problem: No eval function for Ruby. Solution: Add rubyeval(). (Ozaki Kiichi, closes vim/vim#4152) https://github.com/vim/vim/commit/e99be0e6d28fad96efd2b2be23fa38e7559e80e1
* Merge pull request #13118 from bfredl/mudhollandBjörn Linse2020-10-19
|\ | | | | A Mudholland Dr. Recast
| * A Mudholland Dr. RecastBjörn Linse2020-10-19
| | | | | | | | | | The commit summary maybe does not make sense, but calling a function that does not wait on anything `wait()` makes even less sense.
* | Merge pull request #12053 from tjdevries/tjdevries/nicer_validateTJ DeVries2020-10-17
|\ \ | |/ |/| vim.validate(): include stacktrace in message
| * test/vim.validate(): assert normalized stacktraceJustin M. Keyes2020-10-05
| | | | | | | | | | | | | | - The previous commit lost information in the tests. Instead, add some more "normalization" substitutions in pcall_err(), so that the general shape of the stacktrace is included in the asserted text. - Eliminate contains(), it is redundant with matches()
| * vim.validate(): include stacktrace in messageTJ DeVries2020-10-05
| |
* | treesitter: allow custom parser for highlighterThomas Vigouroux2020-10-12
| | | | | | | | | | | | | | | | | | | | | | Also allow to get parser ranges. This will be useful for language injection, allowing us to tweak the parser's ranges on the fly. Update runtime/lua/vim/treesitter.lua Co-authored-by: Paul Burlumi <paul@burlumi.com>
* | treesitter: runtime queriesThomas Vigouroux2020-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | Runtime queries just work like ftplugins, that is: - Queries in the `after` directory are sourced _after_ the "base" query - Otherwise, the last define query takes precedence. Queries can be found in the `queries` directory. Update runtime/lua/vim/treesitter/query.lua Co-authored-by: Paul Burlumi <paul@burlumi.com>
* | vim-patch:8.2.1101: no error when using wrong arguments for setqflist()Jan Edmund Lazo2020-10-11
| | | | | | | | | | | | | | Problem: No error when using wrong arguments for setqflist() or setloclist(). Solution: Check for the error. https://github.com/vim/vim/commit/be7a50c22f63478a6e64fe6b932a847830191b95
* | api: multiple decoration providers at onceBjörn Linse2020-10-10
| |
* | vim-patch:8.2.1488: text does not scroll when inserting above first lineAufar Gilbran2020-10-07
| | | | | | | | | | | | Problem: Text does not scroll when inserting above first line. Solution: Adjust off-by-one error. (Ken Takata, closes vim/vim#6739) https://github.com/vim/vim/commit/9dc1917f42b23277e143fc58bbe27482b0b76bad
* | vim-patch:8.2.1345: Redraw error when using visual block and scrollAufar Gilbran2020-10-07
| | | | | | | | | | | | Problem: Redraw error when using visual block and scroll. Solution: Add check for w_topline. ( closes vim/vim#6597) https://github.com/vim/vim/commit/f8992d47cd50494c64bb733329067c9de3c75200
* | lua: vim.wait allows control of fast events (#13053)TJ DeVries2020-10-06
| | | | | | | | | | | | | | | | | | * lua: vim.wait allows control of fast events * fixup: remove requirement of function for easier waiting * fixup: lint * fixup: bfredl comments
* | Treat unmapped ALT/META as ESC+c in all modesMatt Wozniski2020-10-05
|/ | | | | | | | In #8226 <A-x> and <M-x> were changed to behave like <Esc>x in insert mode when no mapping exists. This commit backs out that change and replaces it with a more general one that makes unmapped ALT and META keypresses as <Esc>+char in all modes. This fixes an unnecessary and confusing inconsistency between modes.
* vim-patch:8.2.0841: 'verbose' value 16 causes duplicate outputJan Edmund Lazo2020-10-03
| | | | | | | Problem: 'verbose' value 16 causes duplicate output. Solution: Combine levels 15 and 16 into one message. (Christian Brabandt, closes vim/vim#6153) https://github.com/vim/vim/commit/823654bc06c847af20967d41db32d592aba416cb
* Merge pull request #12968 from erw7/fix-substitute2Thomas Vigouroux2020-10-02
|\ | | | | fix substitute problem with inccommand
| * extmark: fix decoration ploblems with extmarkerw72020-10-02
| | | | | | | | | | | | 54ce101 changed the way undo entries are created when adding decorations. This creates all sorts of problems.This change fixes the problem by reverting to the previous behavior.
* | screen.c: fix buffer overflow due to foldingerw72020-10-01
| | | | | | | | fixes #12988.
* | Fix byte updates for blockwise paste at buffer endKillTheMule2020-09-30
| |
* | bytetrack: add blockwise paste testThomas Vigouroux2020-09-30
| |
* | Fix buffer_updates on blockwise pasteKillTheMule2020-09-30
| | | | | | | | Fixes #12718.
* | treesitter: add string parser (#13008)Thomas Vigouroux2020-09-30
| |
* | vim-patch:8.1.1992: the search stat moves when wrapping at the end of the bufferJan Edmund Lazo2020-09-29
| | | | | | | | | | | | Problem: The search stat moves when wrapping at the end of the buffer. Solution: Put the "W" in front instead of at the end. https://github.com/vim/vim/commit/16b58ae9f36e9675c34d942f5d5f8c8a7914dbc4
* | test: Fix failing test in case of special .bashrc (#12920)Omri Sarig2020-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test of "replace environment" in the test module of `test/functional/core/job_spec.lua` failed in case the bashrc file of the user running the test has special actions in it (such actions were printing to the screen from inside this file, or changing the bash mode to be vi). In order to fix this problem, the test now sets the shell to be `/bin/sh` before running the command. Setting the shell to be `/bin/sh` causes the running shell to run without the configuration of the user, and so the test passes even in case of special .bashrc. This change was done only for platforms other than Windows since it is not relevant in windows. The fix was applied to the specific test, even though it is possible that related issues will arise in other tests. It seems like a big overhead to make the fix work on all the possible tests, and it does not worth this cost.