ZyX
f33543377e
viml/parser/expressions: Add a way to represent tokens from C code
2017-10-15 19:13:47 +03:00
Justin M. Keyes
2ecff0814e
doc: remove E172 ( #7395 )
...
vim-patch:8.0.1189
We already made the code-change in 0e44916fff
2017-10-15 17:54:59 +02:00
Björn Linse
4b3e51d4ee
ops: save and restore clipboard batch status when entering cmdline window
2017-10-15 16:36:00 +02:00
Justin M. Keyes
68f3da5f61
Merge pull request #7394 from justinmk/health.vim
...
health.vim: check 'paste' option; fix highlighting
2017-10-15 13:16:01 +02:00
Justin M. Keyes
2a5a6a0541
health.vim: rename "suggestions" to "advice" in most places
2017-10-15 12:06:14 +02:00
Justin M. Keyes
c4ab110e04
health.vim: fix highlighting
...
`:syntax keyword` is affected by 'iskeyword'. When we aligned
'iskeyword' to that of filetype=help, colon (:) is now included.
Simplest way to deal with this is to include colon (:) in the `:syntax
keyword` directive.
Also:
- change "SUGGESTIONS" mouthful to "ADVICE"
- change "SUCCESS" to "OK"
2017-10-15 12:06:13 +02:00
Justin M. Keyes
7ca1f43f68
health.vim: warn about 'paste' option
2017-10-15 12:06:13 +02:00
James McCoy
02c2b1d1b3
Merge pull request #7380 from jamessan/silent-input
...
getcmdline_prompt: Temporarily disable msg_silent so prompt is displayed
2017-10-14 16:11:46 -04: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
Justin M. Keyes
77f1392f07
Merge #7327 from ckelsel/vim-8.0.0131
2017-10-09 22:56:30 +02:00
ZyX
f265066081
unittests: Add support for dumping “expected” state
...
Purpose is similar to that of `screen:snapshot_util()`, but in different domain.
2017-10-08 22:25:09 +03: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
919223c23a
unittests: Move some functions into helpers modules
2017-10-08 22:12:00 +03: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
timothy eichler
e565fc2294
gitignore: cmake-build-debug ( #7359 )
2017-10-08 18:26:44 +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
01487d4385
Merge #7358 from justinmk/titleold
2017-10-05 21:49:06 +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
Jan Edmund Lazo
b7fe15d8f9
editorconfig: handle Vim help files ( #7354 )
2017-10-04 09:18:03 +02:00
James McCoy
07a0685b48
Merge pull request #7355 from jamessan/ngettext-fix
...
Stub ngettext when libintl isn't available
2017-10-03 17:29:27 -04: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
Justin M. Keyes
01e53a5cbe
Merge #7349 'win: more path-handling fixes'
2017-10-02 02:42:33 +02:00
Justin M. Keyes
6f7754dfa0
test: avoid extra clear() calls
...
also: various other cleanup
2017-10-02 01:46:16 +02:00
Ignas Anikevicius
e9dba214ea
test/shada: fixup for Windows backslashes #7287
2017-10-02 00:48:43 +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
Justin M. Keyes
981387b7c8
ci/appveyor: modify compression options for cache
...
Attempt to workaround #7317 by using a different compression algorithm.
2017-10-01 12:17:26 +02:00
E Kawashima
95458609ab
runtime/syntax/vim.vim: highlight nvim groups #7338
...
regressed by 86b596dc7a
2017-09-30 15:03:06 +02:00