aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | | fix(treesitter): allow ranges in set_included_rangesThomas Vigouroux2020-11-23
| |/ |/|
* | feat(treesitter): add language treeSteven Sojka2020-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | Implement the LanguageTree structure to enable language injection. This is done be removing the old Parser metatable and replacing by the new structure, with the same API (almost). Some noticeable differences : - `parser:parse()` now returns a table of trees - There is no incremental parsing for child (injected) languages Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
* | test: Add GitHub actions support to helpers.isCIJames McCoy2020-11-22
|/
* Merge pull request #13307 from janlazo/vim-8.1.0777Jan Edmund Lazo2020-11-21
|\ | | | | vim-patch:8.1.{323,777,933,938},8.2.{178,248,547,581,592,646,658,793,1608,1975,1991,1992,1993,1994,1998,1999,2003,2007,2008,2009}
| * test: rewrite powershell tests to remove timeoutJan Edmund Lazo2020-11-20
| | | | | | | | TSAN kept failing and Appveyor sometimes fails on the same test.
* | Merge pull request #13250 from bfredl/missinglinkBjörn Linse2020-11-21
|\ \ | |/ |/| allow nvim_set_hl to break existing links
| * decorations: allow nvim_set_hl to break existing linksBjörn Linse2020-11-21
| | | | | | | | also add `default` flag to NOT break existing links/defs
* | test: add functional test for segmented response from terminalerw72020-11-20
| |
* | test,unit: Change test according to change of bg color response processingerw72020-11-20
| | | | | | | | | | Adjust the test for handle_background_color() according to bd0275182b1c1b14c43dc4fc7e9f9da05071e56c.
* | Merge pull request #12592 from jamessan/fix-mod-keysJames McCoy2020-11-20
|\ \ | |/ |/|
| * keymap: Preserve S- modifier when C- is presentJames McCoy2020-11-16
| | | | | | | | Closes #12037
* | startup: load files from &packpath . '/start/{pluginname}'Björn Linse2020-11-19
|/ | | | | | | | | | | Quoting the existing docs: Packages are loaded. These are plugins, as above [&runtimepath], but found in the "start" directory of each entry in 'packpath'. Every plugin directory found is added in 'runtimepath' and then the plugins are sourced. Also tj didn't think I could do it.
* fix(floatwin): don't always use winheightThomas Vigouroux2020-11-16
|
* Merge pull request #13293 from janlazo/vim-8.2.1976Matthieu Coudron2020-11-15
|\ | | | | vim-patch:8.2.{1979,1981,1982,1985,1987}
| * globals: eliminate "has_mbyte" macroJan Edmund Lazo2020-11-14
| | | | | | | | | | "has_mbyte" always evaluates to "true". Continue dead code removal, started in https://github.com/neovim/neovim/pull/13275.
* | lsp: Expose all diagnostics (#13285)Mathias Fußenegger2020-11-14
|/ | | | | | | | | | | | | | | * lsp: Remove duplicate `diagnostics` fallback in diagnostic.display * lsp: Expose all diagnostics Before the changes in #12655 it was possible to retrieve all diagnostics via `vim.lsp.util.diagnostics_by_buf`. This adds a `diagnostic.get_all()` to enable users to retrieve all diagnostics. Use cases for that could include loading all diagnostics into the quickfix list, or to build an enhanced goto_next that can move across buffers.
* Merge pull request #12698 from erw7/fix-popupmenu-with-rlJan Edmund Lazo2020-11-13
|\ | | | | ui: fix problem with the popupmenu when rightleft is set
| * ui: fix problem with the popupmenu when rightleft is seterw72020-07-31
| | | | | | | | fixes #12032
* | Merge pull request #13287 from jamessan/github-actionsJames McCoy2020-11-13
|\ \
| * | GHA: Skip tests that fail due to actions/runner#241James McCoy2020-11-13
| | |
* | | feat(lua): improve error message to make it actionable (#13276)Alvaro Muñoz2020-11-13
| | | | | | | | | * improve error message to make it actionable
* | | lsp: vim.lsp.diagnostic (#12655)TJ DeVries2020-11-12
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Breaking Changes: - Deprecated all `vim.lsp.util.{*diagnostics*}()` functions. - Instead, all functions must be found in vim.lsp.diagnostic - For now, they issue a warning ONCE per neovim session. In a "little while" we will remove them completely. - `vim.lsp.callbacks` has moved to `vim.lsp.handlers`. - For a "little while" we will just redirect `vim.lsp.callbacks` to `vim.lsp.handlers`. However, we will remove this at some point, so it is recommended that you change all of your references to `callbacks` into `handlers`. - This also means that for functions like |vim.lsp.start_client()| and similar, keyword style arguments have moved from "callbacks" to "handlers". Once again, these are currently being forward, but will cease to be forwarded in a "little while". - Changed the highlight groups for LspDiagnostic highlight as they were inconsistently named. - For more information, see |lsp-highlight-diagnostics| - Changed the sign group names as well, to be consistent with |lsp-highlight-diagnostics| General Enhancements: - Rewrote much of the getting started help document for lsp. It also provides a much nicer configuration strategy, so as to not recommend globally overwriting builtin neovim mappings. LSP Enhancements: - Introduced the concept of |lsp-handlers| which will allow much better customization for users without having to copy & paste entire files / functions / etc. Diagnostic Enhancements: - "goto next diagnostic" |vim.lsp.diagnostic.goto_next()| - "goto prev diagnostic" |vim.lsp.diagnostic.goto_prev()| - For each of the gotos, auto open diagnostics is available as a configuration option - Configurable diagnostic handling: - See |vim.lsp.diagnostic.on_publish_diagnostics()| - Delay display until after insert mode - Configure signs - Configure virtual text - Configure underline - Set the location list with the buffers diagnostics. - See |vim.lsp.diagnostic.set_loclist()| - Better performance for getting counts and line diagnostics - They are now cached on save, to enhance lookups. - Particularly useful for checking in statusline, etc. - Actual testing :) - See ./test/functional/plugin/lsp/diagnostic_spec.lua - Added `guisp` for underline highlighting NOTE: "a little while" means enough time to feel like most plugins and plugin authors have had a chance to refactor their code to use the updated calls. Then we will remove them completely. There is no need to keep them, because we don't have any released version of neovim that exposes these APIs. I'm trying to be nice to people following HEAD :) Co-authored: [Twitch Chat 2020](https://twitch.tv/teej_dv)
* | Add PVS comment to new source filesJames McCoy2020-11-10
| |
* | Merge pull request #13244 from tk-shirasaka/fix/multigrid-click-foldcolumnMatthieu Coudron2020-11-10
|\ \ | | | | | | ui: Fix click on foldcolumn when ext_multigrid is enabled
| * | Add test case for fold on multigridshirasaka2020-11-09
| | |
* | | Merge pull request #13205 from romgrk/add-bufmodified-autocmdBjörn Linse2020-11-09
|\ \ \ | |/ / |/| | Implement BufModifiedSet autocmd
| * | test: update BufModifiedSet to be paranoidRom Grk2020-11-09
| | |
| * | test: fix BufModifiedSetRom Grk2020-11-07
| | |
| * | tests: add functional test for BufModifiedSetRom Grk2020-11-07
| | |
* | | Add v:event flag on DirChanged signaling switching window (#13153)Andrea Cedraro2020-11-07
|/ / | | | | Closes #9909
* | 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
| |/ / /
* | | | Merge pull request #13167 from romgrk/vim-8.2.1909Jan Edmund Lazo2020-10-31
|\ \ \ \ | | | | | | | | | | vim-patch:8.2.1909: number of status line items is limited to 80
| * | | | vim-patch:8.2.1909: number of status line items is limited to 80Rom Grk2020-10-31
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Number of status line items is limited to 80. Solution: Dynamically allocate the arrays. (Rom Grk, closes vim/vim#7181) https://github.com/vim/vim/commit/8133cc6bf454eb90bb0868f7cf806fce5c0c9fe6 The members of stl_item_T have not been prefixed with stl_ contrary to the vim patch because the amount of stl_ prefixes on single lines of code in that region was hurtful to readability.
* / / / 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