Commit Graph

17582 Commits

Author SHA1 Message Date
Andy K. Massimino
0cec2d39c9 vim-patch:8.2.0422: crash when passing popup window to win_splitmove()
Problem:    Crash when passing popup window to win_splitmove(). (john Devin)
Solution:   Disallow moving a popup window. (closes vim/vim#5816)
0f1563ffee

Add translated test for 8.2.0422 (popup->floating)
2021-03-19 23:02:34 -04:00
Andy K. Massimino
b2ec770070 vim-patch:8.2.0093: win_splitmove() can make Vim hang
Problem:    win_splitmove() can make Vim hang.
Solution:   Check windows exists in the current tab page. (closes vim/vim#5444)
7b94e77132
2021-03-19 23:02:34 -04:00
Andy K. Massimino
1ef4340f22 vim-patch:8.1.2020: it is not easy to change the window layout
Problem:    It is not easy to change the window layout.
Solution:   Add win_splitmove(). (Andy Massimino, closes vim/vim#4561)
d20dcb3d01
2021-03-19 23:02:28 -04:00
Michael Lingelbach
fa4ee00fa7
Merge pull request #14165 from mjlbach/feature/lsp_preview_location_syntax
lsp: set syntax instead of filetype for preview location highlighting
2021-03-19 13:35:14 -07:00
Michael Lingelbach
2358e52fc4 lsp: set syntax instead of filetype for preview location highlighting 2021-03-19 12:55:58 -07:00
Jan Edmund Lazo
0f7b6b2efd
Merge pull request #14155 from janlazo/vim-8.2.2609
vim-patch:8.2.{2609,2611}
2021-03-18 20:49:42 -04:00
James McCoy
b5926f7f27
Merge pull request #14149 from Borwe/mine/uninstaller
[FEATURE] Add uninstall target for make and others
Closes #14105
2021-03-18 19:16:54 -04:00
Michael Lingelbach
f31b8dabfd
Merge pull request #14144 from mfussenegger/lsp-workspace-edit-rename
lsp: Add support for create,rename,delete workspaceEdit resourceOperations
2021-03-18 12:27:16 -07:00
Mathias Fussenegger
84213b5b9a lsp: Add support for delete workspaceEdit resource operation 2021-03-18 19:53:43 +01:00
Mathias Fussenegger
191afb42be lsp: Add support for create workspaceEdit resource operation 2021-03-18 19:53:42 +01:00
Mathias Fussenegger
5e401b693b lsp: Add support for file rename via workspaceEdit 2021-03-18 19:53:14 +01:00
Jan Edmund Lazo
bd2ea22a54
gitignore: src/nvim/testdir/test_result.log
PR https://github.com/neovim/neovim/pull/14063 added it by mistake.
2021-03-17 22:23:59 -04:00
Jan Edmund Lazo
2ae6705f87
vim-patch:8.2.2611: conditions for startup tests are not exactly right
Problem:    Conditions for startup tests are not exactly right.
Solution:   Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
            closes vim/vim#7976)
f8c52e8d08
2021-03-17 22:11:58 -04:00
Jan Edmund Lazo
f1f131d132
vim-patch:8.2.2609: test disabled on MS-Windows even though it should work
Problem:    Test disabled on MS-Windows even though it should work.
Solution:   Restore the condition for skipping the test. (Ken Takata,
            closes vim/vim#7970)
3214812997
2021-03-17 22:00:50 -04:00
Matthieu Coudron
0ab88c2ea8
Merge pull request #14145 from teto/remove-tshighlighter
chore: remove deprecated lua module tshighlighter
2021-03-16 18:44:41 +01:00
Michael Lingelbach
b0599d2708
Merge pull request #14148 from mjlbach/mkd_round_3
lsp: update lsp_markdown syntax to not clash with built-in markdown syntax
2021-03-16 09:08:56 -07:00
brian.orwe
84f10a7970 Add uninstall target for make and others 2021-03-16 15:33:39 +03:00
Michael Lingelbach
2f64cda49e lsp: update lsp_markdown syntax to not clash with built-in markdown syntax 2021-03-15 22:58:54 -07:00
Matthieu Coudron
2b0c34053d chore(ts): show grammar that triggers the error
to help debugging
2021-03-16 01:57:32 +01:00
Matthieu Coudron
b540141876 chore: remove deprecated lua module tshighlighter 2021-03-16 01:41:28 +01:00
Michael Lingelbach
054eb31dc7
Merge pull request #14098 from mjlbach/fix_highlighting_lsp_markdown
lsp: fix highlighting for lsp markdown code blocks
2021-03-15 10:28:05 -07:00
Björn Linse
e8a0ff001f
Merge pull request #14076 from mfussenegger/treesitter019
treesitter: Update to 0.19.3
2021-03-15 18:06:26 +01:00
Björn Linse
ff749e3213
Merge pull request #14142 from bfredl/un_ns
api: destabilize nvim_set_hl_ns
2021-03-15 10:55:40 +01:00
Björn Linse
bb6d2c9b7c api: destabilize nvim_set_hl_ns
The sematics and signature of this API is going to change, but we
don't wanna delay 0.5 for it. Mark API as unstable for now.
2021-03-15 09:58:39 +01:00
James McCoy
f5daf55c10
Merge pull request #14140 from jamessan/delete-release
ci(GHA/release): Delete the release when creating a new nightly
2021-03-14 20:55:35 -04:00
James McCoy
ba758ac553
ci(GHA/release): Delete the release when creating a new nightly
This reverts #13733.  Disabling delete of the release leaves behind a
draft release associated with the previous nightly tag, which is
annoying to cleanup.

In the rare circumstances that the creation of a new nightly fails after
deleting the previous nightly, the job can be re-run or a nightly can be
missing for a day.
2021-03-14 19:53:45 -04:00
James McCoy
a8694ff9c1
Merge pull request #14139 from jamessan/release-packages
ci(GHA/release): Stop installing gcc-multilib
2021-03-14 19:37:00 -04:00
James McCoy
dfa01b820f
ci(GHA/release): Stop installing gcc-multilib
Recent changes in Xenial have made it uninstallable and we aren't
actually using anything from it for the release builds.
2021-03-14 19:27:50 -04:00
James McCoy
bdf3aeeede
Merge pull request #14123 from smolck/skip_ci
Don't run CI on draft PRs
2021-03-14 18:30:27 -04:00
smolck
f2847e7ea1 Don't run CI on draft PRs 2021-03-14 17:23:57 -05:00
Jan Edmund Lazo
b1f7c4e7d6
Merge pull request #14131 from janlazo/vim-8.2.2596
vim-patch:8.2.{2596,2601,2604}
2021-03-14 15:39:37 -04:00
Jan Edmund Lazo
c47dd5376e
vim-patch:8.2.2604: GUI-specific command line arguments not tested
Problem:    GUI-specific command line arguments not tested.
Solution:   Add tests for several arguments. (Dominique Pellé, closes vim/vim#7962)
240309c9bf
2021-03-14 12:08:31 -04:00
Jan Edmund Lazo
9e4c1fa073
vim-patch:8.2.2601: memory usage test often fails on FreeBSD
Problem:    Memory usage test often fails on FreeBSD.
Solution:   Increase multiplier for upper limit.
6bce5856b5
2021-03-14 11:54:36 -04:00
Jan Edmund Lazo
519848f64e
vim-patch:8.2.2596: :doautocmd may confuse scripts listening to WinEnter
Problem:    :doautocmd may confuse scripts listening to WinEnter.
Solution:   Do the current buffer last. (closes vim/vim#7958)
41cd80335c
2021-03-14 11:54:36 -04:00
Björn Linse
3c8583e43b
Merge pull request #14020 from chentau/float_resize
Update lines after shrinking floating window
2021-03-14 08:35:48 +01:00
tk-shirasaka
314b222c25
Fix click on foldcolumn with vsplit (#14127) 2021-03-13 23:12:18 +01:00
Jan Edmund Lazo
9808c8d9dd
Merge pull request #14126 from janlazo/vim-8.2.2593
vim-patch:8.2.{2593,2594,2595}
2021-03-13 10:38:21 -05:00
Jan Edmund Lazo
a1cdb6ca6a
vim-patch:8.2.2595: setting 'winminheight' may cause 'lines' to change
Problem:    Setting 'winminheight' may cause 'lines' to change.
Solution:   Also take minimal height of other tabpages into account. (vim/vim#7899)
9e813b3dea
2021-03-13 10:16:23 -05:00
Jan Edmund Lazo
60670c1fd3
vim-patch:8.2.2594: alternate buffer added to session file even when it's hidden
Problem:    Alternate buffer added to session file even when it's hidden.
Solution:   Check the 'buflisted' option. (closes vim/vim#7951)
0756f757ed

N/A patches for version.c:

vim-patch:8.2.2593: list of distributed files is incomplete

Problem:    List of distributed files is incomplete.
Solution:   Add a file and rename another.
0de8e2d6a3
2021-03-13 09:06:57 -05:00
Jan Edmund Lazo
5d5e018a5c
Merge pull request #14125 from janlazo/vim-8.2.2591
vim-patch:8.2.{2341,2452,2591}
2021-03-13 08:27:37 -05:00
Jan Edmund Lazo
a4ea602788
vim-patch:8.2.2341: expresison command line completion incomplete after "g:"
Problem:    Expresison command line completion shows variables but not
            functions after "g:". (Gary Johnson)
Solution:   Prefix "g:" when needed to a global function.
1bb4de5302

Port most of patch v8.2.0335 to complete script-local functions
if the name starts with "s:".
2021-03-12 23:20:56 -05:00
Jan Edmund Lazo
b650d2d8d9
vim-patch:8.2.2452: no completion for the 'filetype' option
Problem:    No completion for the 'filetype' option.
Solution:   Add filetype completion. (Martin Tournoij, closes vim/vim#7747)
d5e8c92816
2021-03-12 21:42:09 -05:00
Jan Edmund Lazo
ea99cbc85a
vim-patch:8.2.2591: Poke files are not recognized
Problem:    Poke files are not recognized.
Solution:   Add a filetype entry. (Matt Ihlenfield)
c80f647512
2021-03-12 18:34:58 -05:00
Björn Linse
d38508d88a
Merge pull request #13567 from bfredl/termpipe
api: allow open non-current buffer as terminal (+ xmas bonus)
2021-03-12 16:52:05 +01:00
Björn Linse
ed08936987 api: allow open non-current buffer as terminal (+ xmas bonus)
vim.api.nvim_chan_send(vim.api.nvim_open_term(0), io.open("/path/to/smile.cat", "r"):read("*a"))
2021-03-12 14:44:47 +01:00
Jan Edmund Lazo
dc8273f2f1
vim-patch:8.2.2588: build failure with tiny features (#14099)
Problem:    Build failure with tiny features.
Solution:   Add #ifdef.  Run recover test separately.
23b32a8d6b

N/A patches for version.c:

vim-patch:8.2.1048: build failure without the eval feature

Problem:    Build failure without the eval feature.
Solution:   Add dummy typedef.
9d40c63c7d

vim-patch:8.2.1828: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Add dummys for ex_block and ex_endblock.
1b1e9df78b

vim-patch:8.2.2293: build failure with Motif

Problem:    Build failure with Motif. (Tony Mechelynck)
Solution:   Use empty_option instead of empty_options.
bb0956fc65

vim-patch:8.2.2410: build failure without the +profiling feature

Problem:    Build failure without the +profiling feature.
Solution:   Add dummy argument to macro.
ff0e57fe77

vim-patch:8.2.2514: Vim9: build error in tiny version

Problem:    Vim9: build error in tiny version.
Solution:   Add #ifdef.
2379f87eb4
2021-03-11 17:58:37 -05:00
chentau
8fe19d9d89 screen: make ui_compositor aware of the intended size of a float 2021-03-11 12:27:29 -08:00
Michael Lingelbach
1ce899db7d
Merge pull request #14106 from mfussenegger/lsp-incremental-sync
lsp: Use incremental sync by default
2021-03-11 11:43:03 -08:00
Mathias Fussenegger
16827817bb lsp: Use incremental sync by default
With the new implementation added in
https://github.com/neovim/neovim/pull/14079 I think this is now working
well enough to enable it by default.

There are high CPU usage issues popping up now and then and they might
at least partially be related to the full-text sync.
2021-03-11 20:13:52 +01:00
Michael Lingelbach
5d20fc4fc5
Merge pull request #14107 from mfussenegger/gen-docs
Update lsp, lua and api docs (gen_vimdoc.py)
2021-03-11 08:26:59 -08:00