mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 06:12:35 +09:00
options: Add capability to define the line count parsed for the signature check
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
Here are micro's syntax files.
|
||||
|
||||
Each yaml file specifies how to detect the filetype based on file extension or given signature. The signature can be matched to a maximum of 100 lines (to limit parse times) for a best "guess".
|
||||
Each yaml file specifies how to detect the filetype based on file extension or given signature. The signature can be matched to all available lines of the file or to the value defined with the option `detectlimit` (to limit parse times) for a best "guess".
|
||||
Then there are patterns and regions linked to highlight groups which tell micro how to highlight that filetype.
|
||||
|
||||
Making your own syntax files is very simple. I recommend you check the file after you are finished with the
|
||||
|
||||
Reference in New Issue
Block a user