Utkarsh Maheshwari
ba6f9f60ad
multigrid: Fix lint errors
2018-12-31 12:44:22 +01:00
Utkarsh Maheshwari
01555de2da
multigrid: Allow UIs to set grid size different from window size
2018-12-31 12:44:21 +01:00
Utkarsh Maheshwari
f102f50ebe
multigrid: Change screen_* functions to grid_* functions
2018-12-31 12:44:21 +01:00
Anatolii Sakhnik
7b6c92eac1
vim-patch:8.1.0394: diffs are not always updated correctly
...
Problem: Diffs are not always updated correctly.
Solution: When using internal diff update for any changes properly.
e3521d9cbb
2018-12-09 19:45:56 +02:00
Justin M. Keyes
c3d24368a1
shortmess+=F: Hide :bnext, :bprev fileinfo messages
2018-09-23 15:58:01 +02:00
Jan Edmund Lazo
300a7a4cf4
replace fallthrough comment with macro
...
Follow-up of vim-patch:8.0.1215
2018-09-21 00:05:06 -04:00
Jan Edmund Lazo
6a329b0548
vim-patch:8.0.1215: newer gcc warns for implicit fallthrough
...
Problem: Newer gcc warns for implicit fallthrough.
Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
2f40d129bf
2018-09-20 06:59:04 -04:00
Justin M. Keyes
dadcfe22ca
Merge #8998 from janlazo/vim-8.0.1275
2018-09-14 19:21:09 +02:00
Jan Edmund Lazo
c03e8307d2
vim-patch:8.0.1201: "yL" is affected by 'scrolloff' ( #8997 )
...
Problem: "yL" is affected by 'scrolloff'. (Eli the Bearded)
Solution: Don't use 'scrolloff' when an operator is pending.
44cc4cf72f
2018-09-14 19:16:30 +02:00
Jan Edmund Lazo
db90c0c9bf
globals: KeyTyped is bool
2018-09-14 01:01:00 -04:00
Jan Edmund Lazo
e15c34fbc2
lint
2018-09-11 23:04:54 -04:00
Jan Edmund Lazo
38c52c63ac
vim-patch:8.0.1809: various typos
...
Problem: Various typos.
Solution: Correct the mistakes, change "cursur" to "cursor". (closes vim/vim#2887 )
b946482190
2018-09-11 23:02:22 -04:00
Jan Edmund Lazo
d4cc4e0871
vim-patch:8.0.0998: strange error when using K while only spaces are selected
...
Problem: Strange error when using K while only spaces are selected.
(Christian J. Robinson)
Solution: Check for blank argument.
a4f99f5a8b
2018-09-04 21:16:34 -04:00
Justin M. Keyes
a2403a0ed9
Merge #8863 'refactor: Remove mb_head_off() '
2018-08-28 23:37:30 +02:00
Jan Edmund Lazo
0223c81457
lint
2018-08-17 22:07:55 -04:00
Jan Edmund Lazo
7482aef113
normal: don't check has_mbyte
...
has_mbyte is always true for nvim.
2018-08-17 22:07:55 -04:00
Jan Edmund Lazo
f46728c241
vim-patch:8.0.1091: test for <cexpr> fails without +balloon_eval feature
...
Problem: Test for <cexpr> fails without +balloon_eval feature.
Solution: Remove #ifdefs.
95c83c64be
2018-08-17 22:07:55 -04:00
ZviRackover
d110c6d790
lint: cleanup after parent commits
2018-08-16 07:39:48 +03:00
ZviRackover
30392b6356
Remove has_mbyte from lines near changes in parent commit
2018-08-16 06:03:49 +03:00
ZviRackover
2bddc4ca54
Remove occurences of mb_head_off
2018-08-15 22:02:33 +03:00
Jan Edmund Lazo
41dbb69a85
lint
2018-08-06 11:49:59 -04:00
Jan Edmund Lazo
e7e2115de5
vim-patch:8.0.0948: crash if timer closes window while dragging status line
...
Problem: Crash if timer closes window while dragging status line.
Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes
vim/vim#1979 )
989a70c590
2018-08-05 17:42:49 -04:00
Jan Edmund Lazo
44cb491f6e
globals: virtual_op is TriState
2018-08-01 15:28:49 -04:00
ZyX
eaf2a25f12
*: Replace b_changedtick with new always-inline functions
...
Ref #8474
2018-06-22 00:44:31 +03:00
Jan Edmund Lazo
141df73930
vim-patch:8.0.0568: 1gd may hang
...
Problem: "1gd" may hang.
Solution: Don't get stuck in one position. (Christian Brabandt, closes vim/vim#1643 )
60402d68da
2018-06-19 16:57:29 -04:00
Jan Edmund Lazo
8192267dea
vim-patch:8.0.0609: some people still don't know how to quit ( #8571 )
...
Problem: For some people the hint about quitting is not sufficient.
Solution: Put <Enter> separately. Also use ":qa!" to get out even when
there are changes.
28a8193e31
2018-06-17 12:51:03 +02:00
Jan Edmund Lazo
440c33343d
vim-patch:8.0.0602: when gF fails to edit the file the cursor still moves
...
Problem: When gF fails to edit the file the cursor still moves to the found
line number.
Solution: Check the return value of do_ecmd(). (Michael Hwang)
2a79ed293c
2018-06-16 11:37:12 -04:00
Jan Edmund Lazo
bbb88607c9
vim-patch:8.0.0466: still macros that should be all-caps ( #8510 )
...
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
8820b48654
2018-06-10 12:24:00 +02:00
Peter Hodge
edcc73e766
API: Implement buffer updates
...
Originally written by @phodge in
https://github.com/neovim/neovim/pull/5269 .
2018-05-23 22:07:27 +02:00
Justin M. Keyes
d995825c66
Merge #8377 'TextChangedP autocommand'
2018-05-19 11:44:52 +02:00
Nick Neisen
189a5f2b95
coverity/13713: do_pending_operator: handle failed u_save_cursor()
2018-05-17 09:03:02 +02:00
Shougo Matsushita
021c5875c1
vim-patch:8.0.1494: no autocmd triggered in Insert mode with visible popup menu
...
Problem: No autocmd triggered in Insert mode with visible popup menu.
Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt,
closes vim/vim#2372 , closes vim/vim#1691 )
Fix that the TextChanged autocommands are not always triggered
when sourcing a script.
5a09343719
2018-05-14 19:14:25 +08:00
Björn Linse
d407a48665
getchar: implement <Cmd> key to invoke command in any mode
2018-03-23 14:01:49 +01:00
Justin M. Keyes
7da4d1561b
lint
2018-02-12 01:32:52 +01:00
Justin M. Keyes
2929dbf223
vim-patch:8.0.0858: can exit while a terminal is still running a job
...
Problem: Can exit while a terminal is still running a job.
Solution: Consider a buffer with a running job like a changed file.
eb44a68b42
2018-02-11 22:40:12 +01:00
Justin M. Keyes
f26a4d484b
lint
2018-02-11 19:03:29 +01:00
Justin M. Keyes
abed6a0b1a
vim-patch:8.0.1475: invalid memory access in read_redo()
...
Problem: Invalid memory access in read_redo(). (gy741)
Solution: Convert the replacement character back from a negative number to
CR or NL. (hint by Dominique Pelle, closes vim/vim#2616 )
f12519dec8
2018-02-11 19:03:27 +01:00
Justin M. Keyes
35a7892781
lint, minor cleanup
2018-02-07 09:25:51 +01:00
KunMing Xie
8728a5d50b
vim-patch:8.0.0448: some macros are lower case ( #7936 )
...
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
b5aedf3e22
ref #6297
2018-01-30 20:29:15 +01:00
Justin M. Keyes
b558f750bf
vim-patch:8.0.1419: cursor column is not updated after ]s
...
Problem: Cursor column is not updated after ]s. (Gary Johnson)
Solution: Set the curswant flag.
b73fa629d6
2018-01-16 00:13:22 +01:00
Justin M. Keyes
82b8382abe
vim-patch:8.0.0962
...
closes #6726
Problem: Crash with virtualedit and joining lines.
(Joshua T Corbin, Neovim #6726 )
Solution: When using a mark check that coladd is valid.
9aa1569128
2017-10-21 02:18:00 +02:00
KunMing Xie
713a957e9c
vim-patch:8.0.0282 vim-patch:8.0.0291 ( #7255 )
...
vim-patch:8.0.0291
Problem: Visual block insertion does not insert in all lines.
Solution: Don't bail out of insert too early. Add a test. (Christian
Brabandt, closes vim/vim#1290 )
23fa81d222
vim-patch:8.0.0282
Problem: When doing a Visual selection and using "I" to go to insert mode,
CTRL-O needs to be used twice to go to Normal mode.
(Coacher)
Solution: Check for the return value of edit(). (Christian Brabandt,
closes #1290 )
0b5c93a7f2
2017-09-10 12:21:52 +02:00
Justin M. Keyes
b6b6e4a96f
eventloop: FocusGained: schedule event instead of pseudokey
...
closes #4840
closes #6164
2017-09-05 15:01:06 +02:00
Matthew Malcomson
541dde36e3
eventloop: K_EVENT should not finish operator
...
normal_finish_command() and normal_prepare() assume that any pending
operator needs to be finished after any subsequent key.
Set `finish_op = false` in nv_event() to indicate that the pending
operator shouldn't be finished in normal_execute().
This is how nv_visual() indicates that 'v' or 'V' in operator-pending
mode should not finish the current pending operator.
fixes #5398
fixes #6166 (partially; mappings are still interrupted)
2017-09-04 08:20:04 +02:00
Justin M. Keyes
e006b1d98d
log: some DEBUG-level stream logging
2017-08-21 01:04:28 +02:00
Jurica Bradaric
9ffa22b7ef
vim-patch:8.0.0023
...
Problem: "gd" and "gD" may find a match in a comment or string.
Solution: Ignore matches in comments and strings. (Anton Lindqvist)
226630a030
2017-07-16 21:43:06 +02:00
ZyX
6552768c4f
normal: Fix V728: excessive check
2017-07-04 18:37:01 +03:00
James McCoy
54d5e90a2b
vim-patch:7.4.2320
...
Problem: Redraw problem when using 'incsearch'.
Solution: Save the current view when deleting characters. (Christian
Brabandt) Fix that the '" mark is set in the wrong position. Don't
change the search start when using BS.
dda933d06c
2017-06-26 22:08:13 -04:00
James McCoy
0ff959329b
*: Comment intentional fallthroughs
...
Falling through a switch case should be commented so it's clear that
behavior is intentional.
2017-05-12 12:01:25 -04:00
Justin M. Keyes
f17a818519
api/nvim_get_mode: Use child-queue instead of "priority".
2017-04-28 19:20:09 +02:00