Justin M. Keyes
a283a99165
refactor: eliminate os_unix.c #21621
2023-01-02 14:56:17 -08:00
zeertzjq
5c6f2122ad
vim-patch:9.0.1129: sporadic Test_range() failure ( #21619 )
...
Problem: Sporadic Test_range() failure.
Solution: Clear typeahead. Move to a separate function. (issue vim/vim#22771 )
7bdcba08bb
Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-01-02 21:03:40 +08:00
zeertzjq
5322bf99e6
vim-patch:8.2.0711: temp directory might be cleared ( #21614 )
...
Problem: With a long running Vim the temp directory might be cleared on
some systems.
Solution: Lock the temp directory. (closes vim/vim#6044 )
b2d0e51366
2023-01-02 20:37:13 +08:00
zeertzjq
c590641feb
fix(tui): do not set ui_client_termname if it is already set ( #21607 )
...
It is fine to initialize ui_client_termname to NULL as it is only used
after tui_start().
2023-01-01 23:18:19 +08:00
Christian Clason
f60cff8f9a
Merge pull request #21570 from clason/vimdoc-parsing
...
docs: fix treesitter parsing errors
2023-01-01 15:24:06 +01:00
Christian Clason
2f0c023f52
docs(manual): fix treesitter parsing errors
2023-01-01 15:05:21 +01:00
Christian Clason
ad184b213d
docs(luvref): fix treesitter parsing errors
2023-01-01 15:05:21 +01:00
Christian Clason
dfb840970c
docs(lua): fix treesitter parsing errors
2023-01-01 15:05:21 +01:00
Christian Clason
9cc37e057a
docs(api): fix treesitter parsing errors
2023-01-01 15:05:21 +01:00
Christian Clason
18c22a6fb4
docs: fix treesitter parsing errors
2023-01-01 15:05:13 +01:00
Christian Clason
c4942880be
vim-patch:partial:f1dcd14fc5d4 ( #21602 )
...
Update runtime files
f1dcd14fc5
missing autocmd blocks and getscriptinfo()
Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-01-01 15:00:39 +01:00
zeertzjq
83e8723864
Merge pull request #21597 from gi1242/tex-ft-detection
...
fix(filetype): make .tex filetype detection match Vim
2023-01-01 21:45:12 +08:00
Gautam Iyer
85b7c8b004
fix(filetype): correctly detect tex files
...
Fixes Issue #21594 .
2022-12-31 20:54:01 -05:00
Christian Clason
1b3e6e7594
vim-patch:9.0.1120: tex filetype detection not sufficiently tested
...
Problem: Tex filetype detection not sufficiently tested.
Solution: Add more test cases for "tex" detection. (Jonas Strittmatter,
closes vim/vim#11765 )
c55e8f2c6f
Co-authored-by: smjonas <jonas.strittmatter@gmx.de>
2022-12-31 16:12:09 -05:00
Mathias Fußenegger
6ba34e21fe
feat(lsp): add function to clear codelens ( #21504 )
...
Currently once you retrieve the lenses you're pretty much stuck with
them as saving new lenses is additive.
Adding a dedicated method to reset lenses allows users to toggle lenses
on/off which can be useful for language servers where they are noisy or
expensive and you only want to see them temporary.
2022-12-31 16:16:21 +01:00
bfredl
cce736218f
Merge pull request #18375 from bfredl/tui_rework
...
feat(ui): refactor TUI from thread to separate process
2022-12-31 14:23:24 +01:00
bfredl
9fdcbbb406
feat(tui): graduate the +tui feature
...
This was previously disabled due to build issues on windows.
Any reasonable platform can now be expected to have the necessary
interfaces to build and run the TUI subsystem.
Runtime quality issues of using the TUI (on any new platform) are not
relevant here. Just run Nvim in an external UI instead of the TUI as always.
2022-12-31 13:25:26 +01:00
bfredl
43e8ec92de
fix(tui): more work in the TUI
2022-12-31 13:25:26 +01:00
hlpr98
2448816956
feat(tui): run TUI as external process
2022-12-31 10:43:28 +01:00
Luuk van Baal
69163727e9
test: add test cases for command line issues
2022-12-31 01:49:36 +01:00
Luuk van Baal
935e538b63
fix: issues with command line if ui elements are externalized
...
Resolve https://github.com/neovim/neovim/issues/20888 and handle side
effects for setting 'cmdheight' to zero.
2022-12-31 00:50:39 +01:00
Luuk van Baal
b102bf22c0
fix(ui): allow resize commands to set 'cmdheight' to 0
...
Resolve https://github.com/neovim/neovim/issues/21558
2022-12-31 00:30:53 +01:00
zeertzjq
99cf111289
vim-patch:9.0.1115: code is indented more than needed ( #21598 )
...
Problem: Code is indented more than needed.
Solution: Use an early return to reduce indenting. (Yegappan Lakshmanan,
closes vim/vim#11758 )
ed0c1d5d4b
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
2022-12-31 06:41:23 +08:00
bfredl
6a45360de9
Merge pull request #21596 from bfredl/nasleep
...
refactor(sleep): simplify rube goldberg implementation of :sleep
2022-12-30 20:39:42 +01:00
bfredl
09370eae77
refactor(sleep): simplify rube goldberg implementation of :sleep
...
As neovim does have event handling, we are checking for CTRL-C
all the time, not once per second.
Also, do_sleep() reimplements the same loop as
LOOP_PROCESS_EVENTS_UNTIL() already contains internally. Fix the latter
to use the right integer type, so we do not need the extra indirection.
2022-12-30 19:56:11 +01:00
李晓辉
4ace9e7e41
feat(diagnostic): don't open quickfix/loclist if no diagnostics #21397
2022-12-30 10:23:54 -08:00
Will Leinweber
849f544d62
build: add git sha to version when built with nix flake ( #21210 )
2022-12-30 18:24:40 +01:00
Sean
b49599ce7e
docs: clarify line about converse of lua-heredoc ( #21592 )
...
Co-authored-by: sean.twie03 <nothankyou@gmail.com>
2022-12-30 17:55:38 +01:00
Raphael
f62c30ad0d
fix(lsp): fix nil client access in get_active_clients ( #21524 )
...
Fixes https://github.com/neovim/neovim/issues/21523
2022-12-30 16:42:18 +01:00
jdrouhard
469f985923
fix(lsp): adjust gravity of semantic tokens extmarks ( #21574 )
...
Fixes #21543
This should provide a better user experience when appending or prepending text to a word that has a semantic token extmark. More often than not, the appended/prepended text to the word will end up becoming part of the token anyway, so just use that extmark as the user types.
2022-12-30 16:40:23 +01:00
zeertzjq
cb9d68fe6d
Merge pull request #21591 from zeertzjq/vim-8.2.3773
...
vim-patch:8.2.{3773,3774}
2022-12-30 15:59:11 +08:00
zeertzjq
d7855caa18
test: add test for setting &columns from modeline with tabpages
2022-12-30 15:16:28 +08:00
zeertzjq
83472b3808
vim-patch:8.2.{3773,3774}
...
vim-patch:8.2.3773: wrong window size when a modeline changes 'columns'
Problem: Wrong window size when a modeline changes 'columns' and there is
more than one tabpage. (Michael Soyka)
Solution: Adjust the frames of all tabpages. (closes vim/vim#9315 )
8a7374f8c4
vim-patch:8.2.3774: test for command line height fails
Problem: Test for command line height fails.
Solution: Use another way to handle window size change.
b711814cb6
Co-authored-by: Bram Moolenaar <Bram@vim.org>
2022-12-30 14:45:28 +08:00
bfredl
4703e561d5
chore: forward-port changes from v0.8.2 release
2022-12-29 17:36:28 +01:00
figsoda
19a7636641
build: fix help tags generation when SHELL=fish ( #21562 )
...
Fish doesn't support glob pattern, so we use `remove_directory` instead.
2022-12-29 13:05:26 +01:00
zeertzjq
b640161a69
test(tui_spec): don't use nested terminal for resize at startup ( #21583 )
2022-12-29 14:13:54 +08:00
Ryan Mehri
587fbdd7a0
docs: fix order of numbers in syntax.txt ( #21581 )
2022-12-29 12:41:26 +08:00
zeertzjq
05b6dd6e5f
test(lsp): add a screen:expect() between insert() and feed_command() ( #21577 )
...
The insert() and feed_command() type a lot of text, with only one
screen:expect() call after the feed_command() it may time out.
2022-12-29 07:55:26 +08:00
Raphael
d0dd8d11bf
test: remove unused variable ( #21552 )
2022-12-29 07:20:42 +08:00
dundargoc
7067cde657
build(lintsh): double quote to prevent word splitting ( #21571 )
2022-12-28 22:50:24 +01:00
dundargoc
86a75c79e1
build(nix): remove pylint as it has been removed ( #21572 )
2022-12-28 17:20:23 +01:00
Oliver Marriott
e6cae44cbf
feat(highlight): add DiagnosticOk (and associated) highlight groups ( #21286 )
...
The existing groups, Error, Hint, Info, Warn cover many use cases, but
neglect the occasion where a diagnostic message should communicate a
non-informative (not a Hint or Info) event. DiagnosticOk covers this
with a generic green colorscheme.
2022-12-28 09:01:40 -07:00
dundargoc
ab11157808
ci: add platform:nix label when changing nix files ( #21569 )
...
Also update the reviewer list.
2022-12-28 15:19:23 +01:00
figsoda
3d0eca6b65
build(nix): clean up nix flake ( #21565 )
2022-12-28 14:26:59 +01:00
zeertzjq
2732759bff
ci(release): properly set multiline output variable ( #21560 )
2022-12-28 19:48:19 +08:00
Christian Clason
3b9b43063c
vim-patch:9.0.1106: not all postfix files are recognized ( #21568 )
...
Problem: Not all postfix files are recognized.
Solution: Recognize main.cf.proto files. (closes vim/vim#11732 )
09ce0b8e11
Co-authored-by: KodeToad <3880336+KodeToad@users.noreply.github.com>
2022-12-28 11:42:02 +01:00
Mahdi Hosseinzadeh
a731a40f78
docs(README): add Kotlin as a language which can use the API ( #21567 )
...
Add Kotlin as a language which can use the API
2022-12-28 16:12:12 +08:00
zeertzjq
bf459641a8
refactor(f_has): remove wrong comment ( #21561 )
...
Only one of "fork" and "system" should be defined.
Also change the line above "win32" to match Vim.
2022-12-28 10:05:03 +08:00
Christian Clason
d215dae0e0
docs(lua): add vim.json
( #21538 )
2022-12-27 13:22:33 +01:00
zeertzjq
4aec442b5a
Merge pull request #21555 from zeertzjq/vim-9.0.1096
...
vim-patch:9.0.{1096,1097,1099,1100}: reallocating hashtab when the size didn't change
2022-12-27 19:29:43 +08:00