Slightly speed up search and replace

This commit also adds a linter for literate
This commit is contained in:
Zachary Yedidia
2017-04-16 10:43:13 -04:00
parent 88c712b848
commit 8168a75bde
4 changed files with 13 additions and 21 deletions

View File

@@ -43,6 +43,8 @@ function runLinter()
lint("jshint", "jshint", {file}, "%f: line %l,.+, %m")
elseif ft == "nim" then
lint("nim", "nim", {"check", "--listFullPaths", "--stdout", "--hints:off", file}, "%f.%l, %d+. %m")
elseif string.match(ft, "literate") then
lint("literate", "lit", {"-c", file}, "%f:%l:%m")
end
end