Commit Graph

16048 Commits

Author SHA1 Message Date
Björn Linse
04ab26b885
Merge pull request #12736 from vigoux/ts-iter-children
treesitter: allow to iterate over node children
2020-09-01 10:52:55 +02:00
DDoSolitary
c14a9f6fcc
g📋 allow command given as a list #12775
fixes #12768
2020-09-01 00:27:38 -07:00
Thomas Vigouroux
18217b987f treesitter: add node:field() to get field children 2020-09-01 08:57:55 +02:00
Michel Alexandre Salim
a50cf35bda
build/FindLua.cmake: allow Lua 5.4 #12820
Lua 5.4 is out, and will be shipped with Fedora 33.
2020-08-31 22:06:59 -07:00
Jan Edmund Lazo
2bbbb34ce7
Merge pull request #12804 from janlazo/vim-8.1.1725
[RDY]vim-patch:8.1.{1694,1725,1776,1804,1806,1831,2041,2198,2206},8.2.{1033,1315,1548}
2020-08-31 08:25:16 -04:00
Thomas Vigouroux
e123fd0a5d treesitter: allow to iterate over node children 2020-08-31 13:42:30 +02:00
Thomas Vigouroux
24b5f69a49
fix(win): ignore closing wins in win_findbuf #12798
This caused segfaults when calling win_findbuf in an `on_detach`
callback, when the callback was triggered when closing the last window
containing the buffer.
2020-08-31 00:53:10 -07:00
Justin M. Keyes
c2662210b5
docs, remove 'guifontset' #11708
- remove redundant autocmd list
  This "grouped" list is useless, it only gets in the way when searching
  for event names.
- intro.txt: cleanup
- starting.txt: update, revisit
- doc: `:help bisect`
- mbyte.txt: update aliases 1656367b90. closes #11960
- options: remove 'guifontset'. Why:
  - It is complicated and is used by almost no one.
  - It is unlikely to be implemented by Nvim GUIs (complicated to parse,
    specific to Xorg...).
