Daniel Steinberg
e5490b38b7
docs(api): floating wins omitted under :mksession ( #18721 )
2022-05-24 11:32:01 -06:00
James McCoy
eebd682221
Merge pull request #18728 from dundargoc/ci/api/upgrade-to-ubuntu-22
...
ci(api-docs): upgrade to ubuntu 22 and remove conda dependency
2022-05-24 07:20:40 -04:00
James McCoy
d7e45ee4b9
Merge pull request #18626 from dundargoc/ci/shallow-clone
...
ci(api-docs): add comment explaining why full clone is needed
2022-05-24 07:20:04 -04:00
James McCoy
4fab52908b
Merge pull request #18607 from dundargoc/build/mingw
...
restore mingw in cmake
2022-05-24 07:19:12 -04:00
Dundar Goc
db059ed1f1
ci(api-docs): add comment explaining why full clone is required
2022-05-24 12:29:58 +02:00
Dundar Goc
e9f8a478fc
ci(api-docs): upgrade to ubuntu 22 and remove conda dependency
...
Ubuntu 22 has doxygen version 1.9.1 available in apt, which means we
don't need to use conda anymore. This will somewhat simplify the
workflow.
2022-05-24 12:21:17 +02:00
dundargoc
307c5c63e1
vim-patch:8.2.4999: filetype test table is not properly sorted ( #18719 )
...
Problem: Filetype test table is not properly sorted.
Solution: Sort by filetype. (Doug Kearns)
aa9729b652
2022-05-24 09:29:40 +08:00
notomo
5eaf9ef811
fix(filetype): correct vim.fn.did_filetype() handling ( #18725 )
2022-05-23 18:55:03 -06:00
dundargoc
a20892c4bc
vim-patch:partial 2d8ed0203aed ( #18675 )
...
* vim-patch:partial 2d8ed0203aed
Update runtime files.
2d8ed0203a
Skip:
runtime/doc/map.txt
runtime/doc/syntax.txt
runtime/doc/usr_51.txt
runtime/doc/usr_52.txt
runtime/syntax/help.vim
runtime/syntax/vim.vim
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com >
2022-05-23 23:49:38 +02:00
Brandon Simmons
37ee800b51
vim-patch:8.2.5009: fold may not be closeable after appending ( #18722 )
...
Problem: Fold may not be closeable after appending.
Solution: Set the fd_small flag to MAYBE. (Brandon Simmons, closes vim/vim#10471 )
e8c4a64bff
2022-05-23 20:13:22 +01:00
bfredl
c2f4920d3b
Merge pull request #18712 from famiu/feat/ui/winbar_redraw
...
fix(ui): redraw winbar alongside statusline
2022-05-23 16:32:35 +02:00
Famiu Haque
353553f913
fix(ui): redraw winbar alongside statusline
...
Remove `w_redr_winbar` and use `w_redr_status` to redraw the winbar to
ensure that winbar redraw is triggered alongside the statusline redraw.
2022-05-23 19:35:46 +06:00
zeertzjq
4b4643be07
vim-patch:8.2.5008: when 'formatoptions' contains "/" wrongly wrapping comment ( #18717 )
...
Problem: When 'formatoptions' contains "/" wrongly wrapping a long trailing
comment.
Solution: Pass the OPENLINE_FORMAT flag.
7e66778815
2022-05-23 21:27:57 +08:00
Famiu Haque
4c6626f03d
feat: click support for 'statusline', 'winbar' #18650
...
The mouseclick item "%@" is now supported by 'statusline' and 'winbar'.
Previously it was only supported by 'tabline'.
2022-05-23 06:11:24 -07:00
Gregory Anders
9e1ee9fb1d
refactor!: delete insertmode ( #18547 )
...
Neovim already removed `evim` (or any similar flags). The 'insertmode'
option is a weird remnant, so get rid of it.
The 'insertmode' option is replaced with a script that closely emulates
the option. This script is documented at :help 'insertmode'
2022-05-22 21:20:18 -06:00
zeertzjq
a7e0a02031
Merge pull request #18691 from zeertzjq/vim-8.2.4996
...
vim-patch:8.2.{4996.5002}: setbufline(), deletebufline() may change Visual selection
2022-05-23 07:27:26 +08:00
zeertzjq
39fb97b2a5
vim-patch:8.2.5001: checking translations affects the search pattern history ( #18709 )
...
Problem: Checking translations affects the search pattern history.
Solution: Use "keeppatterns". (Doug Kearns)
8a3704723c
2022-05-23 07:24:44 +08:00
zeertzjq
bcfc97e8d8
vim-patch:8.2.5002: deletebufline() may change Visual selection
...
Problem: deletebufline() may change Visual selection.
Solution: Disable Visual mode when using another buffer. (closes vim/vim#10469 )
9b2edfd3bf
2022-05-23 06:57:30 +08:00
zeertzjq
eae4eddc54
vim-patch:8.2.4996: setbufline() may change Visual selection
...
Problem: setbufline() may change Visual selection. (Qiming Zhao)
Solution: Disable Visual mode when using another buffer. (closes vim/vim#10466 )
0ad00a7fd3
2022-05-23 06:54:12 +08:00
Gregory Anders
378615b8ee
fix(lsp): do not detach LSP servers on Windows #18703
...
Detaching the process seems to have unintended side effects on Windows,
so only do it by default on non-Windows platforms.
Ref: https://github.com/neovim/nvim-lspconfig/issues/1907
Closes https://github.com/neovim/nvim-lspconfig/pull/1913
2022-05-22 12:21:44 -07:00
Jonas Strittmatter
52623ce935
refactor(runtime): convert the remaining dist#ft functions to lua ( #18623 )
2022-05-22 12:16:04 -06:00
dundargoc
8c2fd65bb1
build(clint): remove redundant checks #18698
...
Uncrustify is the source of truth where possible.
Remove any redundant checks from clint.py.
See also https://github.com/neovim/neovim/pull/18563
2022-05-22 10:59:56 -07:00
bfredl
5250d5c1b1
Merge pull request #18646 from bfredl/winbarruler
...
fix(winbar): allow winbar to display a ruler
2022-05-22 19:43:30 +02:00
James McCoy
47d9a393de
fix(cid/352839): USE_AFTER_FREE in create_user_command #18669
2022-05-22 10:29:15 -07:00
bfredl
7f6d2984a8
Merge pull request #18608 from ckipp01/extmarkDocs
...
docs(extmark): remove message about passing in id=0
2022-05-22 19:07:51 +02:00
bfredl
060ef52d8b
fix(winbar): allow winbar to display the ruler
2022-05-22 18:56:07 +02:00
Daniel Steinberg
3fe6bf3a1e
fix(mksession): don't store floats in session #18635
...
Problem:
If there are floating windows when `:mksession` runs, the session cannot
be properly restored.
Solution:
Change `:mksession` to skip floating windows. This matches Vim's
treatment of popup windows.
An alternative approach could have `:mksession` save floating windows
that can be _properly_ restored (rather than skip them entirely, which
is what this PR does). While that would seemingly be a more complete
fix, that could present additional issues since floating windows are
ordinarily created by plugins, and they may no longer be properly under
a plugin's control when restored.
closes #18432
2022-05-22 09:03:56 -07:00
bfredl
b863c150c9
Merge pull request #18696 from bfredl/quickinc
...
fix(tests): fix some issues with ui/inccommand_spec.lua causing slowness
2022-05-22 17:51:31 +02:00
dundargoc
63741176ce
ci(commitlint): only trigger on PRs to master #18679
...
This will prevent a failure for backported PRs as they use a different
commit message.
2022-05-22 08:03:06 -07:00
bfredl
9b34723bcc
Merge pull request #18693 from bfredl/quicklsp
...
fix(ci): remove 2000ms blocking wait in many plugin/lsp_spec.lua tests
2022-05-22 16:25:17 +02:00
bfredl
e01c197eab
fix(tests): fix some issues with ui/inccommand_spec.lua causing slowness
...
from ~30 to ~20 secs with ASAN build
- feedkeys test: the same substitute was repeated, and not even correctly spelled
- don't clear() in a tight loop. "bwipe!" is enough to erase undo history
- error in cnoremap mapping causes a check_for_delay(). <c-c> it away.
2022-05-22 16:17:37 +02:00
zeertzjq
566ee48f05
vim-patch:8.2.4935: with 'foldmethod' "indent" some lines not included in fold ( #18694 )
...
Problem: With 'foldmethod' "indent" some lines are not included in the
fold. (Oleg Koshovetc)
Solution: Fix it. (Brandon Simmons, closes vim/vim#10399 , closes vim/vim#3214 )
d98e75e236
2022-05-22 21:37:25 +08:00
zeertzjq
70e3caec4a
fix(folds): fix fold regression with :move ( #18685 )
2022-05-22 21:03:22 +08:00
bfredl
e7b3fd8ad6
Merge pull request #18681 from bfredl/uitest
...
fix(tests): fix some screen.lua warnings
2022-05-22 14:32:38 +02:00
bfredl
58b9b7e7c4
fix(ci): remove 2000ms blocking wait in many plugin/lsp_spec.lua tests
...
Cuts down typical run time for `plugin/lsp_spec.lua`
from 70 secs to 12 secs in ASAN CI build.
This happens in ASAN/EXIT_FREE builds where nvim waits 2000ms due to
unclosed handled. I wasn't able to pin-point the exact cause.
But these tests ran in nested context where two server/client pairs
were setup for no good reason. Moving these tests out so only one client
is being setup fixed the exit hang.
2022-05-22 14:14:58 +02:00
dundargoc
2cab6bea09
docs: remove "Vi default" #18672
...
It's not relevant and clutters the documentation.
2022-05-22 04:38:59 -07:00
zeertzjq
5193b17839
vim-patch:8.2.4993: smart/C/lisp indenting is optional ( #18684 )
...
Problem: smart/C/lisp indenting is optional, which makes the code more
complex, while it only reduces the executable size a bit.
Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
8e145b8246
2022-05-22 07:52:11 +08:00
Brandon Simmons
0c4086faa1
vim-patch:8.2.4987: after deletion a small fold may be closable ( #18683 )
...
Problem: After deletion a small fold may be closable.
Solution: Check for a reverse range. (Brandon Simmons, closes vim/vim#10457 )
3fcccf94e8
2022-05-22 07:27:54 +08:00
zeertzjq
f0717ffade
Merge pull request #18682 from zeertzjq/vim-8.1.0535
...
vim-patch:8.1.0535,8.2.4991: increment/decrement might get interrupted by updating folds
2022-05-22 07:27:26 +08:00
zeertzjq
c3568b31f4
vim-patch:8.2.4991: no test for hwat patch 8.1.0535 fixes
...
Problem: No test for hwat patch 8.1.0535 fixes.
Solution: Add a test. (closes vim/vim#10462 )
93c1573dd2
2022-05-22 06:41:31 +08:00
zeertzjq
a1df7c5771
vim-patch:8.1.0535: increment/decrement might get interrupted by updating folds
...
Problem: Increment/decrement might get interrupted by updating folds.
Solution: Disable fold updating for a moment. (Christian Brabandt,
closes vim/vim#3599 )
6b731886ca
2022-05-22 06:41:31 +08:00
bfredl
cbf0360179
Merge pull request #13729 from devbhansingh/ui_enter_prompt
...
feat(ui): clear message history explicitly with msg_history_clear event
2022-05-21 23:59:14 +02:00
devbhan singh
646e1c3a3a
feat(ui): clear message history explicitly with msg_history_clear event
2022-05-21 23:22:23 +02:00
bfredl
3c1bc75447
fix(tests): fix some screen.lua warnings
2022-05-21 23:07:34 +02:00
dundargoc
1f1a65a9e4
ci: fix lint errors caused by missing includes ( #18673 )
...
This will fix the `check-single-includes` check which started failing
after https://github.com/neovim/neovim/pull/18663/ .
2022-05-21 17:27:54 +02:00
kylo252
55246d44f9
fix(autocmds): separate command from desc ( #18617 )
2022-05-21 15:55:48 +02:00
dundargoc
976f32aa7a
refactor: add warnings for deprecated functions ( #18662 )
2022-05-21 09:51:03 +02:00
dundargoc
12f45fd697
ci: bump github actions versions #18616
2022-05-20 20:45:10 -07:00
dundargoc
79469e61d5
build(clint.py): remove rules for includes, whitespace, tabs #18611
...
Uncrustify is the source of truth where possible.
Remove any redundant checks from clint.py.
See also https://github.com/neovim/neovim/pull/18563
Closes https://github.com/neovim/neovim/issues/17763
2022-05-20 20:43:30 -07:00
dundargoc
045aacc384
ci: lint with uncrustify #18563
...
This lint job will ensure that the C codebase is properly formatted at
all times. This helps eliminate most of clint.py.
To save CI time, it's faster to manually compile uncrustify and cache
the binary instead of using homebrew (the apt-get package is too old).
2022-05-20 20:41:57 -07:00