Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fix(highlight): remove syncolor.vim | Gregory Anders | 2021-07-27 |
| | | | | | | | | | | | | | | | | | | | Remove syncolor.vim in favor of defining the default highlight groups directly in `init_highlight`. This approach provides a number of advantages: 1. The highlights are always defined, regardless of whether or not the syntax regex engine is enabled. 2. Redundant sourcing of syntax files is eliminated (syncolor.vim was often sourced multiple times based on how the user's colorscheme file was written). 3. The syntax highlighting regex engine and the highlight groups themselves are more fully decoupled. 4. Removal of the confusing `:syntax on` / `:syntax enable` dichotomy (they now both do the same thing). This approach also correctly solves a number of bugs related to highlighting (#15176, #12573, #15205). | ||
* | tests: assert:set_parameter('TableFormatLevel', 100) #10925 | Daniel Hahler | 2019-09-03 |
| | | | | | | luassert uses 3 by default, which is often not enough. Instead of documenting how to increase it, let's use a more fitting (sane) default of 100 levels. | ||
* | test: remove use of require('test.helpers') | Justin M. Keyes | 2019-05-18 |
| | | | | | | The test.functional.helpers and test.unit.helpers modules now include all of the public functions from test.helpers, so there is no need to separately require('test.helpers'). | ||
* | *: Replace all occurrences of NVim with Nvim | ZyX | 2017-11-30 |
| | |||
* | tests: Stabilize float format and %e in format_luav and format_string | ZyX | 2017-11-19 |
| | |||
* | *: Fix linter errors | ZyX | 2017-11-19 |
| | |||
* | tests: Use single test file for unit and functional parser tests | ZyX | 2017-11-19 |
| | |||
* | viml/parser/expressions,unittests: Do better testing, fix found issues | ZyX | 2017-11-19 |
| | |||
* | unittests,viml/parser/expressions: Start adding asgn parsing tests | ZyX | 2017-11-13 |
| | |||
* | unittests: Fix automatic test case generation | ZyX | 2017-11-13 |
| | |||
* | unittests,syntax: Check for sanity of highlight_init_cmdline | ZyX | 2017-11-13 |
| | | | | Also fixes some errors found. | ||
* | unittests: Add some more edge test cases | ZyX | 2017-11-12 |
| | |||
* | viml/parser/expressions: Add support for parsing assignments | ZyX | 2017-11-12 |
| | |||
* | unittests: Add a way to show some custom messages only when crashed | ZyX | 2017-11-11 |
| | |||
* | tests: Add missing test cases | ZyX | 2017-11-06 |
| | |||
* | api/vim,functests: Add tests for nvim_parse_expression, fix found bugs | ZyX | 2017-11-06 |
| | |||
* | tests: Fix testlint errors | ZyX | 2017-11-06 |
| | |||
* | syntax,viml/parser/expressions: Add missing highlight groups | ZyX | 2017-10-29 |
| | | | Also adjusts some names. | ||
* | syntax,viml/expressions/parser: Create defaults for expr highlighting | ZyX | 2017-10-29 |
| | |||
* | unittests: Avoid alloc log checking errors when printing tests | ZyX | 2017-10-29 |
| | |||
* | viml/parser/expressions: Fix last error found by KLEE | ZyX | 2017-10-29 |
| | |||
* | viml/parser/expressions: Fix some errors spotted by KLEE | ZyX | 2017-10-19 |
| | | | Not all of them are fixed yet though. | ||
* | unittests: Free everything and check for memory leaks | ZyX | 2017-10-16 |
| | | | Also improves error reporting. | ||
* | viml/parser/expressions: Highlight prefix separately from number | ZyX | 2017-10-16 |
| | | | Should make accidental octals more visible. | ||
* | charset: Avoid overflow in vim_str2nr | ZyX | 2017-10-16 |
| | |||
* | viml/parser/expressions,klee: Fix some problems found by KLEE run | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions,tests: Add AST freeing, with sanity checks | ZyX | 2017-10-15 |
| | |||
* | unittests: Test some edge cases | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Create tests for latest additions | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Finish parser | ZyX | 2017-10-15 |
| | | | | | | | Note: formatc.lua was unable to swallow some newer additions to ExprASTNodeType (specifically `kExprNodeOr = '|'` and probably something else), so all `= …` were dropped: in any case they only were there in order to not bother updating viml_pexpr_debug_print_ast_node and since it is now known all nodes which will be present it is not much of an issue. | ||
* | viml/parser/expressions: Add support for string parsing | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Add support for subscript and list literals | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Error out on multiple colons in a row | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Add support for the dot operator and numbers | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Add support for comparison operators | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Make sure that arrows outside lambda throw | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Add support for ternary operator | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Fix determining invalid commas/colons | ZyX | 2017-10-15 |
| | |||
* | viml/parser/expressions: Fix call inside nested parenthesis | ZyX | 2017-10-15 |
| | | | | It may have incorrectly tried to call everything because of essentially “value” nodes being treated as not such. | ||
* | unittests: Add support for dumping “expected” state | ZyX | 2017-10-08 |
| | | | Purpose is similar to that of `screen:snapshot_util()`, but in different domain. | ||
* | viml/parser/expressions: Make curly braces name actually work | ZyX | 2017-10-08 |
| | |||
* | viml/parser/expressions: Make commas actually work when calling | ZyX | 2017-10-08 |
| | |||
* | viml/parser/expressions: Make commas actually work when calling | ZyX | 2017-10-08 |
| | |||
* | viml/parser/expressions: Add support for figure braces (three kinds) | ZyX | 2017-10-08 |
| | |||
* | viml/parser/expressions: Start creating expressions parser | ZyX | 2017-10-08 |
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. |