From 1595c5ddda3016fbae889fb7186e0095082bf4e6 Mon Sep 17 00:00:00 2001 From: Dmytro Maluka Date: Sun, 24 Mar 2024 19:50:30 +0100 Subject: [PATCH] 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. --- runtime/help/colors.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/runtime/help/colors.md b/runtime/help/colors.md index 80a877d7..ae1a1236 100644 --- a/runtime/help/colors.md +++ b/runtime/help/colors.md @@ -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).