diff --git a/src/fennel-ls/lint.fnl b/src/fennel-ls/lint.fnl index c5db9ad..e29e8f0 100644 --- a/src/fennel-ls/lint.fnl +++ b/src/fennel-ls/lint.fnl @@ -62,7 +62,7 @@ the `file.diagnostics` field, filling it with diagnostics." (let [opts {} item (analyzer.search-ast server file ?ast stack opts)] (if (and (not item) - (file.lexical symbol) + (. file.lexical symbol) (not (in-or? file.calls symbol)) ;; this doesn't necessarily have to come thru require; it works ;; for built-in modules too