ZyX
9fd048d901
scripts: Do not patch already patched sources in patch mode
...
Also do not patch header files, that is not needed.
2017-04-19 19:04:00 +03:00
ZyX
38b2bc9a88
scripts: Make pvs do not patch separate directory, add patch mode
2017-04-19 18:55:32 +03:00
Justin M. Keyes
f0c12012d9
Merge #6546 from justinmk/doc
2017-04-19 15:03:02 +02:00
Justin M. Keyes
6bc6d94ec8
doc: api-contract, CONTRIBUTING.md
2017-04-19 13:48:12 +02:00
Nikolai Aleksandrovich Pavlov
29ab8c1ae2
doc/CONTRIBUTING.md: Recommend merge-based workflow.
...
References #6435
2017-04-19 04:03:09 +02:00
Justin M. Keyes
440133e0d5
health.vim: Set 'iskeyword' to that of ft=help.
2017-04-19 04:03:08 +02:00
Shlomi Fish
14b1becb54
doc: fix typo ( #6504 )
2017-04-19 02:20:05 +02:00
Justin M. Keyes
ce7cba6d7f
Merge #6533 'Fix PVS-studio warnings'
2017-04-17 22:02:46 +02:00
Justin M. Keyes
7debba9d42
Merge #6537 from justinmk/hlcursor
...
Cursor highlight after `:highlight clear|syntax reset`
2017-04-18 11:17:06 +02:00
Justin M. Keyes
45aa465fba
test: Cursor after :hi clear|syntax reset
...
Also enable tests on Windows.
2017-04-17 21:15:51 +02:00
Matthieu Coudron
3345382cc2
highlight: default Cursor to guibg=fg, guifg=bg
...
Closes #6508
2017-04-17 05:47:43 +02:00
Matthew Malcomson
263849b2dd
fold: foldMoveRange(): fix :move bug #6534
...
Closes #6540
In #6221 there was a mistake in calculating which folds need to be
re-ordered. When there are no folds after those that have been adjusted,
then `move_end` remains 0. This results in reverse_fold_order()
swapping folds that have been adjusted with uninitialised folds in the
remainder of the grow array.
Add a check in foldMoveRange() to account for this case.
2017-04-17 04:45:55 +02:00
ZyX
2eb9150a4f
buffer: Adjust where do_buffer call is located
...
It is located there in Vim, but in dd7657c160
position was for some reason swapped.
2017-04-16 23:58:32 +03:00
ZyX
58300d70d2
*: Fix linter errors
2017-04-16 22:20:19 +03:00
ZyX
9d302c60f0
regexp_nfa: Remove octal constant
2017-04-16 21:43:27 +03:00
ZyX
372b6af8ea
regexp_nfa: Remove another has_mbyte/…-checking code
2017-04-16 21:43:27 +03:00
ZyX
30561afe41
regexp: Silence octal constant warning
2017-04-16 21:43:26 +03:00
ZyX
b7118a008a
regexp: Remove another has_mbyte/…-checking stuff
2017-04-16 21:43:26 +03:00
ZyX
69ebfb8d8e
regexp: Fix warning about octal constant
2017-04-16 21:43:26 +03:00
ZyX
76783963eb
tag: Fix “initialized twice successively” false positive
2017-04-16 21:43:25 +03:00
ZyX
316789e14c
tag: Silence “buffer underflow” warning
2017-04-16 21:43:25 +03:00
ZyX
c0cbc50720
screen: Remove another portion of has_mbyte/friends-checking stuff
2017-04-16 21:43:25 +03:00
ZyX
e131194db7
screen: Remove unneeded condition
...
Already checked in outer if()
2017-04-16 21:43:23 +03:00
ZyX
48ad8e0ff1
screen: Silence NULL dereference false positive
...
Based on the loop condition when shl_flag is true cur != NULL.
2017-04-16 21:43:23 +03:00
ZyX
7cf4b0ac06
screen: Silence “buffer underflow” warning
2017-04-16 21:18:00 +03:00
ZyX
a65867542d
screen: Remove unneeded check
2017-04-16 21:17:08 +03:00
ZyX
b396a3f72e
quicfix: Avoid possible NULL dereference
2017-04-16 21:13:49 +03:00
ZyX
4e7150ee94
quicfix: Remove duplicate condition
2017-04-16 21:13:25 +03:00
ZyX
be9d98cb45
quickfix: Remove unneeded condition
...
fmt_ptr was checked for being NULL in if() condition earlier.
2017-04-16 21:13:24 +03:00
ZyX
aa3b1f695f
normal: Add figure braces so that code is clearer
2017-04-16 21:13:24 +03:00
ZyX
b5db7cde36
normal: Clarify the code
...
Current variant works only because of PUT_FIXINDENT being equal to true.
2017-04-16 21:13:24 +03:00
ZyX
54bd78b8a8
normal: Remove unneeded assignment
2017-04-16 21:06:22 +03:00
ZyX
cdbfff077b
ops: Silence “counter not used in loop” false positive
2017-04-16 21:05:50 +03:00
ZyX
84aa457ccd
os/env: Fix “invalid pointer to local” false positive
2017-04-16 21:02:43 +03:00
ZyX
dc523eed8e
fileio: Silence “!= identical subexpressions” warning
2017-04-16 20:59:58 +03:00
ZyX
0718d0e6d4
message: Some more has_mbyte/enc_utf8 removal
2017-04-16 20:58:19 +03:00
ZyX
083792e137
message: Remove some enc_utf8/… checks
2017-04-16 20:56:30 +03:00
ZyX
10ce00efa8
memline: Fix “NULL pointer dereference” warning
...
It was actually a false positive indicating always-true condition, not real
dereference.
2017-04-16 20:55:29 +03:00
ZyX
2394c9f2b7
memline: Silence “buffer underflow” warning, looks like false positive
2017-04-16 20:47:06 +03:00
ZyX
0f7c260cd8
fileio: Simlify help files encoding detection
...
Most of code is dead when enc_utf8 is always true. Given that `c` is being
reused for other purposes I left it set to 1 just in case.
2017-04-16 20:39:57 +03:00
ZyX
e3de83a829
hardcopy: Remove unneeded prt_do_conv assignment
2017-04-16 20:32:10 +03:00
ZyX
d88ae748b5
getchar: Fix if block indentation
2017-04-16 20:29:19 +03:00
ZyX
fe01e9c947
ex_docmd: Remove unneeded if()
2017-04-16 20:27:47 +03:00
ZyX
87e107d921
ex_docmd: Remove :Ni! easter egg
2017-04-16 20:27:20 +03:00
ZyX
a894c82def
ex_docmd: Remove excessive assignment
2017-04-16 20:25:00 +03:00
ZyX
d766607dc9
farsi: Simplify condition
2017-04-16 20:24:30 +03:00
ZyX
c5010c98ae
eval: Fix position of buf declaration
2017-04-16 20:22:58 +03:00
ZyX
1bc0800787
eval: Remove unneeded !eap->skip check
...
Already checked in the outer if().
2017-04-16 20:22:12 +03:00
ZyX
9dd1926df0
eval: Remove unneeded varp check
2017-04-16 20:20:53 +03:00
ZyX
9b1dd08425
eval: Remove unneeded varp check
2017-04-16 20:20:38 +03:00