mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-10 01:21:02 +00:00
UpdateRules: add comment about the reason for signature match
This commit is contained in:
parent
6c3b5ad17c
commit
5492d30953
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue