bfredl
f39a12d629
refactor(lua): make vim submodule lazy loading declarative
...
This will allow us to also use the same logic for lua threads and
processes, later.
2022-03-07 09:59:22 +01:00
James McCoy
5760cf87b6
Merge pull request #17626 from dundargoc/ci/openbsd/bump-to-latest
...
ci(openbsd): use latest image
2022-03-06 20:06:36 -05:00
James McCoy
a7c999523d
Merge pull request #17630 from kchibisov/fix-underline-regression
...
fix(api): highlight attribute for underline
2022-03-06 18:43:02 -05:00
zeertzjq
40e3668e54
Merge pull request #17616 from zeertzjq/vim-8.2.3739
...
vim-patch:8.2.{3739,3745,3920,4060,4513}
2022-03-07 07:10:48 +08:00
zeertzjq
194411d18a
test: add a test for #17609
2022-03-07 06:43:03 +08:00
zeertzjq
0442635a50
test(autochdir_spec): use better patterns
2022-03-07 06:43:03 +08:00
zeertzjq
eb70540ff0
vim-patch:8.2.4513: window-local directory is not applied if 'acd' fails
...
Problem: Window-local directory is not applied if 'acd' fails.
Solution: Don't call do_autochdir(). (closes vim/vim#9891 )
b29ae15977
2022-03-07 06:43:03 +08:00
zeertzjq
8e06377bc6
vim-patch:8.2.4060: win_execute() slow on systems where getcwd()/chdir() is slow
...
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 )
d6f27c66cc
2022-03-07 06:43:03 +08:00
zeertzjq
da9bc96152
vim-patch:8.2.3920: restoring directory after using another window is inefficient
...
Problem: Restoring directory after using another window is inefficient.
Solution: Only restore the directory for win_execute(). Apply 'autochdir'
only when needed.
90c317f224
2022-03-07 06:43:03 +08:00
zeertzjq
1a5409db0d
vim-patch:8.2.3745: autochdir test fails without the +channel feature
...
Problem: Autochdir test fails without the +channel feature.
Solution: Remove the ch_logfile() call. (Dominique Pellé, closes vim/vim#9281 )
f661cee847
2022-03-07 06:43:03 +08:00
zeertzjq
8262de0b48
vim-patch:8.2.3739: in wrong directory when using win_execute() with 'acd' set
...
Problem: In wrong directory when using win_execute() with 'acd' set.
Solution: Restore the directory when returning to the window. (closes vim/vim#9276 )
dea4a61637
2022-03-07 06:43:03 +08:00
Dundar Göc
04ae502691
ci(openbsd): use latest image
2022-03-06 23:02:28 +01:00
Dundar Göc
ff032f2710
refactor: remove redundant casts
2022-03-06 23:02:10 +01:00
Dundar Göc
918ab6bf00
ci(clint): remove "Unknown NOLINT error category" warning
...
Clang-tidy also uses "NOLINT" to suppress warnings which causes a
conflict.
2022-03-06 23:02:10 +01:00
Lewis Russell
8e7446b3cb
refactor(signcol): smarter invalidation ( #17533 )
...
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.
2022-03-06 22:45:26 +01:00
James McCoy
5400017020
Merge pull request #17628 from jamessan/bsd-gdb
...
ci(bsd): install gdb to get backtraces from cores
2022-03-06 16:09:39 -05:00
Kirill Chibisov
96bb1784a6
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 .
2022-03-06 23:51:25 +03:00
James McCoy
0b53645596
test(sr.ht): skip luamod-dev test which crashes nvim
2022-03-06 15:44:54 -05:00
Gregory Anders
92349b1db0
feat(api): add 'buffer' argument to nvim_get_autocmds ( #17594 )
...
This enables retrieving autocommands defined in the given buffers. Under
the hood this simply translates the buffer numbers into '<buffer=%d>'
patterns.
2022-03-06 12:35:14 -07:00
James McCoy
ee1112f1b7
ci(bsd): install gdb to get backtraces from cores
2022-03-06 13:58:21 -05:00
Michael Lingelbach
3800615da9
fix(lsp): handle insertion of previous line ( #17618 )
2022-03-06 07:52:11 -08:00
zeertzjq
24d56116f7
Merge pull request #17623 from zeertzjq/lua-editor-mentions
...
docs(lua): reference runtime/lua/vim/_editor.lua
2022-03-06 23:05:44 +08:00
zeertzjq
80e6f81862
docs(lua): reference runtime/lua/vim/_editor.lua
2022-03-06 22:32:22 +08:00
bfredl
72a04bda90
Merge pull request #16897 from lewis6991/signs
...
feat(decorations): support signs
2022-03-06 14:09:01 +01:00
James McCoy
8ed9c84481
Merge pull request #17597 from dundargoc/build/cmake/fix-warnings
...
fix cmake warnings
2022-03-05 15:02:01 -05:00
James McCoy
c365de1d22
Merge pull request #17589 from kchibisov/add-dashed-dotted-underline
...
Add support for double, dashed, and dotted underlines
2022-03-05 15:00:07 -05:00
bfredl
d557a45571
Merge pull request #17538 from dundargoc/refactor/bugprone-signed-char-misuse
...
refactor: fix clang-tidy bugprone-signed-char-misuse warnings
2022-03-05 19:39:36 +01:00
bfredl
2de4d3c7ac
Merge pull request #17603 from bfredl/luaworld
...
refactor(lua): move only runtime lua file in src/ to runtime/lua
2022-03-05 19:21:34 +01:00
Michael Lingelbach
a5e475fcc2
fix(lsp): start incremental sync range at previous newline character ( #17610 )
...
This change forces the start of an incremental sync range to begin always on an existing line.
2022-03-05 09:17:56 -08:00
Lewis Russell
30e4cc3b3f
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
2022-03-05 16:51:59 +00:00
Kirill Chibisov
7fd1182c62
fix: bounds check for underdot
2022-03-05 19:16:14 +03:00
James McCoy
228ea78622
Merge pull request #17611 from zeertzjq/vim-patch-pr-args
...
feat(vim-patch.sh): support additional args for -s
2022-03-05 11:04:30 -05:00
Dundar Göc
fff527b88d
test(strcase_save): test overlong UTF8-encoding
2022-03-05 16:40:03 +01:00
zeertzjq
0ec92bb463
feat(vim-patch.sh): support additional args for -s
...
This allows creating a draft vim-patch PR.
2022-03-05 10:12:17 +08:00
Dundar Göc
4d2744ffe3
refactor: fix clang-tidy bugprone-signed-char-misuse warnings
...
Prefer to declare variables with correct type instead of explicit casts
wherever possible.
2022-03-04 19:52:41 +01:00
Dundar Göc
eb4ae060bc
build(cmake): remove unused variable CMAKE_CXX_COMPILER to fix warning
2022-03-04 19:21:35 +01:00
bfredl
186a559818
refactor(lua): move only runtime lua file in src/ to runtime/lua
...
reorganize so that initialization is done in lua
2022-03-04 19:07:42 +01:00
Dundar Göc
6379389cbb
build(cmake): fix policy warning
2022-03-04 17:16:40 +01:00
James McCoy
83fc914337
Merge pull request #17601 from dundargoc/revert/libuv
2022-03-04 11:04:17 -05:00
Dundar Göc
f9a8a811c7
revert: "build(deps): bump libuv to 1.43.0+7ae0c95"
...
This reverts commit 2da9450de5
.
2022-03-04 16:24:17 +01:00
Kirill Chibisov
6795c9772b
fix(syntax): remove trailing spaces in vim.vim
2022-03-04 15:35:44 +03:00
James McCoy
6b6e64dfeb
Merge pull request #17598 from dundargoc/ci/reviewer/update-reviewers
...
ci(reviews): update reviewers
2022-03-04 06:18:14 -05:00
Dundar Göc
b842f5491f
ci(reviews): update reviewers
2022-03-04 11:28:32 +01:00
zeertzjq
ead0a5a464
Merge pull request #17596 from zeertzjq/autocmd-comment
...
chore(autocmd): move comment to the right place
2022-03-04 17:14:52 +08:00
zeertzjq
08cf3fb099
chore(autocmd): move comment to the right place
2022-03-04 16:39:55 +08:00
Jaehwang Jung
d5bd7ffe51
fix(autocmd): clean up autocmds only when needed ( #17593 )
2022-03-04 09:25:09 +01:00
Kirill Chibisov
4472820182
fix(docs): spelling in new underlines docs
2022-03-04 00:35:51 +03:00
Kirill Chibisov
f89fb41a7a
feat(tui): add support for CSI 4 : [2,4,5] m
...
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 .
2022-03-03 23:35:36 +03:00
bfredl
e23af71d35
Merge pull request #17567 from bfredl/preload
...
refactor(lua): regularize builtin modules, phase 1
2022-03-03 21:00:00 +01:00
bfredl
f9faba88fd
refactor(lua): reorganize builtin modules, phase 1
2022-03-03 20:03:30 +01:00