summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/duplicate-doc-param.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/core/diagnostics/duplicate-doc-param.lua')
-rw-r--r--script/core/diagnostics/duplicate-doc-param.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/duplicate-doc-param.lua b/script/core/diagnostics/duplicate-doc-param.lua
index 676a6fb4..b54c1978 100644
--- a/script/core/diagnostics/duplicate-doc-param.lua
+++ b/script/core/diagnostics/duplicate-doc-param.lua
@@ -2,7 +2,7 @@ local files = require 'files'
local lang = require 'language'
return function (uri, callback)
- local state = files.getAst(uri)
+ local state = files.getState(uri)
if not state then
return
end