summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarsakiller <carsakiller@gmail.com>2024-05-25 03:51:04 +0000
committercarsakiller <carsakiller@gmail.com>2024-05-25 03:51:04 +0000
commitce40df78023814708c583f93d28fa0505a353047 (patch)
treeb7edaaa657346fd12de7409d3ba46f7cb80951b2
parent551cea65a306acdf8ec7ec841a3398b54fbade60 (diff)
downloadlua-language-server-ce40df78023814708c583f93d28fa0505a353047.zip
fix: restore completion order
-rw-r--r--script/core/completion/completion.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/completion/completion.lua b/script/core/completion/completion.lua
index e9257bea..5c55c16b 100644
--- a/script/core/completion/completion.lua
+++ b/script/core/completion/completion.lua
@@ -2357,8 +2357,8 @@ end
local function tryCompletions(state, position, triggerCharacter, results)
if getComment(state, position) then
trySymbolReference(state, position, results)
- tryComment(state, position, results)
tryLuaDoc(state, position, results)
+ tryComment(state, position, results)
return
end
if postfix(state, position, results) then