Small fixes
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
:hiddenFalsePositives (.. (vim.fn.stdpath "config") "/spell/false.txt")})
|
||||
|
||||
(fn file_exists [file] (let [f (io.open file "rb")]
|
||||
(match f nil (do (f.close f) false)
|
||||
_ true)))
|
||||
(match f nil false
|
||||
_ (do (f.close f) true))))
|
||||
|
||||
(fn lines_from [file] (match (file_exists file) false []
|
||||
true (let [lines []]
|
||||
|
||||
Reference in New Issue
Block a user