aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | | | | | feat(api): autocmd `group` can be either name or id (#17559)Dhruv Manilawala2022-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(api): `group` can be either string or int This affects the following API functions: - `vim.api.nvim_create_autocmd` - `vim.api.nvim_get_autocmds` - `vim.api.nvim_do_autocmd` closes #17552 * refactor: add two maps for fast lookups * fix: delete augroup info from id->name map When in "stupid_legacy_mode", the value in name->id map would be updated to `AUGROUP_DELETED`, but the entry would still remain in id->name. This would create a problem in `augroup_name` function which would return the name of the augroup instead of `--DELETED--`. The id->name map is only used for fast loopup in `augroup_name` function so there's no point in keeping the entry of deleted augroup in it. Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
* | | | | | | Merge pull request #17631 from zeertzjq/vim-8.2.4520zeertzjq2022-03-08
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | vim-patch:8.2.4520: using wrong highlight for cursor line number
| * | | | | | | test: add a Lua screen test for CursorLineNr in diff modezeertzjq2022-03-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove a useless test added in #14190
| * | | | | | | vim-patch:8.2.4520: using wrong highlight for cursor line numberzeertzjq2022-03-08
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using wrong highlight for cursor line number. Solution: Take filler lines into account when using CursorLineNr. (closes vim/vim#9897) https://github.com/vim/vim/commit/127969cf98000a760826ca3a0f3781a8b79522f1
* | | | | | | Merge pull request #17642 from dundargoc/ci/macos/reduce-brew-outputJames McCoy2022-03-07
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | ci(macos): minimize log output from brew update
| * | | | | | ci(macos): minimize log output from brew updateDundar Göc2022-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove perl from brew install to prevent a warning that states it's already installed.
* | | | | | | build(deps): bump tree-sitter to 0.20.6 (#17587)Christian Clason2022-03-07
|/ / / / / /
* | | | | | build(deps): bump libuv to 1.44.0 (#17613)Christian Clason2022-03-07
| | | | | |
* | | | | | Merge pull request #17635 from dundargoc/ci/freebsd/bump-to-latestJames McCoy2022-03-07
|\ \ \ \ \ \
| * | | | | | ci(freebsd): use image freebsd/latestDundar Göc2022-03-07
| | |_|/ / / | |/| | | |
* | | | | | Merge pull request #17641 from dundargoc/ci/document-jobsJames McCoy2022-03-07
|\ \ \ \ \ \
| * | | | | | ci: document the purpose of some non-obvious jobsDundar Göc2022-03-07
| |/ / / / /
* | | | | | Merge pull request #17636 from bfredl/luacrashJames McCoy2022-03-07
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | fix(lua): don't use nlua_error when exiting earlybfredl2022-03-07
|/ / / / / | | | | | | | | | | | | | | | Screen state is not initialized yet. Print directly to stderr instead.
* | | | | Merge pull request #17621 from bfredl/luaindexbfredl2022-03-07
|\ \ \ \ \ | | | | | | | | | | | | refactor(lua): make vim submodule lazy loading declarative
| * | | | | refactor(lua): make vim submodule lazy loading declarativebfredl2022-03-07
| |/ / / / | | | | | | | | | | | | | | | | | | | | This will allow us to also use the same logic for lua threads and processes, later.
* | | | | chore(flake): bump flake (#17632)Matthieu Coudron2022-03-07
| | | | | | | | | | | | | | | it was 6 months old
* | | | | Merge pull request #17626 from dundargoc/ci/openbsd/bump-to-latestJames McCoy2022-03-06
|\ \ \ \ \ | | | | | | | | | | | | ci(openbsd): use latest image
| * | | | | ci(openbsd): use latest imageDundar Göc2022-03-06
| |/ / / /
* | | | | Merge pull request #17630 from kchibisov/fix-underline-regressionJames McCoy2022-03-06
|\ \ \ \ \ | | | | | | | | | | | | fix(api): highlight attribute for underline
| * | | | | fix(api): highlight attribute for underlineKirill Chibisov2022-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes regression introduced in c365de1 when checking for highlight attribute for underline was returning '0' when it was present Fixes #17624.
* | | | | | Merge pull request #17616 from zeertzjq/vim-8.2.3739zeertzjq2022-03-07
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | vim-patch:8.2.{3739,3745,3920,4060,4513}
| * | | | | test: add a test for #17609zeertzjq2022-03-07
| | | | | |
| * | | | | test(autochdir_spec): use better patternszeertzjq2022-03-07
| | | | | |
| * | | | | vim-patch:8.2.4513: window-local directory is not applied if 'acd' failszeertzjq2022-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Window-local directory is not applied if 'acd' fails. Solution: Don't call do_autochdir(). (closes vim/vim#9891) https://github.com/vim/vim/commit/b29ae159777028bb3266835b55716749ab0515be
| * | | | | vim-patch:8.2.4060: win_execute() slow on systems where getcwd()/chdir() is slowzeertzjq2022-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: win_execute() is slow on systems where getcwd() or chdir() is slow. (Rick Howe) Solution: Avoid using getcwd() and chdir() if no local directory is used and 'acd' is not set. (closes vim/vim#9504) https://github.com/vim/vim/commit/d6f27c66cca32b93fcf8024b1bad1618946bbbea
| * | | | | vim-patch:8.2.3920: restoring directory after using another window is ↵zeertzjq2022-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inefficient Problem: Restoring directory after using another window is inefficient. Solution: Only restore the directory for win_execute(). Apply 'autochdir' only when needed. https://github.com/vim/vim/commit/90c317f2246a7fb4bd4e3feb0778b53627bc9fad
| * | | | | vim-patch:8.2.3745: autochdir test fails without the +channel featurezeertzjq2022-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Autochdir test fails without the +channel feature. Solution: Remove the ch_logfile() call. (Dominique Pellé, closes vim/vim#9281) https://github.com/vim/vim/commit/f661cee847d2c17652b0ad0d703d2e3ac8610265
| * | | | | vim-patch:8.2.3739: in wrong directory when using win_execute() with 'acd' setzeertzjq2022-03-07
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Problem: In wrong directory when using win_execute() with 'acd' set. Solution: Restore the directory when returning to the window. (closes vim/vim#9276) https://github.com/vim/vim/commit/dea4a616376c6500894c16e26057ce16d7ef9f0e
* | | | | refactor(signcol): smarter invalidation (#17533)Lewis Russell2022-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously b_signcols was invalidated whenever a sign was added/removed or when a buffer line was added/removed. This change introduces a sentinel linenr_T into the buffer state which is a line number used to determine the signcolumn. With this information, we can invalidate the signcolumn less often. Now the signcolumn is only invalidated when a sign or line at the sentinel line number is removed.
* | | | | Merge pull request #17628 from jamessan/bsd-gdbJames McCoy2022-03-06
|\ \ \ \ \ | | | | | | | | | | | | ci(bsd): install gdb to get backtraces from cores
| * | | | | test(sr.ht): skip luamod-dev test which crashes nvimJames McCoy2022-03-06
| | | | | |
| * | | | | ci(bsd): install gdb to get backtraces from coresJames McCoy2022-03-06
| |/ / / /
* / / / / feat(api): add 'buffer' argument to nvim_get_autocmds (#17594)Gregory Anders2022-03-06
|/ / / / | | | | | | | | | | | | | | | | This enables retrieving autocommands defined in the given buffers. Under the hood this simply translates the buffer numbers into '<buffer=%d>' patterns.
* | | | fix(lsp): handle insertion of previous line (#17618)Michael Lingelbach2022-03-06
| | | |
* | | | Merge pull request #17623 from zeertzjq/lua-editor-mentionszeertzjq2022-03-06
|\ \ \ \ | | | | | | | | | | docs(lua): reference runtime/lua/vim/_editor.lua
| * | | | docs(lua): reference runtime/lua/vim/_editor.luazeertzjq2022-03-06
| | | | |
* | | | | Merge pull request #16897 from lewis6991/signsbfredl2022-03-06
|\ \ \ \ \ | |/ / / / |/| | | | feat(decorations): support signs
| * | | | feat(decorations): support signsLewis Russell2022-03-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the following options to extmarks: - sign_text - sign_hl_group - number_hl_group - line_hl_group - cursorline_hl_group Note: ranges are unsupported and decorations are only applied to start_row
* | | | | Merge pull request #17597 from dundargoc/build/cmake/fix-warningsJames McCoy2022-03-05
|\ \ \ \ \ | | | | | | | | | | | | fix cmake warnings
| * | | | | build(cmake): remove unused variable CMAKE_CXX_COMPILER to fix warningDundar Göc2022-03-04
| | | | | |
| * | | | | build(cmake): fix policy warningDundar Göc2022-03-04
| |/ / / /
* | | | | Merge pull request #17589 from kchibisov/add-dashed-dotted-underlineJames McCoy2022-03-05
|\ \ \ \ \ | | | | | | | | | | | | Add support for double, dashed, and dotted underlines
| * | | | | fix: bounds check for underdotKirill Chibisov2022-03-05
| | | | | |
| * | | | | fix(syntax): remove trailing spaces in vim.vimKirill Chibisov2022-03-04
| | | | | |
| * | | | | fix(docs): spelling in new underlines docsKirill Chibisov2022-03-04
| | | | | |
| * | | | | feat(tui): add support for `CSI 4 : [2,4,5] m`Kirill Chibisov2022-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit finishes support for colored and styled underlines adding `CSI 4 : [2,4,5] m` support providing double, dashed, and dotted underlines Fixes #17362.
* | | | | | Merge pull request #17538 from dundargoc/refactor/bugprone-signed-char-misusebfredl2022-03-05
|\ \ \ \ \ \ | | | | | | | | | | | | | | refactor: fix clang-tidy bugprone-signed-char-misuse warnings
| * | | | | | test(strcase_save): test overlong UTF8-encodingDundar Göc2022-03-05
| | | | | | |
| * | | | | | refactor: fix clang-tidy bugprone-signed-char-misuse warningsDundar Göc2022-03-04
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | Prefer to declare variables with correct type instead of explicit casts wherever possible.