aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* ci: don't install unnecessary dependenciesdundargoc2023-05-01
|
* perf(lsp): process semantic tokens response in a coroutine that yields every ↵jdrouhard2023-05-01
| | | | 5ms (#23375)
* fix(spell): extmark with spell=false should disable spell (#23400)zeertzjq2023-05-01
|
* build: make lpeg an imported librarydundargoc2023-04-30
| | | | | | | | | | | Cmake truncates the full link path to a shared library if it is missing an SONAME in some undocumented scenarios. This causes builds in some systems to fail if "lpeg" isn't a library on the system path. The path of imported libraries aren't modified by cmake, so we can use that as a workaround until a proper solution for this has been identified. Closes https://github.com/neovim/neovim/issues/23395.
* vim-patch:9.0.1500: The falsy operator is not tested properly (#23407)zeertzjq2023-04-30
| | | | | | Problem: The falsy operator is not tested properly. Solution: Add a few more test cases. (closes vim/vim#12319) https://github.com/vim/vim/commit/58a44751cec55be1ace0d4be5367dc19bc56be5d
* fix(treesitter): redraw added/removed injections properly (#23287)Lewis Russell2023-04-30
| | | | | | When injections are added or removed make sure to: - invoke 'changedtree' callbacks for when new trees are added. - invoke 'changedtree' callbacks for when trees are invalidated - redraw regions when languagetree children are removed
* build(deps): bump LuaJIT to HEAD - 224129a8e (#23405)Christian Clason2023-04-30
|
* docs: fix erroneous nvim_buf_set_extmark example (#23404)luukvbaal2023-04-30
|
* docs(api): document nvim_buf_add_highlight vs nvim_buf_set_extmark (#23310)JP2023-04-30
|
* feat(treesitter): upstream query omnifunc from playground (#23394)Christian Clason2023-04-30
| | | and set by default in `ftplugin/query.lua`
* version.c: update [skip ci] (#23388)github-actions[bot]2023-04-30
| | | Co-authored-by: marvim <marvim@users.noreply.github.com>
* Merge pull request #23382 from gpanders/iter-benchmarkGregory Anders2023-04-29
|\ | | | | Add vim.iter benchmark to benchmark test suite
| * perf(iter): reduce number of table allocationsGregory Anders2023-04-28
| | | | | | | | | | | | | | | | Packing and unpacking return values impairs performance considerably. In an attempt to avoid creating tables as much as possible we can instead pass return values between functions (which does not require knowing the number of values a function might return). This makes the code more complex, but improves benchmark numbers non-trivially.
| * test: add benchmark for vim.iterGregory Anders2023-04-28
| |
* | vim-patch:9.0.1499: using uninitialized memory with fuzzy matching (#23399)zeertzjq2023-04-30
| | | | | | | | | | | | | | | | Problem: Using uninitialized memory with fuzzy matching. Solution: Initialize the arrays used to store match positions. https://github.com/vim/vim/commit/caf642c25de526229264cab9425e7c9979f3509b Co-authored-by: Bram Moolenaar <Bram@vim.org>
* | feat(treesitter): add query_linter from nvim-treesitter/playground (#22784)Stephan Seitz2023-04-29
| | | | | | | | Co-authored-by: clason <clason@users.noreply.github.com> Co-authored-by: lewis6991 <lewis6991@users.noreply.github.com>
* | ci: make install_deps.sh more flexibledundargoc2023-04-29
| | | | | | | | This will allow us to use it in containers as well as specify whether we want to install test dependencies.
* | ci: run lintcommit with cmake targetdundargoc2023-04-29
| | | | | | | | This increases CI time, but prevents situations where it works on CI but not locally.
* | vim-patch:9.0.1497: the ruler percentage can't be localized (#23389)zeertzjq2023-04-29
| | | | | | | | | | | | | | | | Problem: The ruler percentage can't be localized. Solution: Use a string that can be translated. (Emir Sari, closes vim/vim#12311) https://github.com/vim/vim/commit/971cd2b8bc3e3a7faa886162cd7568938c627882 Co-authored-by: Emir SARI <emir_sari@icloud.com>
* | ci: install uncrustify through homebrewdundargoc2023-04-29
| | | | | | | | It will result in less CI code, and the additional CI time is negligible.
* | Merge pull request #23386 from zeertzjq/vim-8.2.0551zeertzjq2023-04-29
|\ \ | | | | | | vim-patch:8.2.{0551,0578,0672}: heredoc for interfaces does not support "trim"
| * | fix(heredoc): allow missing end marker for scriptszeertzjq2023-04-29
| | | | | | | | | | | | Also do not crash when getting heredoc fails.
| * | vim-patch:8.2.0672: heredoc in scripts does not accept lower case markerzeertzjq2023-04-29
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Heredoc in scripts does not accept lower case marker. Solution: Allow lower case only in non-Vim scripts. (Ken Takata, closes vim/vim#6019) https://github.com/vim/vim/commit/6ab0953fefe31fef91e40752a675ceb60fc2fe03
| * | vim-patch:8.2.0578: heredoc for interfaces does not support "trim"zeertzjq2023-04-29
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Heredoc for interfaces does not support "trim". Solution: Update the script heredoc support to be same as the :let command. (Yegappan Lakshmanan, closes vim/vim#5916) https://github.com/vim/vim/commit/6c2b7b8055b96463f78abb70f58c4c6d6d4b9d55
| * | vim-patch:8.2.0551: not all code for options is testedzeertzjq2023-04-29
|/ / | | | | | | | | | | | | Problem: Not all code for options is tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5913) https://github.com/vim/vim/commit/1363a30cef382b912bf092969e040333c5c293c6
* | build: add CMakePresets for deps build to reduce verbositydundargoc2023-04-29
| |
* | ci: replace stylua action with our own lint targetdundargoc2023-04-29
| | | | | | | | | | | | | | This will prevent situations where the linting works on CI but not locally, at the cost of increased CI time. Also manually ignore `runtime/vim/lua/re.lua`, as the .styluaignore isn't respected when specifying a file instead of a directory.
* | Merge pull request #23377 from zeertzjq/vim-9.0.1336zeertzjq2023-04-28
|\ \ | | | | | | vim-patch:9.0.{1336,1372}
| * | vim-patch:9.0.1372: test for 'toolbariconsize' may failzeertzjq2023-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test for 'toolbariconsize' may fail. Solution: Only test 'toolbariconsize' when it is supported. (James McCoy, closes vim/vim#12095) https://github.com/vim/vim/commit/db1887ce40452daea8c4e8734ec64202e5f24130 Co-authored-by: James McCoy <jamessan@jamessan.com>
| * | vim-patch:9.0.1336: functions without arguments are not always declared properlyzeertzjq2023-04-28
|/ / | | | | | | | | | | | | | | | | Problem: Functions without arguments are not always declared properly. Solution: Use "(void)" instead of "()". (Yegappan Lakshmanan, closes vim/vim#12031) https://github.com/vim/vim/commit/a23a11b5bf03454b71fdb5deac0d5f641e222160 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* | Merge pull request #23162 from lewis6991/vimpatch/option_cbzeertzjq2023-04-28
|\ \ | |/ |/| vim-patch:9.0.{1330,1345,1353,1359,1369,1374}: handling new value of an option has a long "else if" chain
| * refactor(option.c): make did_set callbacks staticLewis Russell2023-04-28
| |
| * vim-patch:9.0.1374: function for setting options not used consistentlyLewis Russell2023-04-28
| | | | | | | | | | | | | | | | Problem: Function for setting options not used consistently. Solution: Use a function for 'encoding' and terminal options. (Yegappan Lakshmanan, closes vim/vim#12099) https://github.com/vim/vim/commit/c727b19e9f1df36e44321d933334c7b4961daa54
| * vim-patch:9.0.1369: still some "else if" constructs for setting optionsLewis Russell2023-04-28
| | | | | | | | | | | | | | | | Problem: Still some "else if" constructs for setting options. Solution: Add a few more functions for handling options. (Yegappan Lakshmanan, closes vim/vim#12090) https://github.com/vim/vim/commit/c6ff21e876af0e3ad59664dd0f69359c4b6e9f1d
| * vim-patch:9.0.1359: too many "else if" statements in handling optionsLewis Russell2023-04-28
| | | | | | | | | | | | | | | | Problem: Too many "else if" statements in handling options. Solution: Add more functions for handling option changes. (Yegappan Lakshmanan, closes vim/vim#12060) https://github.com/vim/vim/commit/5da901bb68717b2baff6e971c1517219b6ee3a67
| * vim-patch:9.0.1353: too many "else if" statements to handle option valuesLewis Russell2023-04-28
| | | | | | | | | | | | | | | | Problem: Too many "else if" statements to handle option values. Solution: Add more functions to handle option value changes. (Yegappan Lakshmanan, closes vim/vim#12058) https://github.com/vim/vim/commit/6d611de58c8e324491415da8e79c6bd3faa3e848
| * vim-patch:9.0.1345: too many "else if" statements for handling optionsLewis Russell2023-04-28
| | | | | | | | | | | | | | | | Problem: Too many "else if" statements for handling options. Solution: Add more functions to handle options. (Yegappan Lakshmanan, closes vim/vim#12051) https://github.com/vim/vim/commit/8ad862a1f9d6f4128de856ccfabbeb7546d33b98
| * vim-patch:9.0.1330: handling new value of an option has a long "else if" chainLewis Russell2023-04-28
| | | | | | | | | | | | | | Problem: Handling new value of an option has a long "else if" chain. Solution: Use a function pointer. (Yegappan Lakshmanan, closes vim/vim#12015) https://github.com/vim/vim/commit/af93691b53f38784efce0b93fe7644c44a7e382e
* | feat: add link in issue template to minimal config templateLewis Russell2023-04-28
|/
* vim-patch:8.2.3509: undo file is not synced (#23371)zeertzjq2023-04-28
| | | | | | | | | Problem: Undo file is not synced. (Sami Farin) Solution: Sync the undo file if 'fsync' is set. (Christian Brabandt, closes vim/vim#8879, closes vim/vim#8920) https://github.com/vim/vim/commit/340dd0fbe462a15a9678cfba02085b4adcc45f02 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* fix(tui): position cursor at bottom-left before stopping (#23369)zeertzjq2023-04-28
| | | Fix #23361
* Merge pull request #23367 from zeertzjq/vim-8.2.1108zeertzjq2023-04-28
|\ | | | | vim-patch:8.2.{1108,partial:1235},9.0.1084
| * vim-patch:9.0.1084: code handling low level MS-Windows events cannot be testedzeertzjq2023-04-28
| | | | | | | | | | | | | | | | Problem: Code handling low level MS-Windows events cannot be tested. Solution: Add test_mswin_event() and tests using it. (Christopher Plewright, closes vim/vim#11622) https://github.com/vim/vim/commit/20b795e0eba6c933868c8f7cf62fb85d4f007688
| * vim-patch:partial:8.2.1235: Not all mouse codes covered by testszeertzjq2023-04-28
| | | | | | | | | | | | | | | | | | Problem: Not all mouse codes covered by tests. Solution: Add more tests for the mouse. (Yegappan Lakshmanan, closes vim/vim#6472) https://github.com/vim/vim/commit/2764d06ab7140c95b6317e344d853e4a32c76e9a Cherry-pick typo fixes from patch 8.2.0020.
| * vim-patch:8.2.1108: mouse left-right scroll is not supported in terminal windowzeertzjq2023-04-28
|/ | | | | | | Problem: Mouse left-right scroll is not supported in terminal window. Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes vim/vim#6363) https://github.com/vim/vim/commit/d58d4f90aeb381045000ea46493b5bd9b9d1fa23
* Merge pull request #23364 from zeertzjq/vim-8.1.1155zeertzjq2023-04-28
|\ | | | | vim-patch:8.1.{partial:1155,1160,1165,1167,1175,1176,1178,1179,1181,1216,1223,1244,1247,1248,.2106,2148,2306},9.0.0825
| * vim-patch:9.0.0825: cannot drag an entry in the tabpage linezeertzjq2023-04-28
| | | | | | | | | | | | | | | | Problem: Cannot drag an entry in the tabpage line. Solution: Clear dragwin instead of got_click. (closes vim/vim#11483, closes vim/vim#11482) https://github.com/vim/vim/commit/8e0ccb6bc21a446e5c6375b7fdf200fb53a129da
| * vim-patch:8.1.2306: double and triple clicks are not testedzeertzjq2023-04-28
| | | | | | | | | | | | | | | | | | Problem: Double and triple clicks are not tested. Solution: Test mouse clicks to select text. (closes vim/vim#5226) https://github.com/vim/vim/commit/f36a2c7e60d86b1a1733a8f51ed72da9c6f76eb8 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.1.2148: no test for right click extending Visual areazeertzjq2023-04-28
| | | | | | | | | | | | | | | | | | Problem: No test for right click extending Visual area. Solution: Add a test. (Dominique Pelle, closes vim/vim#5018) https://github.com/vim/vim/commit/6aa7523b9642a752ab879131d4b159635207d9f2 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:8.1.2106: no tests for dragging the mouse beyond the windowzeertzjq2023-04-28
| | | | | | | | | | | | | | | | | | Problem: No tests for dragging the mouse beyond the window. Solution: Add a test. (Dominique Pelle, closes vim/vim#5004) https://github.com/vim/vim/commit/b4367b7fb65f6a88f76ef99f79342341af0b1017 Co-authored-by: Bram Moolenaar <Bram@vim.org>