aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | | | | | feat(filetype): support scripts.vim with filetype.lua (#17517)Gregory Anders2022-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When filetype.vim is disabled, create the autocommand that runs scripts.vim in filetype.lua.
* | | | | | | feat(highlight): support for blend in nvim_set_hl (#17516)Lewis Russell2022-02-24
| | | | | | |
* | | | | | | Merge pull request #17390 from RenFraser/feature/packagingJames McCoy2022-02-24
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | ci: improve cpack packaging
| * | | | | | ci: improved cpack packagingHenry Fraser2022-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addresses: #12571 - Added the following installers through CMake files: - Windows NSIS. - Windows MSI. - Windows zip. - MacOs tarball. - Linux tarball. - Linux Deb package. - Tweaked pipeline CPack commands to build using new CMakeLists.txt configuration file. - Added icons and relevant packaging files. - Updated notes.md to reflect new installation instructions. This isn't meant to be the perfect solution, it's simply a first pass at using a simple packaging system to build Windows installers. A Debian package has also been added since it's very easy but other packages have been left out due to limiting the scope. Hopefully we can build further upon this and improve it over time with code signing, better icons and more user-friendly installation graphics and so on.
* | | | | | | fix(api)!: correctly handle negative line numbers for nvim_buf_set_text (#17498)Gregory Anders2022-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nvim_buf_set_text does not handle negative row numbers correctly: for example, nvim_buf_set_text(0, -2, 0, -1, 20, {"Hello", "world"}) should replace the 2nd to last line in the buffer with "Hello" and the first 20 characters of the last line with "world". Instead, it reports "start_row out of bounds". This happens because when negative line numbers are used, they are incremented by one additional number to make the non-negative line numbers end-exclusive. However, the line numbers for nvim_buf_set_text should be end-inclusive. In #15181 we handled this for nvim_buf_get_text by adding a new parameter to `normalize_index`. We can solve the problem with nvim_buf_set_text by simply availing ourselves of this new argument. This is a breaking change, but makes the semantics of negative line numbers much clearer and more obvious (as well as matching nvim_buf_get_text). BREAKING CHANGE: Existing usages of nvim_buf_set_text that use negative line numbers will be off-by-one.
* | | | | | | vim-patch:partial 944697ae196 (#17493)Sean Dewar2022-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/944697ae19683441981539cd4d2469df89d6ec82 Doc changes: Include remote_*() (even though +clientserver and remote.txt isn't ported yet) Omit screenpos() (need v8.2.4389) Other changes are N/A or cannot be directly applied
* | | | | | | feat(api): implement nvim_buf_get_text (#15181)Gregory Anders2022-02-22
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nvim_buf_get_text is the mirror of nvim_buf_set_text. It differs from nvim_buf_get_lines in that it allows retrieving only portions of lines. While this can typically be done easily enough by API clients, implementing this function provides symmetry between the get/set text/lines APIs, and also provides a nice convenience that saves API clients the work of having to slice the result of nvim_buf_get_lines themselves.
* | | | | | vim-patch:partial 944697ae1968 (#17490)Christian Clason2022-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/944697ae19683441981539cd4d2469df89d6ec82 skip: docs skip: translations
* | | | | | refactor(highlight)!: optional arguments for highlight.range as table (#17462)Christian Clason2022-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also update documentation BREAKING CHANGE: signature of highlight.range is now vim.highlight.range(bufnr, ns, hlgroup, start, finish, { regtype = regtype, inclusive = inclusive, priority = priority }) Co-authored-by: Gregory Anders <8965202+gpanders@users.noreply.github.com>
* | | | | | fix(highlight): accept NONE as a color name (#17487)Lewis Russell2022-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... for when `ns=0`. Also update the documentation of nvim_set_hl to clarify the set behaviour. Fixes #17478
* | | | | | Merge pull request #17484 from dundargoc/ci/skip-ci-on-doc-changesJames McCoy2022-02-21
|\ \ \ \ \ \ | | | | | | | | | | | | | | ci: skip ci workflow on only documentation changes
| * | | | | | ci: skip ci workflow on only documentation changesDundar Göc2022-02-21
|/ / / / / /
* | | | | | Merge pull request #17403 from zeertzjq/vim-8.1.1955zeertzjq2022-02-21
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:8.1.{1846,1955},8.2.0156
| * | | | | | vim-patch:8.2.0156: various typos in source files and testszeertzjq2022-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes vim/vim#5532) https://github.com/vim/vim/commit/4b96df5a017a04141c4e901b1fc5704a3ca48099
| * | | | | | vim-patch:8.1.1955: tests contain typoszeertzjq2022-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests contain typos. Solution: Correct the typos. (Dominique Pelle) https://github.com/vim/vim/commit/1bc353b6f1b063e189e0cef26f8dc586dcf9161f Other changes are either N/A or already applied.
| * | | | | | vim-patch:8.1.1846: inconsistently using GetVimCommand() and v:progpathzeertzjq2022-02-14
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Inconsistently using GetVimCommand() and v:progpath. (Daniel Hahler) Solution: Use GetVimCommand(). (closes vim/vim#4806) https://github.com/vim/vim/commit/93344c2d707d9953f351c944e6a237c9916f69a3 Cherry-pick a change to test_profile.vim from patch 8.1.1544. Cherry-pick a change to test_vimscript.vim from patch 8.1.1826. Some of the args are no-op in Nvim, and `-i NONE` and `--headless` are already added by `GetVimCommand()`. I'll try to match the order of args in upstream, substituting `--not-a-term` with `--headless`.
* | | | | | docs: clarify ftdetect scripts loading during packadd (#17465)Aetf2022-02-20
| | | | | | | | | | | | | | | | | | The old description doesn't match the current behavior anymore.
* | | | | | Merge pull request #17480 from zeertzjq/vim-8.2.4427zeertzjq2022-02-21
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:8.2.4427: getchar() may return modifiers if no character is available
| * | | | | | vim-patch:8.2.4427: getchar() may return modifiers if no character is availablezeertzjq2022-02-21
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: getchar() may return modifiers if no character is available. Solution: Do not process modifiers when there is no character. (closes vim/vim#9806) https://github.com/vim/vim/commit/ad6c45f62558e03d3e3a927b3fe4dbaf30a36bef
* | | | | | fix(diagnostic): use botright copen for qflist (#17475)Michael Lingelbach2022-02-20
| | | | | | | | | | | | | | | | | | | | | | | | This matches the LSP handlers, and forces the qflist for diagnostics to span across the horizontal space, below all open windows.
* | | | | | fix(lsp): use botright copen for all handlers (#17471)Michael Lingelbach2022-02-20
| | | | | |
* | | | | | Merge pull request #17469 from jamessan/use-sysdeps-for-lint-ciJames McCoy2022-02-20
|\ \ \ \ \ \ | | | | | | | | | | | | | | Use system dependencies for lint CI
| * | | | | | ci: only cache third-party deps if they existJames McCoy2022-02-19
| | | | | | |
| * | | | | | ci: ensure ~/.cache existsJames McCoy2022-02-19
| | | | | | |
| * | | | | | ci(lint): explicity build nvimJames McCoy2022-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | “make clint-full” bypasses the normal mechanisms used to communicate build flags in the CI jobs, so explicitly build nvim before running the lint jobs.
| * | | | | | ci(lint): build against system depsJames McCoy2022-02-19
| | | | | | |
| * | | | | | ci(lint): install deps via apt instead of building from third-partyJames McCoy2022-02-19
| | |_|/ / / | |/| | | |
* | | | | | Merge pull request #17470 from dundargoc/ci/remove-successJames McCoy2022-02-20
|\ \ \ \ \ \ | |/ / / / / |/| | | | | ci: remove success check since it's the default
| * | | | | ci: remove success check since it's the defaultDundar Göc2022-02-20
|/ / / / /
* | | | | Merge pull request #17460 from seandewar/vim-8.2.4419Sean Dewar2022-02-19
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:8.2.{4403,4418,4419,4422}
| * | | | | vim-patch:8.2.4422: autochdir test fails on MS-WindowsSean Dewar2022-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Autochdir test fails on MS-Windows. Solution: Expecta nother error on MS-Windows. https://github.com/vim/vim/commit/adbb383e0f2bb59286ea8133f02c448fd334958f
| * | | | | vim-patch:8.2.4419: illegal memory access when using 20 highlightsSean Dewar2022-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Illegal memory access when using exactly 20 highlights. Solution: Add one more item in the array. (Brandon Richardson, closes vim/vim#9800) https://github.com/vim/vim/commit/a493b6506b67887a1cc2d1c00a896598c3b2d445
| * | | | | vim-patch:8.2.4418: crash when using special multi-byte characterSean Dewar2022-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using special multi-byte character. Solution: Don't use isalpha() for an arbitrary character. https://github.com/vim/vim/commit/5921aeb5741fc6e84c870d68c7c35b93ad0c9f87 Rename vim_isalpha to mb_isalpha.
| * | | | | vim-patch:8.2.4403: ml_get error with nested folds and deleting linesSean Dewar2022-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ml_get error with nested folds and deleting lines. Solution: Correct the last line number before calling hasFoldingWin(). https://github.com/vim/vim/commit/943773783384a5ff63f57769d37ddabf8156fe1e
* | | | | | vim-patch:8.2.4424: ".gts" and ".gjs" files are not recognized (#17464)Christian Clason2022-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ".gts" and ".gjs" files are not recognized. Solution: Recognize Glimmer flavored typescript and javascript. (closes vim/vim#9799) https://github.com/vim/vim/commit/cdf717283ca70b18f20b8a2cefe7957083280c6f
* | | | | | fix: lsp and diagnostic highlight priority (#17461)Michael Lingelbach2022-02-19
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes https://github.com/neovim/neovim/issues/17456 * treesitter uses the default highlight priority of 50 * diagnostic highlights have a priority of 150 * lsp reference highlights have a priority of 200 This ensures proper ordering.
* | | | | Merge pull request #17454 from dundargoc/ci/labeler/testJames McCoy2022-02-18
|\ \ \ \ \ | | | | | | | | | | | | ci(labeler): change "tests" to "test"
| * | | | | ci(labeler): change "tests" to "test"Dundar Göc2022-02-18
|/ / / / /
* | | | | vim-patch:8.2.4414: solidity files are not recognized (#17451)Christian Clason2022-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: Solidity files are not recognized. Solution: Add the *.sol pattern. (Dundar Goc, closes vim/vim#9792) https://github.com/vim/vim/commit/97b231541d4e82fbc85e51121448d95bd43c50ad
* | | | | Merge pull request #17200 from lewis6991/_loadfilebfredl2022-02-18
|\ \ \ \ \ | | | | | | | | | | | | refactor(lua): call `loadfile` internally instead of `luaL_loadfile`
| * | | | | refactor(lua): call loadfile internallyLewis Russell2022-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .. instead of luaL_loadfile allows files to be cached
* | | | | | Merge pull request #17445 from dundargoc/ci/review/use-checkoutJames McCoy2022-02-18
|\ \ \ \ \ \
| * | | | | | ci: download reviews.js through checkout instead of wgetDundar Göc2022-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes testing the workflows much smoother.
* | | | | | | Merge pull request #17404 from dundargoc/ci/put-each-test-in-separate-stepJames McCoy2022-02-18
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | ci: run each test suite in a separate github step
| * | | | | | | ci: run each test suite in a separate github stepDundar Göc2022-02-18
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | This should help combat some of the lagginess when looking at the CI logs in the browser.
* | | | | | | Merge pull request #17450 from dundargoc/ci/lint/fix-keyJames McCoy2022-02-18
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | ci(lint): simplify cache key
| * | | | | | ci(lint): simplify cache keyDundar Göc2022-02-18
|/ / / / / /
* | | | | | Merge pull request #17449 from zeertzjq/vim-8.2.3659zeertzjq2022-02-18
|\ \ \ \ \ \ | | | | | | | | | | | | | | vim-patch:8.2.{3659,3660,3661}: integer overflow with large line number
| * | | | | | vim-patch:8.2.3661: test for put with large count failszeertzjq2022-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test for put with large count fails. Solution: Adjust the counts in the test. https://github.com/vim/vim/commit/8bc07e800c2af36686aadd4178cc2671f5c454d4
| * | | | | | vim-patch:8.2.3660: overflow check uses wrong numberzeertzjq2022-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Overflow check uses wrong number. Solution: Divide by ten. https://github.com/vim/vim/commit/9b0e82f35ed4e98414333e71b71ca56219683d16