help/colors: remove "Syntax file headers" section

The section says that users may use their own .hdr files for their own
custom syntax files, which is simply not true.

As a matter of fact, .hdr files are an implementation detail that
doesn't need to be mentioned in the user documentation.
This commit is contained in:
Dmytro Maluka
2024-03-24 19:50:30 +01:00
parent c2c2b2addf
commit 1595c5ddda

View File

@@ -359,16 +359,3 @@ example, the following is possible for html:
rules:
- include: "css"
```
## Syntax file headers
Syntax file headers are an optimization and it is likely you do not need to
worry about them.
Syntax file headers are files that contain only the filetype and the detection
regular expressions for a given syntax file. They have a `.hdr` suffix and are
used by default only for the pre-installed syntax files. Header files allow
micro to parse the syntax files much faster when checking the filetype of a
certain file. Custom syntax files may provide header files in
`~/.config/micro/syntax` as well but it is not necessary (only do this if you
have many (100+) custom syntax files and want to improve performance).