ZyX
e423cfe194
edit: Lint some functions which are to be copied for symbolic tests
2017-10-15 19:13:52 +03:00
ZyX
6f22b5afad
mbyte: Lint some functions which are to be copied for symbolic tests
2017-10-15 19:13:52 +03:00
ZyX
bd3a4166b2
viml/parser/expressions: Add support for subscript and list literals
2017-10-15 19:13:51 +03:00
ZyX
e45e519495
viml/parser/expressions: Error out on multiple colons in a row
2017-10-15 19:13:51 +03:00
ZyX
21a5ce033c
viml/parser/expressions: Add support for the dot operator and numbers
2017-10-15 19:13:50 +03:00
ZyX
163792e9b9
viml/parser/expressions: Make lexer parse numbers, support non-decimal
2017-10-15 19:13:50 +03:00
ZyX
0bc4e22379
viml/parser/expressions: Forbid dot or alpha characters after a float
...
This is basically what Vim already does, in addition to forbidding floats should
there be a concat immediately before it.
2017-10-15 19:13:50 +03:00
ZyX
6168e1127c
viml/parser/expressions: Add support for comparison operators
2017-10-15 19:13:49 +03:00
ZyX
6791c57420
viml/parser/expressions: Make sure that arrows outside lambda throw
2017-10-15 19:13:49 +03:00
ZyX
6144e26eb9
viml/parser/expressions: Add support for ternary operator
2017-10-15 19:13:49 +03:00
ZyX
9e721031d5
viml/parser/expressions: Fix determining invalid commas/colons
2017-10-15 19:13:48 +03:00
ZyX
3735537a50
viml/parser/expressions: Fix call inside nested parenthesis
...
It may have incorrectly tried to call everything because of essentially “value”
nodes being treated as not such.
2017-10-15 19:13:48 +03:00
ZyX
f33543377e
viml/parser/expressions: Add a way to represent tokens from C code
2017-10-15 19:13:47 +03:00
Björn Linse
4b3e51d4ee
ops: save and restore clipboard batch status when entering cmdline window
2017-10-15 16:36:00 +02:00
James McCoy
dc513f7618
getcmdline_prompt: Temporarily disable msg_silent so prompt is displayed
...
vim-patch:7.4.1636
Closes #7378
2017-10-14 14:32:27 -04:00
ckelsel
97dc1350f0
vim-patch:8.0.0183 NA
...
Problem: Ubsan warns for using a pointer that is not aligned.
Solution: First copy the address. (Yegappan Lakshmanan)
7173b47958
2017-10-10 14:54:52 +08:00
ckelsel
d2b0c5838a
Merge branch 'master' of github.com:ckelsel/neovim into vim-8.0.0101
2017-10-10 14:50:13 +08:00
Justin M. Keyes
77f1392f07
Merge #7327 from ckelsel/vim-8.0.0131
2017-10-09 22:56:30 +02:00
ZyX
9fa8f7fc0a
viml/parser/expressions: Add a way to adjust lexer
...
It also adds support for kExprLexOr which for some reason was forgotten.
It was only made sure that KLEE test compiles in non-KLEE mode, not that
something works or that KLEE is able to run tests.
2017-10-08 22:25:08 +03:00
ZyX
0987d3b10f
viml/parser/expressions: Make curly braces name actually work
2017-10-08 22:25:07 +03:00
ZyX
3cc65ac054
viml/parser/expressions: Make commas actually work when calling
2017-10-08 22:25:07 +03:00
ZyX
d4782fb1ca
viml/parser/expressions: Make commas actually work when calling
2017-10-08 22:25:06 +03:00
ZyX
7980614650
viml/parser/expressions: Add support for figure braces (three kinds)
2017-10-08 22:25:06 +03:00
ZyX
7c97f78393
klee: Start preparing for klee tests
...
First stage: something compiling without klee, but with a buch of dirty
hacks - done.
Second stage: something running under klee, able to emit useful results,
but still using dirty hacks - done.
Third stage: make CMake care about clang argumnets - not done, may be
omitted if proves to be too hard. Not that klee can be run on CI in any
case.
2017-10-08 22:25:05 +03:00
ZyX
430e516d3a
viml/parser/expressions: Start creating expressions parser
...
Currently supported nodes:
- Register as it is one of the simplest value nodes (even numbers are
not that simple with that dot handling).
- Plus, both unary and binary.
- Parenthesis, both nesting and calling.
Note regarding unit tests: it stores data for AST in highlighting in
strings in place of tables because luassert fails to do a good job at
representing big tables. Squashing a bunch of data into a single string
simply yields more readable result.
2017-10-08 22:25:03 +03:00
Justin M. Keyes
db999821d4
Merge #7082 'api: nvim_get_hl_by_name/by_id'
2017-10-08 21:19:02 +02:00
Justin M. Keyes
52517321d1
test: nvim_get_hl_by_name/by_id #7082
...
- test all properties
- test failure modes
2017-10-08 21:17:20 +02:00
ZyX
1265da0288
viml/parser: Add helper functions for highlighting
2017-10-08 22:12:00 +03:00
ZyX
2d8b9937de
viml/parser: Handle encoding conversions
2017-10-08 22:11:59 +03:00
ZyX
0300c4d109
viml/expressions: Add lexer with some basic tests
2017-10-08 22:11:57 +03:00
ZyX
ad58e50b45
kvec: Add kv_Z which is like kv_A, but zero is the last value
2017-10-08 22:11:57 +03:00
Justin M. Keyes
04187a1c74
Merge #7082 'api: nvim_get_hl_by_name/by_id'
2017-10-08 19:09:14 +02:00
KunMing Xie
1663599beb
vim-patch:8.0.0164 ( #7368 )
...
Problem: Outdated and misplaced comments.
Solution: Fix the comments.
caa55b65c2
2017-10-08 18:52:57 +02:00
KunMing Xie
4b2592d7b6
Merge branch 'master' into vim-8.0.0131
2017-10-08 09:33:20 +08:00
Justin M. Keyes
032b088c84
Merge #7364 lower priority of 'cursorline', 'cursorcolumn'
2017-10-07 19:11:05 +02:00
Justin M. Keyes
d916ea107a
resettitle(): remove conditions ( #7360 )
...
These conditions were added in #7358 for no apparent reason.
ref https://github.com/neovim/neovim/pull/7358#discussion_r143064448
2017-10-07 18:05:02 +02:00
KunMing Xie
e3ca1e6046
vim-patch:8.0.0142 ( #7335 )
...
see also #7082
Problem: Normal colors are wrong with 'termguicolors'.
Solution: Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes vim/vim#1344 )
0cdb72aa38
2017-10-07 17:20:34 +02:00
ckelsel
c0e45d97b0
vim-patch:8.0.0148 #7344
...
Problem: When a C preprocessor statement has two line continuations the
following line does not have the right indent. (Ken Takata)
Solution: Add the indent of the previous continuation line. (Hirohito
Higashi)
c6aa475a27
2017-10-07 17:10:37 +02:00
Justin M. Keyes
d1874ab282
syntax: 'cursorline': low priority #6380
2017-10-07 16:45:15 +02:00
Justin M. Keyes
7a832c312f
syntax: 'cursorcolumn', 'colorcolumn': low priority #6380
2017-10-07 16:31:34 +02:00
KunMing Xie
9ad7529f70
vim-patch:8.0.0157 ( #7362 )
...
Problem: No command line completion for ":syntax spell" and ":syntax sync".
Solution: Implement the completion. (Dominique Pelle)
2d02839050
2017-10-07 14:32:37 +02:00
Andrew Ferreira
a4019bc9f6
eval.c: ga_concat_esc() #7357
...
vim-patch:2368917d8f0c0a997eac7a51ddfaa748dc528392
closes #7256
2017-10-07 12:45:23 +02:00
Justin M. Keyes
73b50de925
'titleold': move logic to getout()
2017-10-05 09:49:17 +02:00
Justin M. Keyes
70e84a7c4c
'titleold': simplify behavior
...
- default 'titleold' to empty
- set title on exit if 'title' is enabled and 'titleold' is non-empty
- update docs
2017-10-05 09:18:33 +02:00
nate
5f4d2edeee
'titleold': set UI title on exit #7191
...
closes #7129
ref #4063
2017-10-05 09:18:30 +02:00
James McCoy
235fda5f86
Stub ngettext when libintl isn't available
...
This should have been included in #6547 as part of vim-patch:7.4.2152.
Closes #7352
2017-10-03 14:54:50 -04:00
KillTheMule
41f624a85b
Deal with NOP, add actext to output
2017-10-02 21:49:50 +02:00
Ignas Anikevicius
2b133101cf
win: vim_FullName(): force backslashes #7287
...
- Replace obvious cases of '/' literal with PATHSEP. (There are still
some remaining cases that need closer inspection.)
- Fixup tests: ui/screen_basic
closes #7117
ref https://github.com/neovim/neovim/issues/2471#issuecomment-271193714
2017-10-02 00:48:30 +02:00
KillTheMule
4543fc1612
menu_get: prettyprint special chars
2017-10-01 11:47:31 +02:00
Matthieu Coudron
481e40cc8c
Remove duplicate ATTRENTRY_INIT
2017-09-30 11:44:50 +09:00