mirror of
https://github.com/antonmedv/fx.git
synced 2024-10-26 20:24:05 +03:00
Skip 100mb files
This commit is contained in:
parent
38e9fea494
commit
287fd87794
@ -125,8 +125,8 @@ func doComplete(compLine string, compWord string) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// If input is bigger than 1MB, skip completion.
|
// If input is bigger than 100MB, skip completion.
|
||||||
if len(input) > 1024*1024 {
|
if len(input) > 100*1024*1024 {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user