ze
Loading...
Searching...
No Matches
Functions
syntax.h File Reference

Syntax highlighting engine and language selection. More...

#include "ze.h"
Include dependency graph for syntax.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int is_separator (int c)
 Determine whether a byte is a token separator for highlighting.
 
void editorUpdateSyntax (erow *row)
 Compute highlighting for a row based on current filetype.
 
int editorSyntaxToColor (int hl)
 Map a highlight class to an ANSI color code.
 
void editorSelectSyntaxHighlight (void)
 Select appropriate language rules based on E.filename.
 

Detailed Description

Syntax highlighting engine and language selection.