|  | Commit message (Collapse) | Author | Age | 
|---|
| | 
| 
| 
| 
| 
| | 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. | 
| | 
| 
| 
| 
| 
| | 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'). | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| | Also fixes some errors found. | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| | Also adjusts some names. | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| | Not all of them are fixed yet though. | 
| | 
| 
| | Also improves error reporting. | 
| | 
| 
| | Should make accidental octals more visible. | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| 
| 
| | 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. | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| | It may have incorrectly tried to call everything because of essentially “value” 
nodes being treated as not such. | 
| | 
| 
| | Purpose is similar to that of `screen:snapshot_util()`, but in different domain. | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
|  | 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. |