]> git.xolatile.top Git - public-libhl.git/commitdiff
HLPATH notes
authoranon <anon@anon.anon>
Mon, 18 Sep 2023 20:52:29 +0000 (22:52 +0200)
committeranon <anon@anon.anon>
Mon, 18 Sep 2023 20:52:29 +0000 (22:52 +0200)
README.md

index d0787a0d0598d15faf854948a5b73851da3630a2..7527e83d77dcaed0ea2a91dd4995179f2b575c7b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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_.
 
+```C
+       #define HLPATH //?!
+```
+Coma separated list of directories to be searched for syntax scripts. `#undef` to disable it entirely.
+
 ```C
        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
 ```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
 ```
 
 ---