mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 17:58:18 +00:00
ex_getln: Make use of new parser to color expressions
Retires g:Nvim_color_expr callback.
This commit is contained in:
13
src/nvim/viml/parser/parser.c
Normal file
13
src/nvim/viml/parser/parser.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "nvim/viml/parser/parser.h"
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "viml/parser/parser.c.generated.h"
|
||||
#endif
|
||||
|
||||
|
||||
void parser_simple_get_line(void *cookie, ParserLine *ret_pline)
|
||||
{
|
||||
ParserLine **plines_p = (ParserLine **)cookie;
|
||||
*ret_pline = **plines_p;
|
||||
(*plines_p)++;
|
||||
}
|
Reference in New Issue
Block a user