mirror of
https://git.lain.church/emil/libhl.git
synced 2025-06-19 00:47:58 +00:00
HLPATH notes
This commit is contained in:
@ -14,6 +14,11 @@ These functions are responsible for the library's "life time".
|
|||||||
```
|
```
|
||||||
This function matches _string_ against all known highlighting rules and dispatches the appropriate callback depending on _mode_.
|
This function matches _string_ against all known highlighting rules and dispatches the appropriate callback depending on _mode_.
|
||||||
|
|
||||||
|
```C
|
||||||
|
#define HLPATH //?!
|
||||||
|
```
|
||||||
|
Coma separated list of directories to be searched for syntax scripts. `#undef` to disable it entirely.
|
||||||
|
|
||||||
```C
|
```C
|
||||||
typedef void (*attribute_callback_t)(const char * const string, const int length, void * const attributes);
|
typedef void (*attribute_callback_t)(const char * const string, const int length, void * const attributes);
|
||||||
```
|
```
|
||||||
@ -89,7 +94,8 @@ hl will read from stdin and write to stdout.
|
|||||||
|
|
||||||
### Environment variables
|
### Environment variables
|
||||||
```bash
|
```bash
|
||||||
$HLPATH : colon separated list of directories searched for syntax script files
|
$HLPATH : colon separated list of directories searched for syntax script files;
|
||||||
|
overriddes the value of the HLPATH macro
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Reference in New Issue
Block a user