mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-16 22:07:09 +09:00
UpdateRules: add comment about the reason for signature match
This commit is contained in:
@@ -802,6 +802,8 @@ func (b *Buffer) UpdateRules() {
|
||||
if length > 0 {
|
||||
signatureMatch := false
|
||||
if length > 1 {
|
||||
// multiple matching syntax files found, try to resolve the ambiguity
|
||||
// using signatures
|
||||
detectlimit := util.IntOpt(b.Settings["detectlimit"])
|
||||
lineCount := len(b.lines)
|
||||
limit := lineCount
|
||||
|
||||
Reference in New Issue
Block a user