Aufar Gilbran
b59c293c25
vim-patch:8.1.0339: wrong highlight when 'incsearch' set and cancelling :s
...
Problem: Wrong highlight when 'incsearch' set and cancelling :s.
Solution: Reset search line range. (Hirohito Higashi, Masamichi Abe)
f13daa46da
2020-09-11 10:37:52 +08:00
Aufar Gilbran
f2743cfb65
vim-patch:8.1.0321: 'incsearch' regression: /\v highlights everything
...
Problem: 'incsearch' regression: /\v highlights everything.
Solution: Put back the empty_pattern() check.
4edfe2d2a2
2020-09-11 10:37:52 +08:00
Aufar Gilbran
4770a2bac5
vim-patch:8.1.0320: too much 'incsearch' highlight for pat matching everything
...
Problem: Too much 'incsearch' highlight for pattern matching everything.
Solution: Add the skiplen to the command and remove the line range.
(Christian Brabandt) Check for empty pattern earlier.
8b0d5ce881
2020-09-11 10:37:52 +08:00
Aufar Gilbran
5f5d08a88e
vim-patch:8.1.0296: command parsing for 'incsearch' is a bit ugly
...
Problem: Command parsing for 'incsearch' is a bit ugly.
Solution: Return when there is no pattern. Put common checks together.
111bbd61e9
2020-09-11 10:37:52 +08:00
Aufar Gilbran
77bb48e740
vim-patch:8.1.0295: no 'incsearch' highlighting for :vimgrep and similar
...
Problem: No 'incsearch' highlighting for :vimgrep and similar commands.
Solution: Parse the :vimgrep command and similar ones to locate the search
pattern. (Hirohito Higashi, closes vim/vim#3344 )
264cf5cfaf
2020-09-11 10:33:20 +08:00
Aufar Gilbran
ab7e101540
vim-patch:8.1.0291: 'incsearch' highlighting not used for :sort
...
Problem: 'incsearch' highlighting not used for :sort.
Solution: Handle pattern in :sort command.
81f56536b1
2020-09-11 10:33:20 +08:00
Aufar Gilbran
c0102c140c
vim-patch:8.1.0286: 'incsearch' does not apply to :smagic and :snomagic
...
Problem: 'incsearch' does not apply to :smagic and :snomagic.
Solution: Add support. (Hirohito Higashi)
167ae42685
2020-09-11 10:33:20 +08:00
Aufar Gilbran
68f6abef16
vim-patch:8.1.0284: 'cursorline' highlighting wrong with 'incsearch'
...
Problem: 'cursorline' highlighting wrong with 'incsearch'.
Solution: Move the cursor back if the match is outside the range.
2f6a346a4c
2020-09-11 10:33:20 +08:00
Aufar Gilbran
b24dabf266
vim-patch:8.1.0282: 'incsearch' does not work with command modifiers
...
Problem: 'incsearch' does not work with command modifiers.
Solution: Skip command modifiers.
33c4dbb74b
2020-09-11 10:33:20 +08:00
Aufar Gilbran
ba59ee9a15
ex_docmd: merge parse_state_T with exarg_T
2020-09-11 10:33:20 +08:00
Aufar Gilbran
9a6fd99a4b
vim-patch:8.1.0281: parsing command modifiers is not separated
...
Problem: Parsing command modifiers is not separated.
Solution: Move command modifier parsing to a separate function.
effed9315c
2020-09-11 10:31:41 +08:00
Aufar Gilbran
841ec4316c
vim-patch:8.1.0280: 'incsearch' highlighting does not work for ":g!/"
...
Problem: 'incsearch' highlighting does not work for ":g!/".
Solution: Skip the exclamation mark. (Hirohito Higashi)
def7b1dc61
2020-09-11 10:31:41 +08:00
Aufar Gilbran
8ae47ddf63
vim-patch:8.1.0279: 'incsearch' highlighting does not skip white space
...
Problem: 'incsearch' highlighting does not skip white space.
Solution: Skip white space after the command. (issue vim/vim#3321 )
2b926fcb3c
2020-09-11 10:31:41 +08:00
Aufar Gilbran
83f3218b28
vim-patch:8.1.0278: 'incsearch' highlighting does not accept reverse range
...
Problem: 'incsearch' highlighting does not accept reverse range.
Solution: Swap the range when needed. (issue vim/vim#3321 )
60d0871000
2020-09-11 10:31:41 +08:00
Aufar Gilbran
50da4d4f45
vim-patch:8.1.0277: 'incsearch' highlighting wrong in a few cases
...
Problem: 'incsearch' highlighting wrong in a few cases.
Solution: Fix using last search pattern. Restore highlighting when changing
command. (issue vim/vim#3321 )
c7f08b7ee1
2020-09-11 10:31:41 +08:00
Aufar Gilbran
dd08f6367b
vim-patch:8.1.0275: 'incsearch' with :s doesn't start at cursor line
...
Problem: 'incsearch' with :s doesn't start at cursor line.
Solution: Set cursor before parsing address. (closes vim/vim#3318 )
Also accept a match at the start of the first line.
976b847f43
2020-09-11 10:31:41 +08:00
Aufar Gilbran
9e834a89df
vim-patch:8.1.0274: 'incsearch' triggers on ":source"
...
Problem: 'incsearch' triggers on ":source".
Solution: Check for the whole command name.
21f990e1c2
2020-09-11 10:31:41 +08:00
Aufar Gilbran
5eb7133021
vim-patch:8.1.0273: invalid memory access when using 'incsearch'
...
Problem: Invalid memory access when using 'incsearch'.
Solution: Reset "patlen" when using previous search pattern.
ef73a28401
2020-09-11 10:31:41 +08:00
Aufar Gilbran
e8a8b9ed08
vim-patch:8.1.0271: 'incsearch' doesn't work for :s, :g or :v
...
Problem: 'incsearch' doesn't work for :s, :g or :v.
Solution: Also use 'incsearch' for other commands that use a pattern.
b0acacd767
2020-09-11 10:31:41 +08:00
Aufar Gilbran
8ac4748577
vim-patch:8.1.0265: the getcmdline() function is way too big
...
Problem: The getcmdline() function is way too big.
Solution: Factor out the incremental search highlighting.
0ee81cb638
2020-09-11 10:29:12 +08: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
Jan Edmund Lazo
8c49e3d509
Merge pull request #12770 from janlazo/vim-8.1.1115
...
vim-patch:8.1.{1115,2267},8.2.{607,814,1472,1474,1476,1511}
2020-08-22 18:34:52 -04:00