2020-08-31 00:51:35 -07:00
Anmol Sethi
3229ba0cde
lsp: Fix bad sortText comparison (#12485)
The spec indicates we have to fallback to comparing by label
if sortText is falsy.

Closes #12431
2020-08-30 22:29:47 -07:00
Jan Edmund Lazo
62ba227155
vim-patch:8.2.1548: cannot move position of "%%" in message translations
Problem:    Cannot move position of "%%" in message translations. (Emir Sarı)
Solution:   Improve the check script.
0b8cf278ec
2020-08-30 21:19:23 -04:00
Jan Edmund Lazo
52a2a1b3d2
vim-patch:8.1.1694: the RUN_VIM variable is longer than needed
Problem:    The RUN_VIM variable is longer than needed.
Solution:   Shorten RUN_VIM. (Daniel Hahler, closes vim/vim#4643)
41a8260445
2020-08-30 21:12:26 -04:00
Jan Edmund Lazo
697a6ca2e4
vim-patch:8.1.2041: no test for diff mode with syntax highlighting
Problem:    No test for diff mode with syntax highlighting.
Solution:   Add a test case.
248fdb3332
2020-08-30 21:12:26 -04:00
Jan Edmund Lazo
aa60cb1083
vim-patch:8.1.1831: confusing skipped message
Problem:    Confusing skipped message.
Solution:   Drop "run" from "run start the GUI".
2514315fc2

Cherry-pick 'CheckCanRunGui' user command from patch 8.1.1826.
2020-08-30 21:12:26 -04:00
Jan Edmund Lazo
2bae98a5ea
vim-patch:8.1.2206: no test for fixed issue vim/vim#3893
Problem:    No test for fixed issue vim/vim#3893.
Solution:   Add a test. (Christian Brabandt, vim/vim#3893)
28686682e7
2020-08-30 21:12:26 -04:00
Jan Edmund Lazo
d4df5fc90e
vim-patch:8.1.1806: test for display updating doesn't check without statusline
Problem:    Test for display updating doesn't check without statusline.
Solution:   Add screenshots without a status line.
7cc535175a
2020-08-30 21:12:26 -04:00
Jan Edmund Lazo
f48847c578
vim-patch:8.1.1804: no test for display updating without a scroll region
Problem:    No test for display updating without a scroll region.
Solution:   Add a test.
3c8ee62974
2020-08-30 21:12:26 -04:00
Jan Edmund Lazo
1fbfd6ba09
vim-patch:8.1.1776: text added with a job isn't displayed
Problem:    Text added with a job to another buffer isn't displayed.
Solution:   Update topline after adding a line. (closes vim/vim#4745)
4641a122f2
2020-08-30 21:12:26 -04:00
Jan Edmund Lazo
a45dc02a14
vim-patch:8.1.2198: crash when using :center in autocommand
Problem:    Crash when using :center in autocommand.
Solution:   Bail out early for an empty line. (Dominique pelle, closes vim/vim#5095)
396b7c78c0

Cherry-pick 'src/testdir/check.vim' changes from patch 8.1.1544.
2020-08-30 21:12:25 -04:00
Jan Edmund Lazo
40fca0cea8
vim-patch:8.2.1315: MS-Windows: test log contains escape sequences
Problem:    MS-Windows: test log contains escape sequences.
Solution:   Do not use t_md and t_me but ANSI escape sequences. (Ken Takata,
            closes vim/vim#6559)
45df2a01a7
2020-08-30 21:12:25 -04:00
Jan Edmund Lazo
61218d3c77
vim-patch:8.2.1033: not easy to read the test time in the test output
Problem:    Not easy to read the test time in the test output.
Solution:   Align the times.  Make slow tests bold.
8d9437968b
2020-08-30 21:12:25 -04:00
Jan Edmund Lazo
269a271a10
vim-patch:8.1.1725: MS-Windows: E325 message may use incorrect date format
Problem:    MS-Windows: E325 message may use incorrect date format.
Solution:   Convert strftime() result to 'encoding'.  Also make the message
            translatable. (Ken Takata, closes vim/vim#4685, closes vim/vim#4681)
663bbc09ba
2020-08-30 21:12:25 -04:00
Justin M. Keyes
b3f5083b8d
Merge #12815 'snap: update, fix build issues' 2020-08-30 14:03:33 -07:00
Carlos Hernandez
65b2fce787
snap: don't run snapcraft under sudo
Snapcraft 4.0 complains about running LXD builds under sudo.  So instead
add the CI user to the "lxd" group and use sg to switch to that
membership.

Resolves: #12712
2020-08-30 17:13:41 +00:00
Carlos Hernandez
9c65017c3b Snapcraft: Use lua instead of luajit for arm64 2020-08-30 16:12:56 +00:00
Carlos Hernandez
8735105af8 Snapcraft: Build with Debug Info 2020-08-30 16:12:56 +00:00
Carlos Hernandez
7c4267e42c Add missing dependencies for Launchpad builds 2020-08-30 16:12:56 +00:00
Carlos Hernandez
fea608269a Bump to core20 2020-08-30 16:12:56 +00:00
Anatolii Sakhnik
c6648fe882
l10n: Update Ukrainian translation (#12785) 2020-08-30 00:06:32 -07:00
Justin M. Keyes
fbbc8cb8b1
Merge #12794 'tui: Fixing problems with GNU Screen' 2020-08-29 22:19:15 -07:00
James McCoy
46e74142ab
Merge pull request #12797 from clason/libvterm-0.1.4
third-party: upgrade libvterm to v0.1.4
2020-08-28 00:48:26 -04:00
Christian Clason
7de276b877 bump libvterm to 0.1.4 2020-08-27 20:01:14 +02:00
erw7
994e40914b Revert "tui: improve support for GNU Screen (#12098)"
This reverts commit f3ffe0b325.
Sending a control sequence to the host terminal, wrapped in DCS, causes
problems because it changes the state of the host terminal outside the
screen's control. This change will therefore be reverted.
2020-08-27 00:52:49 +09:00
erw7
8628dfe365 Revert "tui: Fix italics when $TERM is screen in tmux #12199"
This reverts commit 9d0222ee3e.
2020-08-27 00:52:17 +09:00
James McCoy
91109ffda2
Merge pull request #12510 from jamessan/clang-implicit-fallthrough 2020-08-26 07:13:27 -04:00
TJ DeVries
43202964f3
Merge pull request #12708 from runiq/lsp-doc
Add docs for some methods in vim.lsp
2020-08-25 09:52:22 -04:00
Jan Edmund Lazo
8a333afec5
Merge pull request #12786 from janlazo/vim-8.1.1516
vim-patch:8.1.{1516,1677,2051,2089,2275,2364},8.2.{423,1517}
2020-08-24 20:59:40 -04:00
James McCoy
1f84ea061d
spell_load_file: Add missing "goto endFAIL" if spellfile is not readable 2020-08-23 21:18:34 -04:00
James McCoy
75813af542
Disable -Wimplicit-fallthrough for tree_sitter/ 2020-08-23 21:18:34 -04:00
James McCoy
37fa8d3f44
Disable -Wimplicit-fallthrough for funcs.generated.h
This is code generated by gperf, so there's nothing we can do about it.
The code does have /*FALLTHROUGH*/ comments but clang doesn't recognize
them.
2020-08-23 20:59:39 -04:00
Jan Edmund Lazo
b46b373065
vim-patch:8.1.2275: using "seesion" looks like a mistake
Problem:    Using "seesion" looks like a mistake.
Solution:   Use an underscore to make the function sort first.
1e15e61188
2020-08-23 18:45:05 -04:00
Jan Edmund Lazo
107e50b25e
vim-patch:8.2.1517: cannot easily get the character under the cursor
Problem:    Cannot easily get the character under the cursor.
Solution:   Add the {chars} argument to strpart().
6c53fca023
2020-08-23 18:32:39 -04:00
Jan Edmund Lazo
bf8d96a30d
vim-patch:8.2.0423: in some environments a few tests are expected to fail
Problem:    In some environments a few tests are expected to fail.
Solution:   Add $TEST_MAY_FAIL to list tests that should not cause make to
            fail.
ce436de5a9
2020-08-23 15:08:45 -04:00
Jan Edmund Lazo
b59dadde4e
vim-patch:8.1.2364: termwinscroll test is flaky on FreeBSD
Problem:    Termwinscroll test is flaky on FreeBSD.
Solution:   Add to list of flaky tests.  Rename function.
e219f73ed5
2020-08-23 14:30:11 -04:00
Jan Edmund Lazo
d1e7156f26
vim-patch:8.1.2089: do not get a hint that $TEST_FILTER was active
Problem:    Do not get a hint that $TEST_FILTER was active.
Solution:   Mention $TEST_FILTER if no functions were executed.
7b666c7883
2020-08-23 14:26:20 -04:00
Jan Edmund Lazo
9961e9bcb7
vim-patch:8.1.2051: double-click test is a bit flaky
Problem:    Double-click test is a bit flaky.
Solution:   Correct entry in list of flaky tests.
705918f9f7
2020-08-23 14:25:02 -04:00
Jan Edmund Lazo
b4a5745e84
vim-patch:8.1.1677: tests get stuck when running into an existing swapfile
Problem:    Tests get stuck when running into an existing swapfile.
Solution:   Set v:swapchoice to "q" and report an error. (Daniel Hahler,
            closes vim/vim#4644)
b073da8929
2020-08-23 13:35:26 -04:00
Jan Edmund Lazo
3fac3cad75
vim-patch:8.1.1516: time reported for a test measured wrong
Problem:    Time reported for a test measured wrong.
Solution:   Move the computation to the end of RunTheTest(). (Ozaki Kiichi,
            closes vim/vim#4520)
640d4f0c97
2020-08-23 13:22:14 -04:00
Patrice Peterson
9d9edebceb gen_vimdoc: Allow to keep intermediary output 2020-08-23 13:48:27 +02:00
Patrice Peterson
b5782c3b81 Add FIXMEs 2020-08-23 13:48:27 +02:00
Patrice Peterson
ac05343a10 Add docs for most vim.lsp methods
Most of the lsp.log will be addressed in a separate PR.
2020-08-23 13:48:25 +02:00