mirror of
https://github.com/helix-editor/helix
synced 2024-11-10 10:34:45 +01:00
12 lines
294 B
C
12 lines
294 B
C
#ifndef TREE_SITTER_ERROR_COSTS_H_
|
|
#define TREE_SITTER_ERROR_COSTS_H_
|
|
|
|
#define ERROR_STATE 0
|
|
#define ERROR_COST_PER_RECOVERY 500
|
|
#define ERROR_COST_PER_MISSING_TREE 110
|
|
#define ERROR_COST_PER_SKIPPED_TREE 100
|
|
#define ERROR_COST_PER_SKIPPED_LINE 30
|
|
#define ERROR_COST_PER_SKIPPED_CHAR 1
|
|
|
|
#endif
|