summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-02 21:24:46 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-02 21:24:46 +0800
commit7a3b9a09737473efd80ba0539374e4c177bb27e7 (patch)
treeaaa88295fc6eaf235664ce1e79ddd0deff34fea2 /script/proto
parentfbb038b568fffe8ddbf6946cd0f7d49a624b496a (diff)
downloadlua-language-server-7a3b9a09737473efd80ba0539374e4c177bb27e7.zip
not-yieldable
Diffstat (limited to 'script/proto')
-rw-r--r--script/proto/define.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/proto/define.lua b/script/proto/define.lua
index 2409f972..e4216be1 100644
--- a/script/proto/define.lua
+++ b/script/proto/define.lua
@@ -45,6 +45,7 @@ m.DiagnosticDefaultSeverity = {
['deprecated'] = 'Warning',
['different-requires'] = 'Warning',
['await-in-sync'] = 'Warning',
+ ['not-yieldable'] = 'Warning',
['type-check'] = 'Warning',
['duplicate-doc-class'] = 'Warning',
@@ -100,6 +101,7 @@ m.DiagnosticDefaultNeededFileStatus = {
['deprecated'] = 'Opened',
['different-requires'] = 'Any',
['await-in-sync'] = 'None',
+ ['not-yieldable'] = 'None',
['type-check'] = 'None',
['duplicate-doc-class'] = 'Any',