Files
ivy/frontend/line-ed/hooks/highlight.h
T

21 lines
409 B
C
Raw Normal View History

2024-11-18 09:53:55 +00:00
#ifndef LINE_ED_HOOKS_HIGHLIGHT_H_
#define LINE_ED_HOOKS_HIGHLIGHT_H_
#include "../line-ed.h"
#include <ivy/lang/lex.h>
struct lex;
struct highlight_hook {
struct line_ed_hook hook_base;
struct ivy_line_source hook_src;
const char *hook_bufp;
struct lex *hook_lex;
};
extern struct highlight_hook *highlight_hook_create(void);
extern void highlight_hook_destroy(struct highlight_hook *hook);
#endif