ze
Loading...
Searching...
No Matches
syntax.h
Go to the documentation of this file.
1
8#pragma once
9
10#include "ze.h"
11
12int is_separator(int c);
13void editorUpdateSyntax(erow *row);
14int editorSyntaxToColor(int hl);
16
int editorSyntaxToColor(int hl)
Map a highlight class to an ANSI color code.
Definition syntax.c:268
void editorSelectSyntaxHighlight(void)
Select appropriate language rules based on E.filename.
Definition syntax.c:297
void editorUpdateSyntax(erow *row)
Compute highlighting for a row based on current filetype.
Definition syntax.c:143
int is_separator(int c)
Determine whether a byte is a token separator for highlighting.
Definition syntax.c:128
Definition ze.h:76
Core editor types, macros, and global state.