| Commit message (Collapse) | Author | Age |
... | |
|\ \ \ \ \
| |_|/ / /
|/| | | | |
refactor(decorations): move provider code
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Now all the decoration provider code is in one place, decor_providers no
longer need to be global.
|
| |/ / /
| | | |
| | | |
| | | | |
Move decoration provider code to a separate file.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Going beyond the end of the line with /\%V.
Solution: Check for valid column in getvcol().
https://github.com/vim/vim/commit/94f3192b03ed27474db80b4d3a409e107140738b
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Problem: Using freed memory with /\%V.
Solution: Get the line again after getvvcol().
https://github.com/vim/vim/commit/4c13e5e6763c6eb36a343a2b8235ea227202e952
|
|\ \ \
| | | |
| | | | |
fix lgtm warnings
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Co-authored-by: Hongyi Lyu <hongyi.lyu95@gmail.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: notomo <notomo.motono@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
vim-patch:8.1.{2005,2010}: the regexp.c file is too big
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: The regexp.c file is too big.
Solution: Move the backtracking engine to a separate file. (Yegappan
Lakshmanan, closes vim/vim#4905)
https://github.com/vim/vim/commit/6d7d7cf750bca5d641e464f6a3af5ee5b99a5ac8
vim-patch:8.1.2010: new file uses old style comments
Problem: New file uses old style comments.
Solution: Change to new style comments. (Yegappan Lakshmanan, closes vim/vim#4910)
https://github.com/vim/vim/commit/9490b9a61cf1f1f3fa9758663a33124ea9f71c87
|
|/ / / /
| | | |
| | | |
| | | | |
Treat fillchar as single-width even if it isn't.
|
|\ \ \ \
| | | | |
| | | | | |
fix(extmarks): fix signs
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Don't add sign extmarks to state->active. Instead when drawing signs,
perform a full line scan for sign marks. This allows decor_redraw_line
to be moved back inside the `!number_only` block in screen.c, which
prevents decor scans when redrawing the number column when
'relativenumber' is set.
Fixes: #17638
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
vim-patch:8.1.0999: use register one too often and not properly tested
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Use register one too often and not properly tested.
Solution: Do not always use register one when specifying a register.
(closes vim/vim#4085) Add more tests.
https://github.com/vim/vim/commit/9d7fdd403a3a9ee0d008b6dcbcd2ecc9ec0f57b7
|
| | | | |
| | | | |
| | | | |
| | | | | |
Needed for Vim patch 8.1.0999.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Using sprintf() instead of semsg().
Solution: Use semsg(). Fix bug with E888. (Ozaki Kiichi, closes vim/vim#3801)
https://github.com/vim/vim/commit/1be45b2ea76ae2e39817a98a584d4d6cbb983a7b
vim-patch:8.1.0136: Lua tests don't cover new features
Problem: Lua tests don't cover new features.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#3130)
https://github.com/vim/vim/commit/2f362bf7f9acc9ec87799d1e41bf0ae7712d1f7a
vim-patch:8.1.0139: Lua tests fail on some platforms
Problem: Lua tests fail on some platforms.
Solution: Accept a hex number with and without "0x". (Ken Takata,
closes vim/vim#3137)
https://github.com/vim/vim/commit/a8a60d0c6b292216e55f005cf9637789a771d34b
vim-patch:8.1.0164: luaeval('vim.buffer().name') returns an error
Problem: luaeval('vim.buffer().name') returns an error.
Solution: Return an empty string. (Dominique Pelle, closes vim/vim#3167)
https://github.com/vim/vim/commit/fe08df452af10db8a24dbeb1bd9ef09492a4bc66
vim-patch:8.1.0300: the old window title might be freed twice
Problem: The old window title might be freed twice. (Dominique Pelle)
Solution: Do not free "oldtitle" in a signal handler but set a flag to have
it freed later.
https://github.com/vim/vim/commit/d8f0cef2bdbdc15d7906f991725e09e67c97cf7e
vim-patch:8.1.0672: the Lua interface doesn't know about v:null
Problem: The Lua interface doesn't know about v:null.
Solution: Add Lua support for v:null. (Uji, closes vim/vim#3744)
https://github.com/vim/vim/commit/9067cd6cdfdc0bb869aa7f5d2a6c607ea8255239
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
dundargoc/refactor/clang-tidy/remove-redundant-casts
refactor/clang tidy/remove redundant casts
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: Cannot execute a register containing line continuation.
Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
closes vim/vim#6272)
https://github.com/vim/vim/commit/856c1110c1cf0d6e44e387b70732ca4b4c8ef0f2
According to #2542 the "Future:" part was removed intentionally.
Use size_t in more places to reduce type casts.
|
| | | | |
| | | | |
| | | | | |
Using MAX always sets growsize to 8000, unless ga_len is larger...
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| |/ / /
|/| | |
| | | |
| | | | |
Screen state is not initialized yet. Print directly to stderr instead.
|
|\ \ \ \
| | | | |
| | | | | |
refactor(lua): make vim submodule lazy loading declarative
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
This will allow us to also use the same logic for lua threads and
processes, later.
|
|\ \ \ \
| | | | |
| | | | | |
fix(api): highlight attribute for underline
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This commit fixes regression introduced in c365de1 when checking for
highlight attribute for underline was returning '0' when it was present
Fixes #17624.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|/ / /
| | |
| | |
| | |
| | | |
This enables retrieving autocommands defined in the given buffers. Under
the hood this simply translates the buffer numbers into '<buffer=%d>'
patterns.
|
|\ \ \
| | | |
| | | | |
feat(decorations): support signs
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| | | | |
| | | | | |
Add support for double, dashed, and dotted underlines
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
refactor: fix clang-tidy bugprone-signed-char-misuse warnings
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
Prefer to declare variables with correct type instead of explicit casts
wherever possible.
|
|/ / / /
| | | |
| | | |
| | | | |
reorganize so that initialization is done in lua
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
refactor(lua): regularize builtin modules, phase 1
|
| |/ / / |
|