aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:8.2.3805: i3config files are not recognized (#16645)Christian Clason2021-12-14
| | | | | | Problem: i3config files are not recognized. Solution: Add patterns to match i3config files. (Quentin Hibon, closes vim/vim#7969) https://github.com/vim/vim/commit/8176be159859deb9cf6455565bd7b24b3dcf17b9
* Merge pull request #16602 from zeertzjq/tui-end-streamed-pasteJames McCoy2021-12-13
|\
| * fix(tui): end streamed paste correctly when key buffer is emptyzeertzjq2021-12-10
| |
* | Merge pull request #16348 from lewis6991/queryThomas Vigouroux2021-12-13
|\ \ | | | | | | feat(treesitter): Support match queries on multiline nodes
| * | feat(treesitter): multiline match predicatesLewis Russell2021-12-12
|/ /
* | feat(ts): add support for multiline nodes in get_node_text (#14999)Mathias Fußenegger2021-12-12
| | | | | | | | | | | | Based on https://github.com/neovim/neovim/pull/14445 This extends `vim.treesitter.query.get_node_text` to return the text that spans a node's range even if start_row ~= end_row.
* | fix(docs): add bufnr and user_data to diagnostic-structure (#16619)Mathias Fußenegger2021-12-11
| |
* | Merge pull request #16613 from bfredl/vim-patch-8.2.3777Björn Linse2021-12-11
|\ \ | | | | | | vim-patch:8.2.3777: spell file write error not checked
| * | vim-patch:8.2.3777: spell file write error not checkedBjörn Linse2021-12-10
| | | | | | | | | | | | | | | Problem: Spell file write error not checked. Solution: Check writing the prefix conditions. (Björn Linse, closes vim/vim#9323)
* | | Merge pull request #16614 from zeertzjq/test-remove-misc1Björn Linse2021-12-11
|\ \ \ | | | | | | | | test: remove references to misc1.c
| * | | test: remove references to misc1.czeertzjq2021-12-11
|/ / /
* | | Merge pull request #16607 from bfredl/no2misc1Björn Linse2021-12-10
|\ \ \ | | | | | | | | refactor: get rid of misc1.c ("functions that didn't seem to fit elsewhere")
| * | | refactor(misc1): move out high-level input functions to a new file: input.cBjörn Linse2021-12-10
| | | | | | | | | | | | | | | | | | | | Possibly dialog code is messages.c could be moved here as well. misc1.c is now empty, so delete it.
| * | | refactor(misc1): move shell related functions to os/shell.cBjörn Linse2021-12-10
| | | |
| * | | refactor(misc1): move insertmode related function to edit.cBjörn Linse2021-12-10
| | | |
| * | | refactor(misc1): move way beep functions elsewhereBjörn Linse2021-12-10
| | | |
| * | | refactor(misc1): move msgmore function to messages.cBjörn Linse2021-12-10
| | | |
| * | | refactor(misc1): move comment related functions to change.cBjörn Linse2021-12-10
| | | | | | | | | | | | | | | | | | | | These are used in various places, but were grouped with open_line() which has a lot of comment prefix logic originally.
| * | | refactor(misc1): move user related code to os/users.cBjörn Linse2021-12-10
| |/ /
* | | docs(vim_diff.txt): document SearchWrapped (#16612)zeertzjq2021-12-10
| | |
* | | refactor: replace deprecated lua functions with their new versions (#16603)dundargoc2021-12-10
| | | | | | | | | | | | | | | | | | Calling vim.lsp.buf.definition() sometimes gives a deprecation warning. This will likely solve that. Co-authored-by: Christian Clason <christian.clason@uni-due.de>
* | | runtime: support once on s:GetAutocmdPrefix (#16457)Koichi Shiraishi2021-12-10
| | | | | | | | | Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
* | | feat: add autocommand event when search wraps around (#8487)Alejandro Exojo2021-12-10
|/ /
* / fix(lsp): create lsp requests with position offsets considering client ↵Rishikesh Vaishnav2021-12-10
|/ | | | | | encoding (#16382) Co-authored-by: black-desk <clx814727823@gmail.com> Co-authored-by: Mathias Fußenegger <mfussenegger@users.noreply.github.com>
* Merge pull request #16597 from bfredl/nomisc1Björn Linse2021-12-10
|\ | | | | refactor: move out some long-hanging fruit from misc1.c
| * refactor(misc1): move preserve_exit() to related functions in main.cBjörn Linse2021-12-09
| |
| * refactor(misc1): move out misc functions which obviously belong elsewhereBjörn Linse2021-12-09
| | | | | | | | Also make some function names more descriptive/regular.
| * refactor(misc1): move out autocmd related functionsBjörn Linse2021-12-09
| |
| * refactor(misc1): move line_breakcheck family of functions to os/input.cBjörn Linse2021-12-09
| |
* | Merge pull request #16541 from jamessan/vim-8.2.3664James McCoy2021-12-09
|\ \ | | | | | | vim-patch:8.2.3664,8.2.3743,8.2.3747,8.2.3748,8.2.3757
| * | vim-patch:8.2.3757: an overlong highlight group name is silently truncatedJames McCoy2021-12-08
| | | | | | | | | | | | | | | | | | Problem: An overlong highlight group name is silently truncated. Solution: Give an error if the name is too long. (closes vim/vim#9289) https://github.com/vim/vim/commit/f7f7aaf8aaad34a38d3f159e031c5bcf3394f8f1
| * | test(fold): add test for CursorLineFoldGregory Anders2021-12-08
| | |
| * | test(sign): add test for culhl optionGregory Anders2021-12-08
| | |
| * | vim-patch:partial 6304be625ce4James McCoy2021-12-08
| | | | | | | | | | | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/6304be625ce44dcfedc6735164d0b853578581c8 Remaining changes left out of 03d250eb4504d5168a754d0f3b7e9992337d60b4
| * | vim-patch:8.2.3748: giving an error for an empty sign argument breaks a pluginJames McCoy2021-12-08
| | | | | | | | | | | | | | | | | | Problem: Giving an error for an empty sign argument breaks a plugin. Solution: Do not give an error. https://github.com/vim/vim/commit/e5710a02cb78c2a0a868ea55740835c78ddecbb4
| * | vim-patch:8.2.3747: cannot remove highlight from an existing signJames McCoy2021-12-08
| | | | | | | | | | | | | | | | | | Problem: Cannot remove highlight from an existing sign. (James McCoy) Solution: Only reject empty argument for a new sign. https://github.com/vim/vim/commit/0bac5fc5e125b7aa0f3b596c9b7f4381279e6688
| * | vim-patch:8.2.3743: ":sign" can add a highlight group without a nameJames McCoy2021-12-08
| | | | | | | | | | | | | | | | | | Problem: ":sign" can add a highlight group without a name. Solution: Give an error if the group name is missing. (closes vim/vim#9280) https://github.com/vim/vim/commit/5e18ccc60bdddc4aa39ab039f1a7c918f29e67ce
| * | vim-patch:8.2.3664: cannot adjust sign highlighting for 'cursorline'James McCoy2021-12-08
| | | | | | | | | | | | | | | | | | | | | Problem: Cannot adjust sign highlighting for 'cursorline'. Solution: Add CursorLineSign and CursorLineFold highlight groups. (Gregory Anders, closes vim/vim#9201) https://github.com/vim/vim/commit/e413ea04b716effb28eb49dbc98ad3f9f761545a
* | | Merge pull request #16524 from dundargoc/ci/optimize-brewJames McCoy2021-12-09
|\ \ \ | | | | | | | | ci: remove "brew upgrade" from macos jobs
| * | | ci: remove "brew upgrade" from macos jobsDundar Göc2021-12-04
| | | | | | | | | | | | | | | | | | | | | | | | Packages are automatically upgraded on install. This will avoid upgrading unrelated packages, cutting the macos job time to about a half.
* | | | Merge pull request #16414 from zeertzjq/terminal-no-invalid-rowsJames McCoy2021-12-09
|\ \ \ \ | | | | | | | | | | fix(terminal): return early if there are no invalid rows
| * | | | fix(terminal): return early if there are no invalid rowszeertzjq2021-12-08
| | | | | | | | | | | | | | | | | | | | Prevent on_lines emitting out-of-bounds line indexes.
* | | | | Merge pull request #16547 from pekdon/sunosJames McCoy2021-12-09
|\ \ \ \ \ | | | | | | | | | | | | Portability improvements, first steps at getting neovim on x86_64 SunOS
| * | | | | fix: don't use cfsetspeed, use i and o variantsClaes Nästén2021-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cfsetspeed is not available on SunOS, use cfsetispeed and cfsetospeed instead.
| * | | | | fix: don't include pty.h on SunOSClaes Nästén2021-12-07
| | | | | |
| * | | | | fix: add STRNLEN compatability macroClaes Nästén2021-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Older SunOS systems come without strnlen, add STRNLEN macro in line with the other str* compat macros.
| * | | | | fix: define NAME_MAX from _XOPEN_NAME_MAXClaes Nästén2021-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On SunOS NAME_MAX is not defined, _XOPEN_NAME_MAX is so fall back to defining NAME_MAX from _XOPEN_NAME_MAX.
| * | | | | fix: skip libutil on SunOSClaes Nästén2021-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libutil is not available on Solaris variants, even on Solaris 11 where forkpty is available.
* | | | | | Merge pull request #16564 from glacambre/improve_test_harness_perfJames McCoy2021-12-09
|\ \ \ \ \ \ | | | | | | | | | | | | | | test(helpers): optimize read_file_list
| * | | | | | test(helpers): optimize read_file_listglacambre2021-12-08
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Read_file_list is used to read back data from the nvim log file as the testsuite executes. However, the nvim log file can get really big (each full run of the testsuite appends roughly 150MB of data to this file). Reading each line of this file can thus be extremely slow, and so are the repeated table.insert/table.removes that are done for each line. A solution to this issue is tto only read the end of the file. This results in a sizeable improvement in testsuite run times in some cases, e.g. on my computer: Without this commit: real 20m0.431s user 17m11.163s sys 1m59.422s With this commit: real 4m25.356s user 1m41.673s sys 1m31.253s