@codingame/monaco-editor-wrapper 3.9.2 → 4.0.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (535) hide show
  1. package/dist/C2Hs-configuration.json.js +3 -0
  2. package/dist/C2Hs.json.js +3 -0
  3. package/dist/COBOL.tmLanguage.json.js +3 -0
  4. package/dist/Erlang.plist.js +2 -1751
  5. package/dist/Hsc2Hs-configuration.json.js +3 -0
  6. package/dist/Hsc2Hs.json.js +3 -0
  7. package/dist/JavaProperties.tmLanguage.json.js +3 -0
  8. package/dist/Kotlin.tmLanguage.js +2 -723
  9. package/dist/META.json.js +3 -0
  10. package/dist/META.json2.js +3 -0
  11. package/dist/Markdown Redcarpet.json.js +3 -0
  12. package/dist/RMarkdown.json.js +3 -0
  13. package/dist/Rcpp.json.js +3 -0
  14. package/dist/Rd (R Documentation).json.js +3 -0
  15. package/dist/Scala.tmLanguage.json.js +3 -0
  16. package/dist/_commonjsHelpers.js +35 -0
  17. package/dist/_rollupPluginBabelHelpers.js +1 -1
  18. package/dist/add.svg.js +3 -0
  19. package/dist/add.svg2.js +3 -0
  20. package/dist/adddep-dark.svg.js +3 -0
  21. package/dist/adddep-light.svg.js +3 -0
  22. package/dist/alex.json.js +3 -0
  23. package/dist/angular-directives.json.js +3 -0
  24. package/dist/angular-interpolations.json.js +3 -0
  25. package/dist/angular-template-language-configuration.json.js +3 -0
  26. package/dist/arrow-circle-up-dark.svg.js +3 -0
  27. package/dist/arrow-circle-up-light.svg.js +3 -0
  28. package/dist/aspnetcorerazor.tmLanguage.json.js +3 -0
  29. package/dist/atd.json.js +3 -0
  30. package/dist/book-dark.svg.js +3 -0
  31. package/dist/book-light.svg.js +3 -0
  32. package/dist/book-open-dark.svg.js +3 -0
  33. package/dist/book-open-light.svg.js +3 -0
  34. package/dist/buildtarget.json.js +3 -0
  35. package/dist/cabal-configuration.json.js +3 -0
  36. package/dist/cabal.json.js +3 -0
  37. package/dist/codeblock-cabal.json.js +3 -0
  38. package/dist/codeblock-haskell.json.js +3 -0
  39. package/dist/codeblock-literate-haskell.json.js +3 -0
  40. package/dist/codeblock.json.js +3 -0
  41. package/dist/codeblock.json2.js +3 -0
  42. package/dist/configuration/index.d.ts +0 -1
  43. package/dist/cram.json.js +3 -0
  44. package/dist/csharp.json.js +3 -0
  45. package/dist/css.worker.js +1 -1
  46. package/dist/d.json.js +3 -0
  47. package/dist/d.json2.js +3 -0
  48. package/dist/dart-language-configuration.json.js +3 -0
  49. package/dist/dart.json.js +3 -0
  50. package/dist/dcf-configuration.json.js +3 -0
  51. package/dist/dcf.json.js +3 -0
  52. package/dist/diet.json.js +3 -0
  53. package/dist/diet.json2.js +3 -0
  54. package/dist/diet.json3.js +3 -0
  55. package/dist/django-html.tmLanguage.json.js +3 -0
  56. package/dist/django-txt.tmLanguage.json.js +3 -0
  57. package/dist/dml.json.js +3 -0
  58. package/dist/document-search-dark.svg.js +3 -0
  59. package/dist/document-search-light.svg.js +3 -0
  60. package/dist/documentation-inverse.svg.js +3 -0
  61. package/dist/documentation.svg.js +3 -0
  62. package/dist/dub-convert-inverse.svg.js +3 -0
  63. package/dist/dub-convert.svg.js +3 -0
  64. package/dist/dune-project.json.js +3 -0
  65. package/dist/dune-project.json2.js +3 -0
  66. package/dist/dune-workspace.json.js +3 -0
  67. package/dist/dune.json.js +3 -0
  68. package/dist/dune.json2.js +3 -0
  69. package/dist/dune.json3.js +3 -0
  70. package/dist/edit-dub-inverse.svg.js +3 -0
  71. package/dist/edit-dub.svg.js +3 -0
  72. package/dist/edit-source-inverse.svg.js +3 -0
  73. package/dist/edit-source.svg.js +3 -0
  74. package/dist/eex-language-configuration.json.js +3 -0
  75. package/dist/eex.json.js +3 -0
  76. package/dist/elixir-language-configuration.json.js +3 -0
  77. package/dist/elixir.json.js +3 -0
  78. package/dist/erlang.configuration.json.js +3 -0
  79. package/dist/erlang.json.js +3 -0
  80. package/dist/expression.json.js +3 -0
  81. package/dist/extension-web.js.js +3 -0
  82. package/dist/extension-web.js2.js +3 -0
  83. package/dist/extension.browser.js.js +3 -0
  84. package/dist/extensions.d.ts +35 -0
  85. package/dist/features/htmlContribution.js +0 -1
  86. package/dist/features/jsonContribution.d.ts +2 -4
  87. package/dist/features/jsonContribution.js +10 -29
  88. package/dist/features/typescriptContribution.js +2 -2
  89. package/dist/file_type_java.svg.js +3 -0
  90. package/dist/file_type_scala.svg.js +3 -0
  91. package/dist/filters.json.js +3 -0
  92. package/dist/focus-dark.svg.js +3 -0
  93. package/dist/focus-light.svg.js +3 -0
  94. package/dist/general.json.js +3 -0
  95. package/dist/get-inverse.svg.js +3 -0
  96. package/dist/get.svg.js +3 -0
  97. package/dist/go.json.js +3 -0
  98. package/dist/go.mod.language-configuration.json.js +3 -0
  99. package/dist/go.mod.tmGrammar.json.js +3 -0
  100. package/dist/go.sum.tmGrammar.json.js +3 -0
  101. package/dist/govulncheck.tmGrammar.json.js +3 -0
  102. package/dist/happy.json.js +3 -0
  103. package/dist/haskell-configuration.json.js +3 -0
  104. package/dist/haskell.json.js +3 -0
  105. package/dist/hot-reload-tb.png.js +3 -0
  106. package/dist/hot-reload.svg.js +3 -0
  107. package/dist/html-eex.json.js +3 -0
  108. package/dist/html.worker.js +1 -1
  109. package/dist/index.d.ts +2 -3
  110. package/dist/index.js +9 -6
  111. package/dist/index2.js +2 -1351
  112. package/dist/inline-styles.json.js +3 -0
  113. package/dist/inline-template.json.js +3 -0
  114. package/dist/inspector.svg.js +3 -0
  115. package/dist/java-properties-configuration.json.js +3 -0
  116. package/dist/java.json.js +3 -0
  117. package/dist/javascript.json.js +3 -0
  118. package/dist/json.worker.js +1 -1
  119. package/dist/jvm-bytecode-verbose.json.js +3 -0
  120. package/dist/jvm-bytecode.json.js +3 -0
  121. package/dist/kotlin.configuration.json.js +3 -0
  122. package/dist/kotlin.json.js +3 -0
  123. package/dist/lang-config.json.js +3 -0
  124. package/dist/language-configuration.json.js +3 -0
  125. package/dist/language-configuration.json2.js +3 -0
  126. package/dist/language-configuration.json3.js +3 -0
  127. package/dist/language-configuration.json4.js +3 -0
  128. package/dist/language-configuration.json5.js +3 -0
  129. package/dist/language-configuration.json6.js +3 -0
  130. package/dist/language-configuration.json7.js +3 -0
  131. package/dist/language-configuration.json8.js +3 -0
  132. package/dist/languages/index.d.ts +0 -2
  133. package/dist/literate-haskell-configuration.json.js +3 -0
  134. package/dist/literateHaskell.json.js +3 -0
  135. package/dist/main.js +839 -3070
  136. package/dist/markdown-svelte-css.json.js +3 -0
  137. package/dist/markdown-svelte-js.json.js +3 -0
  138. package/dist/markdown-svelte.json.js +3 -0
  139. package/dist/menhir-action.json.js +3 -0
  140. package/dist/menhir.json.js +3 -0
  141. package/dist/menhir.json2.js +3 -0
  142. package/dist/merlin.json.js +3 -0
  143. package/dist/monaco.d.ts +6 -9
  144. package/dist/oasis.json.js +3 -0
  145. package/dist/oasis.json2.js +3 -0
  146. package/dist/ocaml-markdown-codeblock.json.js +3 -0
  147. package/dist/ocaml.interface.json.js +3 -0
  148. package/dist/ocaml.json.js +3 -0
  149. package/dist/ocaml.json2.js +3 -0
  150. package/dist/ocaml.json3.js +3 -0
  151. package/dist/ocamlbuild.json.js +3 -0
  152. package/dist/ocamlbuild.json2.js +3 -0
  153. package/dist/ocamldoc.json.js +3 -0
  154. package/dist/ocamlformat.json.js +3 -0
  155. package/dist/ocamlformat.json2.js +3 -0
  156. package/dist/ocamllex.json.js +3 -0
  157. package/dist/ocamllex.json2.js +3 -0
  158. package/dist/ocamllex.json3.js +3 -0
  159. package/dist/opam-install.json.js +3 -0
  160. package/dist/opam-install.json2.js +3 -0
  161. package/dist/opam.json.js +3 -0
  162. package/dist/opam.json2.js +3 -0
  163. package/dist/outdated-inverse.svg.js +3 -0
  164. package/dist/outdated.svg.js +3 -0
  165. package/dist/pascal.configuration.json.js +3 -0
  166. package/dist/pascal.json.js +3 -0
  167. package/dist/pascal.tmLanguage.js +2 -168
  168. package/dist/performance.svg.js +3 -0
  169. package/dist/pgsql.tmLanguage.js +2 -283
  170. package/dist/pip-requirements.json.js +3 -0
  171. package/dist/pip-requirements.tmLanguage.json.js +3 -0
  172. package/dist/plus-dark.svg.js +3 -0
  173. package/dist/plus-light.svg.js +3 -0
  174. package/dist/postcss.json.js +3 -0
  175. package/dist/preview-right-dark.svg.js +3 -0
  176. package/dist/preview-right-light.svg.js +3 -0
  177. package/dist/pug-svelte-dotblock.json.js +3 -0
  178. package/dist/pug-svelte-tags.json.js +3 -0
  179. package/dist/pug-svelte.json.js +3 -0
  180. package/dist/r-configuration.json.js +3 -0
  181. package/dist/r-snippets.json.js +3 -0
  182. package/dist/r.json.js +3 -0
  183. package/dist/rbuildignore-configuration.json.js +3 -0
  184. package/dist/rbuildignore.json.js +3 -0
  185. package/dist/rd-configuration.json.js +3 -0
  186. package/dist/reason-markdown-codeblock.json.js +3 -0
  187. package/dist/reason.json.js +3 -0
  188. package/dist/reason.json2.js +3 -0
  189. package/dist/ref-group-by-type-dark.svg.js +3 -0
  190. package/dist/ref-group-by-type-light.svg.js +3 -0
  191. package/dist/ref-ungroup-by-type-dark.svg.js +3 -0
  192. package/dist/ref-ungroup-by-type-light.svg.js +3 -0
  193. package/dist/refresh-dark.svg.js +3 -0
  194. package/dist/refresh-dark.svg2.js +3 -0
  195. package/dist/refresh-light.svg.js +3 -0
  196. package/dist/refresh-light.svg2.js +3 -0
  197. package/dist/repl.svg.js +3 -0
  198. package/dist/repl.svg2.js +3 -0
  199. package/dist/rmarkdown.json2.js +3 -0
  200. package/dist/rmd-configuration.json.js +3 -0
  201. package/dist/rnamespace-configuration.json.js +3 -0
  202. package/dist/rnamespace.json.js +3 -0
  203. package/dist/save.svg.js +3 -0
  204. package/dist/save.svg2.js +3 -0
  205. package/dist/scalameta-logo.png.js +3 -0
  206. package/dist/sdl.json.js +3 -0
  207. package/dist/semanticdb.json.js +3 -0
  208. package/dist/services.d.ts +4 -0
  209. package/dist/solidity.configuration.json.js +3 -0
  210. package/dist/solidity.json.js +3 -0
  211. package/dist/solidity.json2.js +3 -0
  212. package/dist/svelte.json.js +3 -0
  213. package/dist/svelte.tmLanguage.json.js +3 -0
  214. package/dist/switch-impl-intf.dark.svg.js +3 -0
  215. package/dist/switch-impl-intf.light.svg.js +3 -0
  216. package/dist/systemverilog.json.js +3 -0
  217. package/dist/systemverilog.tmLanguage.json.js +3 -0
  218. package/dist/tags.json.js +3 -0
  219. package/dist/tasty.json.js +3 -0
  220. package/dist/tcl.json.js +3 -0
  221. package/dist/tcl.json2.js +3 -0
  222. package/dist/template.json.js +3 -0
  223. package/dist/theme/index.d.ts +1 -4
  224. package/dist/tools/EditorOpenHandlerRegistry.d.ts +3 -2
  225. package/dist/ts.worker.js +1 -1
  226. package/dist/typescript.json.js +3 -0
  227. package/dist/upgrade-inverse.svg.js +3 -0
  228. package/dist/upgrade.svg.js +3 -0
  229. package/dist/vim.js +37 -36
  230. package/dist/vs2019_dark.json.js +3 -0
  231. package/dist/vs2019_light.json.js +3 -0
  232. package/dist/worker.js +14 -2
  233. package/dist/x-dark.svg.js +3 -0
  234. package/dist/x-light.svg.js +3 -0
  235. package/package.json +40 -42
  236. package/stats.html +90 -1429
  237. package/dist/COBOL.tmLanguage.js +0 -172
  238. package/dist/HTML (Eex)2.js +0 -100
  239. package/dist/JSON.tmLanguage.js +0 -221
  240. package/dist/JSONC.tmLanguage.js +0 -221
  241. package/dist/JavaProperties.tmLanguage.js +0 -116
  242. package/dist/JavaScript.tmLanguage.js +0 -5922
  243. package/dist/JavaScriptReact.tmLanguage.js +0 -5922
  244. package/dist/META.js +0 -100
  245. package/dist/MagicPython.tmLanguage.js +0 -4221
  246. package/dist/MagicRegExp.tmLanguage.js +0 -505
  247. package/dist/Markdown Redcarpet.js +0 -221
  248. package/dist/RMarkdown.js +0 -25
  249. package/dist/Rcpp.js +0 -50
  250. package/dist/Rd (R Documentation).js +0 -131
  251. package/dist/Regular Expressions (JavaScript).tmLanguage.js +0 -166
  252. package/dist/Scala.tmLanguage.js +0 -1291
  253. package/dist/TypeScript.tmLanguage.js +0 -5673
  254. package/dist/TypeScriptReact.tmLanguage.js +0 -5922
  255. package/dist/angular.js +0 -74
  256. package/dist/asp-vb-net.tmlanguage.js +0 -247
  257. package/dist/aspnetcorerazor.js +0 -72
  258. package/dist/aspnetcorerazor.tmLanguage.js +0 -1522
  259. package/dist/atd.js +0 -110
  260. package/dist/atd2.js +0 -114
  261. package/dist/buildignore.r.js +0 -5
  262. package/dist/buildtarget.js +0 -53
  263. package/dist/c.js +0 -101
  264. package/dist/c.tmLanguage.js +0 -3565
  265. package/dist/cabal.js +0 -10
  266. package/dist/cabal.tmLanguage.js +0 -66
  267. package/dist/clojure.js +0 -68
  268. package/dist/clojure.tmLanguage.js +0 -439
  269. package/dist/cobol.js +0 -6
  270. package/dist/cobol2.js +0 -337
  271. package/dist/codeblock-cabal.js +0 -42
  272. package/dist/codeblock-haskell.js +0 -42
  273. package/dist/codeblock-literate-haskell.js +0 -42
  274. package/dist/codeblock.js +0 -59
  275. package/dist/codeblock2.js +0 -36
  276. package/dist/codeblock3.js +0 -95
  277. package/dist/coffeescript-coffeescript.code-snippets.js +0 -18
  278. package/dist/coffeescript.js +0 -91
  279. package/dist/coffeescript.tmLanguage.js +0 -1324
  280. package/dist/configuration/files.d.ts +0 -6
  281. package/dist/cpp-c.code-snippets.js +0 -18
  282. package/dist/cpp-cpp.code-snippets.js +0 -18
  283. package/dist/cpp.js +0 -101
  284. package/dist/cpp.tmLanguage.js +0 -16485
  285. package/dist/cpptools.js +0 -2608
  286. package/dist/cram.js +0 -257
  287. package/dist/csharp.js +0 -92
  288. package/dist/csharp.tmLanguage.js +0 -4992
  289. package/dist/css.js +0 -106
  290. package/dist/css.tmLanguage.js +0 -1873
  291. package/dist/cuda-cpp.js +0 -101
  292. package/dist/cuda-cpp.tmLanguage.js +0 -19993
  293. package/dist/d-diet.js +0 -92
  294. package/dist/d.js +0 -3173
  295. package/dist/d2.js +0 -97
  296. package/dist/d3.js +0 -609
  297. package/dist/dart.js +0 -543
  298. package/dist/dart2.js +0 -103
  299. package/dist/dart3.js +0 -1124
  300. package/dist/dcf.js +0 -93
  301. package/dist/debian-control.r.js +0 -69
  302. package/dist/diet.js +0 -758
  303. package/dist/diet2.js +0 -100
  304. package/dist/django-html.js +0 -155
  305. package/dist/django-html.tmLanguage.js +0 -715
  306. package/dist/django-txt.js +0 -155
  307. package/dist/django-txt.tmLanguage.js +0 -269
  308. package/dist/dml.js +0 -169
  309. package/dist/dml2.js +0 -90
  310. package/dist/dockercompose.js +0 -82
  311. package/dist/dpp.js +0 -97
  312. package/dist/dscript.js +0 -90
  313. package/dist/dune-project.js +0 -481
  314. package/dist/dune-project2.js +0 -65
  315. package/dist/dune-workspace.js +0 -298
  316. package/dist/dune-workspace2.js +0 -65
  317. package/dist/dune.js +0 -2962
  318. package/dist/dune2.js +0 -65
  319. package/dist/eex.js +0 -55
  320. package/dist/elixir-snippets.js +0 -184
  321. package/dist/elixir.js +0 -2341
  322. package/dist/elixir2.js +0 -69
  323. package/dist/elixir3.js +0 -40
  324. package/dist/erlang-erlang.js +0 -195
  325. package/dist/erlang.js +0 -81
  326. package/dist/erlang2.js +0 -92
  327. package/dist/expression.js +0 -846
  328. package/dist/features/extensionConfigurations.d.ts +0 -1
  329. package/dist/features/extensionConfigurations.js +0 -44
  330. package/dist/fsharp-fsharp.code-snippets.js +0 -18
  331. package/dist/fsharp.js +0 -80
  332. package/dist/fsharp.tmLanguage.js +0 -1844
  333. package/dist/go.js +0 -103
  334. package/dist/go.mod.js +0 -8
  335. package/dist/go.mod.tmGrammar.js +0 -182
  336. package/dist/go.sum.tmGrammar.js +0 -55
  337. package/dist/go.tmLanguage.js +0 -1025
  338. package/dist/go.work.js +0 -8
  339. package/dist/govulncheck.tmGrammar.js +0 -138
  340. package/dist/groovy-groovy.code-snippets.js +0 -229
  341. package/dist/groovy.js +0 -79
  342. package/dist/groovy.tmLanguage.js +0 -1391
  343. package/dist/haskell.js +0 -88
  344. package/dist/haskell.tmLanguage.js +0 -629
  345. package/dist/haskell2.js +0 -16
  346. package/dist/html (eex).js +0 -31
  347. package/dist/html-derivative.tmLanguage.js +0 -57
  348. package/dist/html-html.code-snippets.js +0 -20
  349. package/dist/html.js +0 -11
  350. package/dist/html.tmLanguage.js +0 -2652
  351. package/dist/html.tmLanguage2.js +0 -107
  352. package/dist/inline-styles.js +0 -104
  353. package/dist/inline-template.js +0 -88
  354. package/dist/jade.js +0 -11
  355. package/dist/java-java.js +0 -125
  356. package/dist/java-properties.js +0 -73
  357. package/dist/java.js +0 -95
  358. package/dist/java.tmLanguage.js +0 -1863
  359. package/dist/java2.js +0 -888
  360. package/dist/javascript-javascript.code-snippets.js +0 -205
  361. package/dist/javascript.js +0 -197
  362. package/dist/javascriptreact.js +0 -197
  363. package/dist/jsdoc.js.injection.tmLanguage.js +0 -32
  364. package/dist/jsdoc.ts.injection.tmLanguage.js +0 -32
  365. package/dist/json.js +0 -75
  366. package/dist/jsonc.js +0 -75
  367. package/dist/jsx-tags.js +0 -158
  368. package/dist/jvm-bytecode-verbose.js +0 -1231
  369. package/dist/jvm-bytecode.js +0 -565
  370. package/dist/kotlin-kotlin.js +0 -117
  371. package/dist/kotlin.js +0 -103
  372. package/dist/kotlinscript.js +0 -103
  373. package/dist/languages/extensions/extensionConfigurationLoader.d.ts +0 -3
  374. package/dist/languages/extensions/grammarLoader.d.ts +0 -2
  375. package/dist/languages/extensions/languageConfigurationLoader.d.ts +0 -2
  376. package/dist/languages/extensions/snippetLoader.d.ts +0 -2
  377. package/dist/languages/extensions/themeLoader.d.ts +0 -2
  378. package/dist/languages/snippets/index.d.ts +0 -1
  379. package/dist/languages/textMate/index.d.ts +0 -1
  380. package/dist/languages/textMate/semanticTokens.d.ts +0 -1
  381. package/dist/literate haskell.js +0 -88
  382. package/dist/literateHaskell.tmLanguage.js +0 -70
  383. package/dist/lua.js +0 -84
  384. package/dist/lua.tmLanguage.js +0 -906
  385. package/dist/lua2.js +0 -2859
  386. package/dist/markdown-basics-markdown.code-snippets.js +0 -121
  387. package/dist/markdown-svelte-css.js +0 -37
  388. package/dist/markdown-svelte-js.js +0 -37
  389. package/dist/markdown-svelte.js +0 -59
  390. package/dist/markdown-vue.js +0 -54
  391. package/dist/markdown.js +0 -49
  392. package/dist/markdown.tmLanguage.js +0 -3006
  393. package/dist/menhir-action.js +0 -51
  394. package/dist/menhir.js +0 -597
  395. package/dist/merlin.js +0 -111
  396. package/dist/namespace.r.js +0 -88
  397. package/dist/oasis.js +0 -99
  398. package/dist/objective-c.js +0 -79
  399. package/dist/objective-c.tmLanguage.js +0 -3763
  400. package/dist/objective-cpp.js +0 -79
  401. package/dist/ocaml-dune-project.js +0 -38
  402. package/dist/ocaml-dune.js +0 -53
  403. package/dist/ocaml-markdown-codeblock.js +0 -42
  404. package/dist/ocaml-ocaml.js +0 -88
  405. package/dist/ocaml-ocamllex.js +0 -12
  406. package/dist/ocaml.META.js +0 -29
  407. package/dist/ocaml.interface.js +0 -292
  408. package/dist/ocaml.interface2.js +0 -114
  409. package/dist/ocaml.js +0 -903
  410. package/dist/ocaml.menhir.js +0 -81
  411. package/dist/ocaml.oasis.js +0 -18
  412. package/dist/ocaml.ocamlbuild.js +0 -45
  413. package/dist/ocaml.ocamlformat.js +0 -8
  414. package/dist/ocaml.ocamllex.js +0 -60
  415. package/dist/ocaml.opam-install.js +0 -49
  416. package/dist/ocaml.opam.js +0 -69
  417. package/dist/ocaml2.js +0 -114
  418. package/dist/ocaml3.js +0 -136
  419. package/dist/ocamlbuild.js +0 -189
  420. package/dist/ocamldoc.js +0 -54
  421. package/dist/ocamlformat.js +0 -206
  422. package/dist/ocamllex.js +0 -133
  423. package/dist/omnisharp-csharp.js +0 -508
  424. package/dist/omnisharp.js +0 -590
  425. package/dist/opam-install.js +0 -40
  426. package/dist/opam.js +0 -140
  427. package/dist/pascal-pascal.js +0 -382
  428. package/dist/pascal.js +0 -80
  429. package/dist/pascal2.js +0 -26
  430. package/dist/perl.js +0 -93
  431. package/dist/perl.tmLanguage.js +0 -2986
  432. package/dist/perl6.js +0 -86
  433. package/dist/perl6.tmLanguage.js +0 -323
  434. package/dist/php-php.code-snippets.js +0 -267
  435. package/dist/php.js +0 -154
  436. package/dist/php.tmLanguage.js +0 -4008
  437. package/dist/pip-requirements.js +0 -8
  438. package/dist/pip-requirements.tmLanguage.js +0 -89
  439. package/dist/plaintext.js +0 -11
  440. package/dist/platform.tmLanguage.js +0 -1135
  441. package/dist/postcss.src.yaml.js +0 -393
  442. package/dist/postgres.js +0 -80
  443. package/dist/postgresql.js +0 -75
  444. package/dist/powershell.js +0 -107
  445. package/dist/powershell.tmLanguage.js +0 -1037
  446. package/dist/pug-svelte-dotblock.js +0 -69
  447. package/dist/pug-svelte-tags.js +0 -215
  448. package/dist/pug-svelte.js +0 -307
  449. package/dist/python.js +0 -236
  450. package/dist/r.js +0 -664
  451. package/dist/r2.js +0 -88
  452. package/dist/rbuildignore.js +0 -39
  453. package/dist/rd.js +0 -81
  454. package/dist/reason-markdown-codeblock.js +0 -42
  455. package/dist/reason.js +0 -79
  456. package/dist/rmd.js +0 -84
  457. package/dist/rnamespace.js +0 -283
  458. package/dist/ruby.js +0 -95
  459. package/dist/ruby.tmLanguage.js +0 -2784
  460. package/dist/rust.js +0 -84
  461. package/dist/rust.tmLanguage.js +0 -1178
  462. package/dist/sassdoc.tmLanguage.js +0 -362
  463. package/dist/scala.js +0 -85
  464. package/dist/scalameta.js +0 -223
  465. package/dist/scss.js +0 -117
  466. package/dist/scss.tmLanguage.js +0 -1887
  467. package/dist/sdl.js +0 -162
  468. package/dist/sdl2.js +0 -90
  469. package/dist/semanticdb.js +0 -62
  470. package/dist/shell-unix-bash.tmLanguage.js +0 -2016
  471. package/dist/shellscript.js +0 -93
  472. package/dist/solargraph.js +0 -192
  473. package/dist/solidity-solidity.js +0 -213
  474. package/dist/solidity.js +0 -1187
  475. package/dist/solidity2.js +0 -71
  476. package/dist/solidity3.js +0 -137
  477. package/dist/sql.js +0 -99
  478. package/dist/sql.tmLanguage.js +0 -636
  479. package/dist/svelte.js +0 -120
  480. package/dist/svelte.svelte-vscode-javascript.js +0 -45
  481. package/dist/svelte.svelte-vscode-svelte.js +0 -46
  482. package/dist/svelte.svelte-vscode-typescript.js +0 -43
  483. package/dist/svelte.svelte-vscode.js +0 -383
  484. package/dist/svelte.tmLanguage.src.yaml.js +0 -1099
  485. package/dist/svlangserver-systemverilog.js +0 -395
  486. package/dist/svlangserver.js +0 -85
  487. package/dist/swift-swift.code-snippets.js +0 -183
  488. package/dist/swift.js +0 -90
  489. package/dist/swift.tmLanguage.js +0 -3312
  490. package/dist/systemverilog.js +0 -187
  491. package/dist/systemverilog.tmLanguage.js +0 -1259
  492. package/dist/tasty.js +0 -72
  493. package/dist/tcl-tcl.js +0 -151
  494. package/dist/tcl.js +0 -78
  495. package/dist/tcl.tmlanguage.yaml.js +0 -5484
  496. package/dist/template.js +0 -207
  497. package/dist/theme-defaults~dark_plus.js +0 -207
  498. package/dist/theme-defaults~dark_plus_experimental.js +0 -146
  499. package/dist/theme-defaults~dark_vs.js +0 -412
  500. package/dist/theme-defaults~hc_black.js +0 -471
  501. package/dist/theme-defaults~hc_light.js +0 -595
  502. package/dist/theme-defaults~light_plus.js +0 -209
  503. package/dist/theme-defaults~light_plus_experimental.js +0 -159
  504. package/dist/theme-defaults~light_vs.js +0 -441
  505. package/dist/typescript-basics-typescript.code-snippets.js +0 -313
  506. package/dist/typescript-language-features.js +0 -1090
  507. package/dist/typescript.js +0 -216
  508. package/dist/typescriptreact.js +0 -216
  509. package/dist/vb-vb.code-snippets.js +0 -88
  510. package/dist/vb.js +0 -79
  511. package/dist/verilog.js +0 -187
  512. package/dist/volar-vue.js +0 -343
  513. package/dist/vscode-R-r-snippets.js +0 -534
  514. package/dist/vscode-R-rmarkdown.js +0 -461
  515. package/dist/vscode-R.js +0 -648
  516. package/dist/vscode-django-filters.js +0 -340
  517. package/dist/vscode-django.js +0 -37
  518. package/dist/vscode-go-go.js +0 -276
  519. package/dist/vscode-go.js +0 -1604
  520. package/dist/vscode-groovy.js +0 -28
  521. package/dist/vscode-python.js +0 -686
  522. package/dist/vue-directives.js +0 -25
  523. package/dist/vue-interpolations.js +0 -25
  524. package/dist/vue-sfc-style-variable-injection.js +0 -63
  525. package/dist/vue.js +0 -151
  526. package/dist/vue.tmLanguage.js +0 -1218
  527. package/dist/xml.js +0 -116
  528. package/dist/xml.tmLanguage.js +0 -395
  529. package/dist/xsl.js +0 -39
  530. package/dist/xsl.tmLanguage.js +0 -102
  531. package/dist/yaml.js +0 -82
  532. package/dist/yaml.tmLanguage.js +0 -629
  533. /package/dist/{extensions → editor}/autofold.d.ts +0 -0
  534. /package/dist/{extensions → editor}/cobol.d.ts +0 -0
  535. /package/dist/{extensions → editor}/index.d.ts +0 -0
package/dist/lua2.js DELETED
@@ -1,2859 +0,0 @@
1
- var lua = [
2
- {
3
- "properties": {
4
- "Lua.codeLens.enable": {
5
- "default": false,
6
- "markdownDescription": "Enable code lens.",
7
- "scope": 4,
8
- "type": "boolean"
9
- },
10
- "Lua.completion.autoRequire": {
11
- "default": true,
12
- "markdownDescription": "When the input looks like a file name, automatically `require` this file.",
13
- "scope": 4,
14
- "type": "boolean"
15
- },
16
- "Lua.completion.callSnippet": {
17
- "default": "Disable",
18
- "enum": [
19
- "Disable",
20
- "Both",
21
- "Replace"
22
- ],
23
- "markdownDescription": "Shows function call snippets.",
24
- "markdownEnumDescriptions": [
25
- "Only shows `function name`.",
26
- "Shows `function name` and `call snippet`.",
27
- "Only shows `call snippet.`"
28
- ],
29
- "scope": 4,
30
- "type": "string"
31
- },
32
- "Lua.completion.displayContext": {
33
- "default": 0,
34
- "markdownDescription": "Previewing the relevant code snippet of the suggestion may help you understand the usage of the suggestion. The number set indicates the number of intercepted lines in the code fragment. If it is set to `0`, this feature can be disabled.",
35
- "scope": 4,
36
- "type": "integer"
37
- },
38
- "Lua.completion.enable": {
39
- "default": true,
40
- "markdownDescription": "Enable completion.",
41
- "scope": 4,
42
- "type": "boolean"
43
- },
44
- "Lua.completion.keywordSnippet": {
45
- "default": "Replace",
46
- "enum": [
47
- "Disable",
48
- "Both",
49
- "Replace"
50
- ],
51
- "markdownDescription": "Shows keyword syntax snippets.",
52
- "markdownEnumDescriptions": [
53
- "Only shows `keyword`.",
54
- "Shows `keyword` and `syntax snippet`.",
55
- "Only shows `syntax snippet`."
56
- ],
57
- "scope": 4,
58
- "type": "string"
59
- },
60
- "Lua.completion.postfix": {
61
- "default": "@",
62
- "markdownDescription": "The symbol used to trigger the postfix suggestion.",
63
- "scope": 4,
64
- "type": "string"
65
- },
66
- "Lua.completion.requireSeparator": {
67
- "default": ".",
68
- "markdownDescription": "The separator used when `require`.",
69
- "scope": 4,
70
- "type": "string"
71
- },
72
- "Lua.completion.showParams": {
73
- "default": true,
74
- "markdownDescription": "Display parameters in completion list. When the function has multiple definitions, they will be displayed separately.",
75
- "scope": 4,
76
- "type": "boolean"
77
- },
78
- "Lua.completion.showWord": {
79
- "default": "Fallback",
80
- "enum": [
81
- "Enable",
82
- "Fallback",
83
- "Disable"
84
- ],
85
- "markdownDescription": "Show contextual words in suggestions.",
86
- "markdownEnumDescriptions": [
87
- "Always show context words in suggestions.",
88
- "Contextual words are only displayed when suggestions based on semantics cannot be provided.",
89
- "Do not display context words."
90
- ],
91
- "scope": 4,
92
- "type": "string"
93
- },
94
- "Lua.completion.workspaceWord": {
95
- "default": true,
96
- "markdownDescription": "Whether the displayed context word contains the content of other files in the workspace.",
97
- "scope": 4,
98
- "type": "boolean"
99
- },
100
- "Lua.diagnostics.disable": {
101
- "default": [],
102
- "items": {
103
- "enum": [
104
- "action-after-return",
105
- "ambiguity-1",
106
- "ambiguous-syntax",
107
- "args-after-dots",
108
- "assign-type-mismatch",
109
- "await-in-sync",
110
- "block-after-else",
111
- "break-outside",
112
- "cast-local-type",
113
- "cast-type-mismatch",
114
- "circle-doc-class",
115
- "close-non-object",
116
- "code-after-break",
117
- "codestyle-check",
118
- "count-down-loop",
119
- "deprecated",
120
- "different-requires",
121
- "discard-returns",
122
- "doc-field-no-class",
123
- "duplicate-doc-alias",
124
- "duplicate-doc-field",
125
- "duplicate-doc-param",
126
- "duplicate-index",
127
- "duplicate-set-field",
128
- "empty-block",
129
- "err-assign-as-eq",
130
- "err-c-long-comment",
131
- "err-comment-prefix",
132
- "err-do-as-then",
133
- "err-eq-as-assign",
134
- "err-esc",
135
- "err-nonstandard-symbol",
136
- "err-then-as-do",
137
- "exp-in-action",
138
- "global-in-nil-env",
139
- "index-in-func-name",
140
- "invisible",
141
- "jump-local-scope",
142
- "keyword",
143
- "local-limit",
144
- "lowercase-global",
145
- "lua-doc-miss-sign",
146
- "luadoc-error-diag-mode",
147
- "luadoc-miss-alias-extends",
148
- "luadoc-miss-alias-name",
149
- "luadoc-miss-arg-name",
150
- "luadoc-miss-cate-name",
151
- "luadoc-miss-class-extends-name",
152
- "luadoc-miss-class-name",
153
- "luadoc-miss-diag-mode",
154
- "luadoc-miss-diag-name",
155
- "luadoc-miss-field-extends",
156
- "luadoc-miss-field-name",
157
- "luadoc-miss-fun-after-overload",
158
- "luadoc-miss-generic-name",
159
- "luadoc-miss-local-name",
160
- "luadoc-miss-module-name",
161
- "luadoc-miss-operator-name",
162
- "luadoc-miss-param-extends",
163
- "luadoc-miss-param-name",
164
- "luadoc-miss-see-name",
165
- "luadoc-miss-sign-name",
166
- "luadoc-miss-symbol",
167
- "luadoc-miss-type-name",
168
- "luadoc-miss-vararg-type",
169
- "luadoc-miss-version",
170
- "malformed-number",
171
- "miss-end",
172
- "miss-esc-x",
173
- "miss-exp",
174
- "miss-exponent",
175
- "miss-field",
176
- "miss-loop-max",
177
- "miss-loop-min",
178
- "miss-method",
179
- "miss-name",
180
- "miss-sep-in-table",
181
- "miss-space-between",
182
- "miss-symbol",
183
- "missing-parameter",
184
- "missing-return",
185
- "missing-return-value",
186
- "need-check-nil",
187
- "need-paren",
188
- "nesting-long-mark",
189
- "newfield-call",
190
- "newline-call",
191
- "no-unknown",
192
- "no-visible-label",
193
- "not-yieldable",
194
- "param-type-mismatch",
195
- "redefined-label",
196
- "redefined-local",
197
- "redundant-parameter",
198
- "redundant-return",
199
- "redundant-return-value",
200
- "redundant-value",
201
- "return-type-mismatch",
202
- "set-const",
203
- "spell-check",
204
- "trailing-space",
205
- "unbalanced-assignments",
206
- "undefined-doc-class",
207
- "undefined-doc-name",
208
- "undefined-doc-param",
209
- "undefined-env-child",
210
- "undefined-field",
211
- "undefined-global",
212
- "unexpect-dots",
213
- "unexpect-efunc-name",
214
- "unexpect-lfunc-name",
215
- "unexpect-symbol",
216
- "unicode-name",
217
- "unknown-attribute",
218
- "unknown-cast-variable",
219
- "unknown-diag-code",
220
- "unknown-operator",
221
- "unknown-symbol",
222
- "unreachable-code",
223
- "unsupport-symbol",
224
- "unused-function",
225
- "unused-label",
226
- "unused-local",
227
- "unused-vararg"
228
- ],
229
- "type": "string"
230
- },
231
- "markdownDescription": "Disabled diagnostic (Use code in hover brackets).",
232
- "scope": 4,
233
- "type": "array"
234
- },
235
- "Lua.diagnostics.disableScheme": {
236
- "default": [
237
- "git"
238
- ],
239
- "items": {
240
- "type": "string"
241
- },
242
- "markdownDescription": "Do not diagnose Lua files that use the following scheme.",
243
- "scope": 4,
244
- "type": "array"
245
- },
246
- "Lua.diagnostics.enable": {
247
- "default": true,
248
- "markdownDescription": "Enable diagnostics.",
249
- "scope": 4,
250
- "type": "boolean"
251
- },
252
- "Lua.diagnostics.globals": {
253
- "default": [],
254
- "items": {
255
- "type": "string"
256
- },
257
- "markdownDescription": "Defined global variables.",
258
- "scope": 4,
259
- "type": "array"
260
- },
261
- "Lua.diagnostics.groupFileStatus": {
262
- "additionalProperties": false,
263
- "markdownDescription": "Modify the diagnostic needed file status in a group.\n\n* Opened: only diagnose opened files\n* Any: diagnose all files\n* None: disable this diagnostic\n\n`Fallback` means that diagnostics in this group are controlled by `diagnostics.neededFileStatus` separately.\nOther settings will override individual settings without end of `!`.\n",
264
- "properties": {
265
- "ambiguity": {
266
- "default": "Fallback",
267
- "description": "* ambiguity-1\n* count-down-loop\n* different-requires\n* newfield-call\n* newline-call",
268
- "enum": [
269
- "Any",
270
- "Opened",
271
- "None",
272
- "Fallback"
273
- ],
274
- "type": "string"
275
- },
276
- "await": {
277
- "default": "Fallback",
278
- "description": "* await-in-sync\n* not-yieldable",
279
- "enum": [
280
- "Any",
281
- "Opened",
282
- "None",
283
- "Fallback"
284
- ],
285
- "type": "string"
286
- },
287
- "codestyle": {
288
- "default": "Fallback",
289
- "description": "* codestyle-check\n* spell-check",
290
- "enum": [
291
- "Any",
292
- "Opened",
293
- "None",
294
- "Fallback"
295
- ],
296
- "type": "string"
297
- },
298
- "duplicate": {
299
- "default": "Fallback",
300
- "description": "* duplicate-index\n* duplicate-set-field",
301
- "enum": [
302
- "Any",
303
- "Opened",
304
- "None",
305
- "Fallback"
306
- ],
307
- "type": "string"
308
- },
309
- "global": {
310
- "default": "Fallback",
311
- "description": "* global-in-nil-env\n* lowercase-global\n* undefined-env-child\n* undefined-global",
312
- "enum": [
313
- "Any",
314
- "Opened",
315
- "None",
316
- "Fallback"
317
- ],
318
- "type": "string"
319
- },
320
- "luadoc": {
321
- "default": "Fallback",
322
- "description": "* circle-doc-class\n* doc-field-no-class\n* duplicate-doc-alias\n* duplicate-doc-field\n* duplicate-doc-param\n* undefined-doc-class\n* undefined-doc-name\n* undefined-doc-param\n* unknown-cast-variable\n* unknown-diag-code\n* unknown-operator",
323
- "enum": [
324
- "Any",
325
- "Opened",
326
- "None",
327
- "Fallback"
328
- ],
329
- "type": "string"
330
- },
331
- "redefined": {
332
- "default": "Fallback",
333
- "description": "* redefined-local",
334
- "enum": [
335
- "Any",
336
- "Opened",
337
- "None",
338
- "Fallback"
339
- ],
340
- "type": "string"
341
- },
342
- "strict": {
343
- "default": "Fallback",
344
- "description": "* close-non-object\n* deprecated\n* discard-returns\n* invisible",
345
- "enum": [
346
- "Any",
347
- "Opened",
348
- "None",
349
- "Fallback"
350
- ],
351
- "type": "string"
352
- },
353
- "strong": {
354
- "default": "Fallback",
355
- "description": "* no-unknown",
356
- "enum": [
357
- "Any",
358
- "Opened",
359
- "None",
360
- "Fallback"
361
- ],
362
- "type": "string"
363
- },
364
- "type-check": {
365
- "default": "Fallback",
366
- "description": "* assign-type-mismatch\n* cast-local-type\n* cast-type-mismatch\n* need-check-nil\n* param-type-mismatch\n* return-type-mismatch\n* undefined-field",
367
- "enum": [
368
- "Any",
369
- "Opened",
370
- "None",
371
- "Fallback"
372
- ],
373
- "type": "string"
374
- },
375
- "unbalanced": {
376
- "default": "Fallback",
377
- "description": "* missing-parameter\n* missing-return\n* missing-return-value\n* redundant-parameter\n* redundant-return-value\n* redundant-value\n* unbalanced-assignments",
378
- "enum": [
379
- "Any",
380
- "Opened",
381
- "None",
382
- "Fallback"
383
- ],
384
- "type": "string"
385
- },
386
- "unused": {
387
- "default": "Fallback",
388
- "description": "* code-after-break\n* empty-block\n* redundant-return\n* trailing-space\n* unreachable-code\n* unused-function\n* unused-label\n* unused-local\n* unused-vararg",
389
- "enum": [
390
- "Any",
391
- "Opened",
392
- "None",
393
- "Fallback"
394
- ],
395
- "type": "string"
396
- }
397
- },
398
- "scope": 4,
399
- "title": "groupFileStatus",
400
- "type": "object"
401
- },
402
- "Lua.diagnostics.groupSeverity": {
403
- "additionalProperties": false,
404
- "markdownDescription": "Modify the diagnostic severity in a group.\n`Fallback` means that diagnostics in this group are controlled by `diagnostics.severity` separately.\nOther settings will override individual settings without end of `!`.\n",
405
- "properties": {
406
- "ambiguity": {
407
- "default": "Fallback",
408
- "description": "* ambiguity-1\n* count-down-loop\n* different-requires\n* newfield-call\n* newline-call",
409
- "enum": [
410
- "Error",
411
- "Warning",
412
- "Information",
413
- "Hint",
414
- "Fallback"
415
- ],
416
- "type": "string"
417
- },
418
- "await": {
419
- "default": "Fallback",
420
- "description": "* await-in-sync\n* not-yieldable",
421
- "enum": [
422
- "Error",
423
- "Warning",
424
- "Information",
425
- "Hint",
426
- "Fallback"
427
- ],
428
- "type": "string"
429
- },
430
- "codestyle": {
431
- "default": "Fallback",
432
- "description": "* codestyle-check\n* spell-check",
433
- "enum": [
434
- "Error",
435
- "Warning",
436
- "Information",
437
- "Hint",
438
- "Fallback"
439
- ],
440
- "type": "string"
441
- },
442
- "duplicate": {
443
- "default": "Fallback",
444
- "description": "* duplicate-index\n* duplicate-set-field",
445
- "enum": [
446
- "Error",
447
- "Warning",
448
- "Information",
449
- "Hint",
450
- "Fallback"
451
- ],
452
- "type": "string"
453
- },
454
- "global": {
455
- "default": "Fallback",
456
- "description": "* global-in-nil-env\n* lowercase-global\n* undefined-env-child\n* undefined-global",
457
- "enum": [
458
- "Error",
459
- "Warning",
460
- "Information",
461
- "Hint",
462
- "Fallback"
463
- ],
464
- "type": "string"
465
- },
466
- "luadoc": {
467
- "default": "Fallback",
468
- "description": "* circle-doc-class\n* doc-field-no-class\n* duplicate-doc-alias\n* duplicate-doc-field\n* duplicate-doc-param\n* undefined-doc-class\n* undefined-doc-name\n* undefined-doc-param\n* unknown-cast-variable\n* unknown-diag-code\n* unknown-operator",
469
- "enum": [
470
- "Error",
471
- "Warning",
472
- "Information",
473
- "Hint",
474
- "Fallback"
475
- ],
476
- "type": "string"
477
- },
478
- "redefined": {
479
- "default": "Fallback",
480
- "description": "* redefined-local",
481
- "enum": [
482
- "Error",
483
- "Warning",
484
- "Information",
485
- "Hint",
486
- "Fallback"
487
- ],
488
- "type": "string"
489
- },
490
- "strict": {
491
- "default": "Fallback",
492
- "description": "* close-non-object\n* deprecated\n* discard-returns\n* invisible",
493
- "enum": [
494
- "Error",
495
- "Warning",
496
- "Information",
497
- "Hint",
498
- "Fallback"
499
- ],
500
- "type": "string"
501
- },
502
- "strong": {
503
- "default": "Fallback",
504
- "description": "* no-unknown",
505
- "enum": [
506
- "Error",
507
- "Warning",
508
- "Information",
509
- "Hint",
510
- "Fallback"
511
- ],
512
- "type": "string"
513
- },
514
- "type-check": {
515
- "default": "Fallback",
516
- "description": "* assign-type-mismatch\n* cast-local-type\n* cast-type-mismatch\n* need-check-nil\n* param-type-mismatch\n* return-type-mismatch\n* undefined-field",
517
- "enum": [
518
- "Error",
519
- "Warning",
520
- "Information",
521
- "Hint",
522
- "Fallback"
523
- ],
524
- "type": "string"
525
- },
526
- "unbalanced": {
527
- "default": "Fallback",
528
- "description": "* missing-parameter\n* missing-return\n* missing-return-value\n* redundant-parameter\n* redundant-return-value\n* redundant-value\n* unbalanced-assignments",
529
- "enum": [
530
- "Error",
531
- "Warning",
532
- "Information",
533
- "Hint",
534
- "Fallback"
535
- ],
536
- "type": "string"
537
- },
538
- "unused": {
539
- "default": "Fallback",
540
- "description": "* code-after-break\n* empty-block\n* redundant-return\n* trailing-space\n* unreachable-code\n* unused-function\n* unused-label\n* unused-local\n* unused-vararg",
541
- "enum": [
542
- "Error",
543
- "Warning",
544
- "Information",
545
- "Hint",
546
- "Fallback"
547
- ],
548
- "type": "string"
549
- }
550
- },
551
- "scope": 4,
552
- "title": "groupSeverity",
553
- "type": "object"
554
- },
555
- "Lua.diagnostics.ignoredFiles": {
556
- "default": "Opened",
557
- "enum": [
558
- "Enable",
559
- "Opened",
560
- "Disable"
561
- ],
562
- "markdownDescription": "How to diagnose ignored files.",
563
- "markdownEnumDescriptions": [
564
- "Always diagnose these files.",
565
- "Only when these files are opened will it be diagnosed.",
566
- "These files are not diagnosed."
567
- ],
568
- "scope": 4,
569
- "type": "string"
570
- },
571
- "Lua.diagnostics.libraryFiles": {
572
- "default": "Opened",
573
- "enum": [
574
- "Enable",
575
- "Opened",
576
- "Disable"
577
- ],
578
- "markdownDescription": "How to diagnose files loaded via `Lua.workspace.library`.",
579
- "markdownEnumDescriptions": [
580
- "Always diagnose these files.",
581
- "Only when these files are opened will it be diagnosed.",
582
- "These files are not diagnosed."
583
- ],
584
- "scope": 4,
585
- "type": "string"
586
- },
587
- "Lua.diagnostics.neededFileStatus": {
588
- "additionalProperties": false,
589
- "markdownDescription": "* Opened: only diagnose opened files\n* Any: diagnose all files\n* None: disable this diagnostic\n\nEnd with `!` means override the group setting `diagnostics.groupFileStatus`.\n",
590
- "properties": {
591
- "ambiguity-1": {
592
- "default": "Any",
593
- "description": "Enable ambiguous operator precedence diagnostics. For example, the `num or 0 + 1` expression will be suggested `(num or 0) + 1` instead.",
594
- "enum": [
595
- "Any",
596
- "Opened",
597
- "None",
598
- "Any!",
599
- "Opened!",
600
- "None!"
601
- ],
602
- "type": "string"
603
- },
604
- "assign-type-mismatch": {
605
- "default": "Opened",
606
- "description": "Enable diagnostics for assignments in which the value's type does not match the type of the assigned variable.",
607
- "enum": [
608
- "Any",
609
- "Opened",
610
- "None",
611
- "Any!",
612
- "Opened!",
613
- "None!"
614
- ],
615
- "type": "string"
616
- },
617
- "await-in-sync": {
618
- "default": "None",
619
- "description": "Enable diagnostics for calls of asynchronous functions within a synchronous function.",
620
- "enum": [
621
- "Any",
622
- "Opened",
623
- "None",
624
- "Any!",
625
- "Opened!",
626
- "None!"
627
- ],
628
- "type": "string"
629
- },
630
- "cast-local-type": {
631
- "default": "Opened",
632
- "description": "Enable diagnostics for casts of local variables where the target type does not match the defined type.",
633
- "enum": [
634
- "Any",
635
- "Opened",
636
- "None",
637
- "Any!",
638
- "Opened!",
639
- "None!"
640
- ],
641
- "type": "string"
642
- },
643
- "cast-type-mismatch": {
644
- "default": "Opened",
645
- "description": "Enable diagnostics for casts where the target type does not match the initial type.",
646
- "enum": [
647
- "Any",
648
- "Opened",
649
- "None",
650
- "Any!",
651
- "Opened!",
652
- "None!"
653
- ],
654
- "type": "string"
655
- },
656
- "circle-doc-class": {
657
- "default": "Any",
658
- "description": "%config.diagnostics.circle-doc-class%",
659
- "enum": [
660
- "Any",
661
- "Opened",
662
- "None",
663
- "Any!",
664
- "Opened!",
665
- "None!"
666
- ],
667
- "type": "string"
668
- },
669
- "close-non-object": {
670
- "default": "Any",
671
- "description": "Enable diagnostics for attempts to close a variable with a non-object.",
672
- "enum": [
673
- "Any",
674
- "Opened",
675
- "None",
676
- "Any!",
677
- "Opened!",
678
- "None!"
679
- ],
680
- "type": "string"
681
- },
682
- "code-after-break": {
683
- "default": "Opened",
684
- "description": "Enable diagnostics for code placed after a break statement in a loop.",
685
- "enum": [
686
- "Any",
687
- "Opened",
688
- "None",
689
- "Any!",
690
- "Opened!",
691
- "None!"
692
- ],
693
- "type": "string"
694
- },
695
- "codestyle-check": {
696
- "default": "None",
697
- "description": "Enable diagnostics for incorrectly styled lines.",
698
- "enum": [
699
- "Any",
700
- "Opened",
701
- "None",
702
- "Any!",
703
- "Opened!",
704
- "None!"
705
- ],
706
- "type": "string"
707
- },
708
- "count-down-loop": {
709
- "default": "Any",
710
- "description": "Enable diagnostics for `for` loops which will never reach their max/limit because the loop is incrementing instead of decrementing.",
711
- "enum": [
712
- "Any",
713
- "Opened",
714
- "None",
715
- "Any!",
716
- "Opened!",
717
- "None!"
718
- ],
719
- "type": "string"
720
- },
721
- "deprecated": {
722
- "default": "Any",
723
- "description": "Enable diagnostics to highlight deprecated API.",
724
- "enum": [
725
- "Any",
726
- "Opened",
727
- "None",
728
- "Any!",
729
- "Opened!",
730
- "None!"
731
- ],
732
- "type": "string"
733
- },
734
- "different-requires": {
735
- "default": "Any",
736
- "description": "Enable diagnostics for files which are required by two different paths.",
737
- "enum": [
738
- "Any",
739
- "Opened",
740
- "None",
741
- "Any!",
742
- "Opened!",
743
- "None!"
744
- ],
745
- "type": "string"
746
- },
747
- "discard-returns": {
748
- "default": "Any",
749
- "description": "Enable diagnostics for calls of functions annotated with `---@nodiscard` where the return values are ignored.",
750
- "enum": [
751
- "Any",
752
- "Opened",
753
- "None",
754
- "Any!",
755
- "Opened!",
756
- "None!"
757
- ],
758
- "type": "string"
759
- },
760
- "doc-field-no-class": {
761
- "default": "Any",
762
- "description": "Enable diagnostics to highlight a field annotation without a defining class annotation.",
763
- "enum": [
764
- "Any",
765
- "Opened",
766
- "None",
767
- "Any!",
768
- "Opened!",
769
- "None!"
770
- ],
771
- "type": "string"
772
- },
773
- "duplicate-doc-alias": {
774
- "default": "Any",
775
- "description": "Enable diagnostics for a duplicated alias annotation name.",
776
- "enum": [
777
- "Any",
778
- "Opened",
779
- "None",
780
- "Any!",
781
- "Opened!",
782
- "None!"
783
- ],
784
- "type": "string"
785
- },
786
- "duplicate-doc-field": {
787
- "default": "Any",
788
- "description": "Enable diagnostics for a duplicated field annotation name.",
789
- "enum": [
790
- "Any",
791
- "Opened",
792
- "None",
793
- "Any!",
794
- "Opened!",
795
- "None!"
796
- ],
797
- "type": "string"
798
- },
799
- "duplicate-doc-param": {
800
- "default": "Any",
801
- "description": "Enable diagnostics for a duplicated param annotation name.",
802
- "enum": [
803
- "Any",
804
- "Opened",
805
- "None",
806
- "Any!",
807
- "Opened!",
808
- "None!"
809
- ],
810
- "type": "string"
811
- },
812
- "duplicate-index": {
813
- "default": "Any",
814
- "description": "Enable duplicate table index diagnostics.",
815
- "enum": [
816
- "Any",
817
- "Opened",
818
- "None",
819
- "Any!",
820
- "Opened!",
821
- "None!"
822
- ],
823
- "type": "string"
824
- },
825
- "duplicate-set-field": {
826
- "default": "Opened",
827
- "description": "Enable diagnostics for setting the same field in a class more than once.",
828
- "enum": [
829
- "Any",
830
- "Opened",
831
- "None",
832
- "Any!",
833
- "Opened!",
834
- "None!"
835
- ],
836
- "type": "string"
837
- },
838
- "empty-block": {
839
- "default": "Opened",
840
- "description": "Enable empty code block diagnostics.",
841
- "enum": [
842
- "Any",
843
- "Opened",
844
- "None",
845
- "Any!",
846
- "Opened!",
847
- "None!"
848
- ],
849
- "type": "string"
850
- },
851
- "global-in-nil-env": {
852
- "default": "Any",
853
- "description": "Enable cannot use global variables ( `_ENV` is set to `nil`) diagnostics.",
854
- "enum": [
855
- "Any",
856
- "Opened",
857
- "None",
858
- "Any!",
859
- "Opened!",
860
- "None!"
861
- ],
862
- "type": "string"
863
- },
864
- "invisible": {
865
- "default": "Any",
866
- "description": "Enable diagnostics for accesses to fields which are invisible.",
867
- "enum": [
868
- "Any",
869
- "Opened",
870
- "None",
871
- "Any!",
872
- "Opened!",
873
- "None!"
874
- ],
875
- "type": "string"
876
- },
877
- "lowercase-global": {
878
- "default": "Any",
879
- "description": "Enable lowercase global variable definition diagnostics.",
880
- "enum": [
881
- "Any",
882
- "Opened",
883
- "None",
884
- "Any!",
885
- "Opened!",
886
- "None!"
887
- ],
888
- "type": "string"
889
- },
890
- "missing-parameter": {
891
- "default": "Any",
892
- "description": "Enable diagnostics for function calls where the number of arguments is less than the number of annotated function parameters.",
893
- "enum": [
894
- "Any",
895
- "Opened",
896
- "None",
897
- "Any!",
898
- "Opened!",
899
- "None!"
900
- ],
901
- "type": "string"
902
- },
903
- "missing-return": {
904
- "default": "Any",
905
- "description": "Enable diagnostics for functions with return annotations which have no return statement.",
906
- "enum": [
907
- "Any",
908
- "Opened",
909
- "None",
910
- "Any!",
911
- "Opened!",
912
- "None!"
913
- ],
914
- "type": "string"
915
- },
916
- "missing-return-value": {
917
- "default": "Any",
918
- "description": "Enable diagnostics for return statements without values although the containing function declares returns.",
919
- "enum": [
920
- "Any",
921
- "Opened",
922
- "None",
923
- "Any!",
924
- "Opened!",
925
- "None!"
926
- ],
927
- "type": "string"
928
- },
929
- "need-check-nil": {
930
- "default": "Opened",
931
- "description": "Enable diagnostics for variable usages if `nil` or an optional (potentially `nil`) value was assigned to the variable before.",
932
- "enum": [
933
- "Any",
934
- "Opened",
935
- "None",
936
- "Any!",
937
- "Opened!",
938
- "None!"
939
- ],
940
- "type": "string"
941
- },
942
- "newfield-call": {
943
- "default": "Any",
944
- "description": "Enable newfield call diagnostics. It is raised when the parenthesis of a function call appear on the following line when defining a field in a table.",
945
- "enum": [
946
- "Any",
947
- "Opened",
948
- "None",
949
- "Any!",
950
- "Opened!",
951
- "None!"
952
- ],
953
- "type": "string"
954
- },
955
- "newline-call": {
956
- "default": "Any",
957
- "description": "Enable newline call diagnostics. Is's raised when a line starting with `(` is encountered, which is syntactically parsed as a function call on the previous line.",
958
- "enum": [
959
- "Any",
960
- "Opened",
961
- "None",
962
- "Any!",
963
- "Opened!",
964
- "None!"
965
- ],
966
- "type": "string"
967
- },
968
- "no-unknown": {
969
- "default": "None",
970
- "description": "Enable diagnostics for cases in which the type cannot be inferred.",
971
- "enum": [
972
- "Any",
973
- "Opened",
974
- "None",
975
- "Any!",
976
- "Opened!",
977
- "None!"
978
- ],
979
- "type": "string"
980
- },
981
- "not-yieldable": {
982
- "default": "None",
983
- "description": "Enable diagnostics for calls to `coroutine.yield()` when it is not permitted.",
984
- "enum": [
985
- "Any",
986
- "Opened",
987
- "None",
988
- "Any!",
989
- "Opened!",
990
- "None!"
991
- ],
992
- "type": "string"
993
- },
994
- "param-type-mismatch": {
995
- "default": "Opened",
996
- "description": "Enable diagnostics for function calls where the type of a provided parameter does not match the type of the annotated function definition.",
997
- "enum": [
998
- "Any",
999
- "Opened",
1000
- "None",
1001
- "Any!",
1002
- "Opened!",
1003
- "None!"
1004
- ],
1005
- "type": "string"
1006
- },
1007
- "redefined-local": {
1008
- "default": "Opened",
1009
- "description": "Enable redefined local variable diagnostics.",
1010
- "enum": [
1011
- "Any",
1012
- "Opened",
1013
- "None",
1014
- "Any!",
1015
- "Opened!",
1016
- "None!"
1017
- ],
1018
- "type": "string"
1019
- },
1020
- "redundant-parameter": {
1021
- "default": "Any",
1022
- "description": "Enable redundant function parameter diagnostics.",
1023
- "enum": [
1024
- "Any",
1025
- "Opened",
1026
- "None",
1027
- "Any!",
1028
- "Opened!",
1029
- "None!"
1030
- ],
1031
- "type": "string"
1032
- },
1033
- "redundant-return": {
1034
- "default": "Opened",
1035
- "description": "Enable diagnostics for return statements which are not needed because the function would exit on its own.",
1036
- "enum": [
1037
- "Any",
1038
- "Opened",
1039
- "None",
1040
- "Any!",
1041
- "Opened!",
1042
- "None!"
1043
- ],
1044
- "type": "string"
1045
- },
1046
- "redundant-return-value": {
1047
- "default": "Any",
1048
- "description": "Enable diagnostics for return statements which return an extra value which is not specified by a return annotation.",
1049
- "enum": [
1050
- "Any",
1051
- "Opened",
1052
- "None",
1053
- "Any!",
1054
- "Opened!",
1055
- "None!"
1056
- ],
1057
- "type": "string"
1058
- },
1059
- "redundant-value": {
1060
- "default": "Any",
1061
- "description": "Enable the redundant values assigned diagnostics. It's raised during assignment operation, when the number of values is higher than the number of objects being assigned.",
1062
- "enum": [
1063
- "Any",
1064
- "Opened",
1065
- "None",
1066
- "Any!",
1067
- "Opened!",
1068
- "None!"
1069
- ],
1070
- "type": "string"
1071
- },
1072
- "return-type-mismatch": {
1073
- "default": "Opened",
1074
- "description": "Enable diagnostics for return values whose type does not match the type declared in the corresponding return annotation.",
1075
- "enum": [
1076
- "Any",
1077
- "Opened",
1078
- "None",
1079
- "Any!",
1080
- "Opened!",
1081
- "None!"
1082
- ],
1083
- "type": "string"
1084
- },
1085
- "spell-check": {
1086
- "default": "None",
1087
- "description": "Enable diagnostics for typos in strings.",
1088
- "enum": [
1089
- "Any",
1090
- "Opened",
1091
- "None",
1092
- "Any!",
1093
- "Opened!",
1094
- "None!"
1095
- ],
1096
- "type": "string"
1097
- },
1098
- "trailing-space": {
1099
- "default": "Opened",
1100
- "description": "Enable trailing space diagnostics.",
1101
- "enum": [
1102
- "Any",
1103
- "Opened",
1104
- "None",
1105
- "Any!",
1106
- "Opened!",
1107
- "None!"
1108
- ],
1109
- "type": "string"
1110
- },
1111
- "unbalanced-assignments": {
1112
- "default": "Any",
1113
- "description": "Enable diagnostics on multiple assignments if not all variables obtain a value (e.g., `local x,y = 1`).",
1114
- "enum": [
1115
- "Any",
1116
- "Opened",
1117
- "None",
1118
- "Any!",
1119
- "Opened!",
1120
- "None!"
1121
- ],
1122
- "type": "string"
1123
- },
1124
- "undefined-doc-class": {
1125
- "default": "Any",
1126
- "description": "Enable diagnostics for class annotations in which an undefined class is referenced.",
1127
- "enum": [
1128
- "Any",
1129
- "Opened",
1130
- "None",
1131
- "Any!",
1132
- "Opened!",
1133
- "None!"
1134
- ],
1135
- "type": "string"
1136
- },
1137
- "undefined-doc-name": {
1138
- "default": "Any",
1139
- "description": "Enable diagnostics for type annotations referencing an undefined type or alias.",
1140
- "enum": [
1141
- "Any",
1142
- "Opened",
1143
- "None",
1144
- "Any!",
1145
- "Opened!",
1146
- "None!"
1147
- ],
1148
- "type": "string"
1149
- },
1150
- "undefined-doc-param": {
1151
- "default": "Any",
1152
- "description": "Enable diagnostics for cases in which a parameter annotation is given without declaring the parameter in the function definition.",
1153
- "enum": [
1154
- "Any",
1155
- "Opened",
1156
- "None",
1157
- "Any!",
1158
- "Opened!",
1159
- "None!"
1160
- ],
1161
- "type": "string"
1162
- },
1163
- "undefined-env-child": {
1164
- "default": "Any",
1165
- "description": "Enable undefined environment variable diagnostics. It's raised when `_ENV` table is set to a new literal table, but the used global variable is no longer present in the global environment.",
1166
- "enum": [
1167
- "Any",
1168
- "Opened",
1169
- "None",
1170
- "Any!",
1171
- "Opened!",
1172
- "None!"
1173
- ],
1174
- "type": "string"
1175
- },
1176
- "undefined-field": {
1177
- "default": "Opened",
1178
- "description": "Enable diagnostics for cases in which an undefined field of a variable is read.",
1179
- "enum": [
1180
- "Any",
1181
- "Opened",
1182
- "None",
1183
- "Any!",
1184
- "Opened!",
1185
- "None!"
1186
- ],
1187
- "type": "string"
1188
- },
1189
- "undefined-global": {
1190
- "default": "Any",
1191
- "description": "Enable undefined global variable diagnostics.",
1192
- "enum": [
1193
- "Any",
1194
- "Opened",
1195
- "None",
1196
- "Any!",
1197
- "Opened!",
1198
- "None!"
1199
- ],
1200
- "type": "string"
1201
- },
1202
- "unknown-cast-variable": {
1203
- "default": "Any",
1204
- "description": "Enable diagnostics for casts of undefined variables.",
1205
- "enum": [
1206
- "Any",
1207
- "Opened",
1208
- "None",
1209
- "Any!",
1210
- "Opened!",
1211
- "None!"
1212
- ],
1213
- "type": "string"
1214
- },
1215
- "unknown-diag-code": {
1216
- "default": "Any",
1217
- "description": "Enable diagnostics in cases in which an unknown diagnostics code is entered.",
1218
- "enum": [
1219
- "Any",
1220
- "Opened",
1221
- "None",
1222
- "Any!",
1223
- "Opened!",
1224
- "None!"
1225
- ],
1226
- "type": "string"
1227
- },
1228
- "unknown-operator": {
1229
- "default": "Any",
1230
- "description": "Enable diagnostics for unknown operators.",
1231
- "enum": [
1232
- "Any",
1233
- "Opened",
1234
- "None",
1235
- "Any!",
1236
- "Opened!",
1237
- "None!"
1238
- ],
1239
- "type": "string"
1240
- },
1241
- "unreachable-code": {
1242
- "default": "Opened",
1243
- "description": "Enable diagnostics for unreachable code.",
1244
- "enum": [
1245
- "Any",
1246
- "Opened",
1247
- "None",
1248
- "Any!",
1249
- "Opened!",
1250
- "None!"
1251
- ],
1252
- "type": "string"
1253
- },
1254
- "unused-function": {
1255
- "default": "Opened",
1256
- "description": "Enable unused function diagnostics.",
1257
- "enum": [
1258
- "Any",
1259
- "Opened",
1260
- "None",
1261
- "Any!",
1262
- "Opened!",
1263
- "None!"
1264
- ],
1265
- "type": "string"
1266
- },
1267
- "unused-label": {
1268
- "default": "Opened",
1269
- "description": "Enable unused label diagnostics.",
1270
- "enum": [
1271
- "Any",
1272
- "Opened",
1273
- "None",
1274
- "Any!",
1275
- "Opened!",
1276
- "None!"
1277
- ],
1278
- "type": "string"
1279
- },
1280
- "unused-local": {
1281
- "default": "Opened",
1282
- "description": "Enable unused local variable diagnostics.",
1283
- "enum": [
1284
- "Any",
1285
- "Opened",
1286
- "None",
1287
- "Any!",
1288
- "Opened!",
1289
- "None!"
1290
- ],
1291
- "type": "string"
1292
- },
1293
- "unused-vararg": {
1294
- "default": "Opened",
1295
- "description": "Enable unused vararg diagnostics.",
1296
- "enum": [
1297
- "Any",
1298
- "Opened",
1299
- "None",
1300
- "Any!",
1301
- "Opened!",
1302
- "None!"
1303
- ],
1304
- "type": "string"
1305
- }
1306
- },
1307
- "scope": 4,
1308
- "title": "neededFileStatus",
1309
- "type": "object"
1310
- },
1311
- "Lua.diagnostics.severity": {
1312
- "additionalProperties": false,
1313
- "markdownDescription": "Modify the diagnostic severity.\n\nEnd with `!` means override the group setting `diagnostics.groupSeverity`.\n",
1314
- "properties": {
1315
- "ambiguity-1": {
1316
- "default": "Warning",
1317
- "description": "Enable ambiguous operator precedence diagnostics. For example, the `num or 0 + 1` expression will be suggested `(num or 0) + 1` instead.",
1318
- "enum": [
1319
- "Error",
1320
- "Warning",
1321
- "Information",
1322
- "Hint",
1323
- "Error!",
1324
- "Warning!",
1325
- "Information!",
1326
- "Hint!"
1327
- ],
1328
- "type": "string"
1329
- },
1330
- "assign-type-mismatch": {
1331
- "default": "Warning",
1332
- "description": "Enable diagnostics for assignments in which the value's type does not match the type of the assigned variable.",
1333
- "enum": [
1334
- "Error",
1335
- "Warning",
1336
- "Information",
1337
- "Hint",
1338
- "Error!",
1339
- "Warning!",
1340
- "Information!",
1341
- "Hint!"
1342
- ],
1343
- "type": "string"
1344
- },
1345
- "await-in-sync": {
1346
- "default": "Warning",
1347
- "description": "Enable diagnostics for calls of asynchronous functions within a synchronous function.",
1348
- "enum": [
1349
- "Error",
1350
- "Warning",
1351
- "Information",
1352
- "Hint",
1353
- "Error!",
1354
- "Warning!",
1355
- "Information!",
1356
- "Hint!"
1357
- ],
1358
- "type": "string"
1359
- },
1360
- "cast-local-type": {
1361
- "default": "Warning",
1362
- "description": "Enable diagnostics for casts of local variables where the target type does not match the defined type.",
1363
- "enum": [
1364
- "Error",
1365
- "Warning",
1366
- "Information",
1367
- "Hint",
1368
- "Error!",
1369
- "Warning!",
1370
- "Information!",
1371
- "Hint!"
1372
- ],
1373
- "type": "string"
1374
- },
1375
- "cast-type-mismatch": {
1376
- "default": "Warning",
1377
- "description": "Enable diagnostics for casts where the target type does not match the initial type.",
1378
- "enum": [
1379
- "Error",
1380
- "Warning",
1381
- "Information",
1382
- "Hint",
1383
- "Error!",
1384
- "Warning!",
1385
- "Information!",
1386
- "Hint!"
1387
- ],
1388
- "type": "string"
1389
- },
1390
- "circle-doc-class": {
1391
- "default": "Warning",
1392
- "description": "%config.diagnostics.circle-doc-class%",
1393
- "enum": [
1394
- "Error",
1395
- "Warning",
1396
- "Information",
1397
- "Hint",
1398
- "Error!",
1399
- "Warning!",
1400
- "Information!",
1401
- "Hint!"
1402
- ],
1403
- "type": "string"
1404
- },
1405
- "close-non-object": {
1406
- "default": "Warning",
1407
- "description": "Enable diagnostics for attempts to close a variable with a non-object.",
1408
- "enum": [
1409
- "Error",
1410
- "Warning",
1411
- "Information",
1412
- "Hint",
1413
- "Error!",
1414
- "Warning!",
1415
- "Information!",
1416
- "Hint!"
1417
- ],
1418
- "type": "string"
1419
- },
1420
- "code-after-break": {
1421
- "default": "Hint",
1422
- "description": "Enable diagnostics for code placed after a break statement in a loop.",
1423
- "enum": [
1424
- "Error",
1425
- "Warning",
1426
- "Information",
1427
- "Hint",
1428
- "Error!",
1429
- "Warning!",
1430
- "Information!",
1431
- "Hint!"
1432
- ],
1433
- "type": "string"
1434
- },
1435
- "codestyle-check": {
1436
- "default": "Warning",
1437
- "description": "Enable diagnostics for incorrectly styled lines.",
1438
- "enum": [
1439
- "Error",
1440
- "Warning",
1441
- "Information",
1442
- "Hint",
1443
- "Error!",
1444
- "Warning!",
1445
- "Information!",
1446
- "Hint!"
1447
- ],
1448
- "type": "string"
1449
- },
1450
- "count-down-loop": {
1451
- "default": "Warning",
1452
- "description": "Enable diagnostics for `for` loops which will never reach their max/limit because the loop is incrementing instead of decrementing.",
1453
- "enum": [
1454
- "Error",
1455
- "Warning",
1456
- "Information",
1457
- "Hint",
1458
- "Error!",
1459
- "Warning!",
1460
- "Information!",
1461
- "Hint!"
1462
- ],
1463
- "type": "string"
1464
- },
1465
- "deprecated": {
1466
- "default": "Warning",
1467
- "description": "Enable diagnostics to highlight deprecated API.",
1468
- "enum": [
1469
- "Error",
1470
- "Warning",
1471
- "Information",
1472
- "Hint",
1473
- "Error!",
1474
- "Warning!",
1475
- "Information!",
1476
- "Hint!"
1477
- ],
1478
- "type": "string"
1479
- },
1480
- "different-requires": {
1481
- "default": "Warning",
1482
- "description": "Enable diagnostics for files which are required by two different paths.",
1483
- "enum": [
1484
- "Error",
1485
- "Warning",
1486
- "Information",
1487
- "Hint",
1488
- "Error!",
1489
- "Warning!",
1490
- "Information!",
1491
- "Hint!"
1492
- ],
1493
- "type": "string"
1494
- },
1495
- "discard-returns": {
1496
- "default": "Warning",
1497
- "description": "Enable diagnostics for calls of functions annotated with `---@nodiscard` where the return values are ignored.",
1498
- "enum": [
1499
- "Error",
1500
- "Warning",
1501
- "Information",
1502
- "Hint",
1503
- "Error!",
1504
- "Warning!",
1505
- "Information!",
1506
- "Hint!"
1507
- ],
1508
- "type": "string"
1509
- },
1510
- "doc-field-no-class": {
1511
- "default": "Warning",
1512
- "description": "Enable diagnostics to highlight a field annotation without a defining class annotation.",
1513
- "enum": [
1514
- "Error",
1515
- "Warning",
1516
- "Information",
1517
- "Hint",
1518
- "Error!",
1519
- "Warning!",
1520
- "Information!",
1521
- "Hint!"
1522
- ],
1523
- "type": "string"
1524
- },
1525
- "duplicate-doc-alias": {
1526
- "default": "Warning",
1527
- "description": "Enable diagnostics for a duplicated alias annotation name.",
1528
- "enum": [
1529
- "Error",
1530
- "Warning",
1531
- "Information",
1532
- "Hint",
1533
- "Error!",
1534
- "Warning!",
1535
- "Information!",
1536
- "Hint!"
1537
- ],
1538
- "type": "string"
1539
- },
1540
- "duplicate-doc-field": {
1541
- "default": "Warning",
1542
- "description": "Enable diagnostics for a duplicated field annotation name.",
1543
- "enum": [
1544
- "Error",
1545
- "Warning",
1546
- "Information",
1547
- "Hint",
1548
- "Error!",
1549
- "Warning!",
1550
- "Information!",
1551
- "Hint!"
1552
- ],
1553
- "type": "string"
1554
- },
1555
- "duplicate-doc-param": {
1556
- "default": "Warning",
1557
- "description": "Enable diagnostics for a duplicated param annotation name.",
1558
- "enum": [
1559
- "Error",
1560
- "Warning",
1561
- "Information",
1562
- "Hint",
1563
- "Error!",
1564
- "Warning!",
1565
- "Information!",
1566
- "Hint!"
1567
- ],
1568
- "type": "string"
1569
- },
1570
- "duplicate-index": {
1571
- "default": "Warning",
1572
- "description": "Enable duplicate table index diagnostics.",
1573
- "enum": [
1574
- "Error",
1575
- "Warning",
1576
- "Information",
1577
- "Hint",
1578
- "Error!",
1579
- "Warning!",
1580
- "Information!",
1581
- "Hint!"
1582
- ],
1583
- "type": "string"
1584
- },
1585
- "duplicate-set-field": {
1586
- "default": "Warning",
1587
- "description": "Enable diagnostics for setting the same field in a class more than once.",
1588
- "enum": [
1589
- "Error",
1590
- "Warning",
1591
- "Information",
1592
- "Hint",
1593
- "Error!",
1594
- "Warning!",
1595
- "Information!",
1596
- "Hint!"
1597
- ],
1598
- "type": "string"
1599
- },
1600
- "empty-block": {
1601
- "default": "Hint",
1602
- "description": "Enable empty code block diagnostics.",
1603
- "enum": [
1604
- "Error",
1605
- "Warning",
1606
- "Information",
1607
- "Hint",
1608
- "Error!",
1609
- "Warning!",
1610
- "Information!",
1611
- "Hint!"
1612
- ],
1613
- "type": "string"
1614
- },
1615
- "global-in-nil-env": {
1616
- "default": "Warning",
1617
- "description": "Enable cannot use global variables ( `_ENV` is set to `nil`) diagnostics.",
1618
- "enum": [
1619
- "Error",
1620
- "Warning",
1621
- "Information",
1622
- "Hint",
1623
- "Error!",
1624
- "Warning!",
1625
- "Information!",
1626
- "Hint!"
1627
- ],
1628
- "type": "string"
1629
- },
1630
- "invisible": {
1631
- "default": "Warning",
1632
- "description": "Enable diagnostics for accesses to fields which are invisible.",
1633
- "enum": [
1634
- "Error",
1635
- "Warning",
1636
- "Information",
1637
- "Hint",
1638
- "Error!",
1639
- "Warning!",
1640
- "Information!",
1641
- "Hint!"
1642
- ],
1643
- "type": "string"
1644
- },
1645
- "lowercase-global": {
1646
- "default": "Information",
1647
- "description": "Enable lowercase global variable definition diagnostics.",
1648
- "enum": [
1649
- "Error",
1650
- "Warning",
1651
- "Information",
1652
- "Hint",
1653
- "Error!",
1654
- "Warning!",
1655
- "Information!",
1656
- "Hint!"
1657
- ],
1658
- "type": "string"
1659
- },
1660
- "missing-parameter": {
1661
- "default": "Warning",
1662
- "description": "Enable diagnostics for function calls where the number of arguments is less than the number of annotated function parameters.",
1663
- "enum": [
1664
- "Error",
1665
- "Warning",
1666
- "Information",
1667
- "Hint",
1668
- "Error!",
1669
- "Warning!",
1670
- "Information!",
1671
- "Hint!"
1672
- ],
1673
- "type": "string"
1674
- },
1675
- "missing-return": {
1676
- "default": "Warning",
1677
- "description": "Enable diagnostics for functions with return annotations which have no return statement.",
1678
- "enum": [
1679
- "Error",
1680
- "Warning",
1681
- "Information",
1682
- "Hint",
1683
- "Error!",
1684
- "Warning!",
1685
- "Information!",
1686
- "Hint!"
1687
- ],
1688
- "type": "string"
1689
- },
1690
- "missing-return-value": {
1691
- "default": "Warning",
1692
- "description": "Enable diagnostics for return statements without values although the containing function declares returns.",
1693
- "enum": [
1694
- "Error",
1695
- "Warning",
1696
- "Information",
1697
- "Hint",
1698
- "Error!",
1699
- "Warning!",
1700
- "Information!",
1701
- "Hint!"
1702
- ],
1703
- "type": "string"
1704
- },
1705
- "need-check-nil": {
1706
- "default": "Warning",
1707
- "description": "Enable diagnostics for variable usages if `nil` or an optional (potentially `nil`) value was assigned to the variable before.",
1708
- "enum": [
1709
- "Error",
1710
- "Warning",
1711
- "Information",
1712
- "Hint",
1713
- "Error!",
1714
- "Warning!",
1715
- "Information!",
1716
- "Hint!"
1717
- ],
1718
- "type": "string"
1719
- },
1720
- "newfield-call": {
1721
- "default": "Warning",
1722
- "description": "Enable newfield call diagnostics. It is raised when the parenthesis of a function call appear on the following line when defining a field in a table.",
1723
- "enum": [
1724
- "Error",
1725
- "Warning",
1726
- "Information",
1727
- "Hint",
1728
- "Error!",
1729
- "Warning!",
1730
- "Information!",
1731
- "Hint!"
1732
- ],
1733
- "type": "string"
1734
- },
1735
- "newline-call": {
1736
- "default": "Warning",
1737
- "description": "Enable newline call diagnostics. Is's raised when a line starting with `(` is encountered, which is syntactically parsed as a function call on the previous line.",
1738
- "enum": [
1739
- "Error",
1740
- "Warning",
1741
- "Information",
1742
- "Hint",
1743
- "Error!",
1744
- "Warning!",
1745
- "Information!",
1746
- "Hint!"
1747
- ],
1748
- "type": "string"
1749
- },
1750
- "no-unknown": {
1751
- "default": "Warning",
1752
- "description": "Enable diagnostics for cases in which the type cannot be inferred.",
1753
- "enum": [
1754
- "Error",
1755
- "Warning",
1756
- "Information",
1757
- "Hint",
1758
- "Error!",
1759
- "Warning!",
1760
- "Information!",
1761
- "Hint!"
1762
- ],
1763
- "type": "string"
1764
- },
1765
- "not-yieldable": {
1766
- "default": "Warning",
1767
- "description": "Enable diagnostics for calls to `coroutine.yield()` when it is not permitted.",
1768
- "enum": [
1769
- "Error",
1770
- "Warning",
1771
- "Information",
1772
- "Hint",
1773
- "Error!",
1774
- "Warning!",
1775
- "Information!",
1776
- "Hint!"
1777
- ],
1778
- "type": "string"
1779
- },
1780
- "param-type-mismatch": {
1781
- "default": "Warning",
1782
- "description": "Enable diagnostics for function calls where the type of a provided parameter does not match the type of the annotated function definition.",
1783
- "enum": [
1784
- "Error",
1785
- "Warning",
1786
- "Information",
1787
- "Hint",
1788
- "Error!",
1789
- "Warning!",
1790
- "Information!",
1791
- "Hint!"
1792
- ],
1793
- "type": "string"
1794
- },
1795
- "redefined-local": {
1796
- "default": "Hint",
1797
- "description": "Enable redefined local variable diagnostics.",
1798
- "enum": [
1799
- "Error",
1800
- "Warning",
1801
- "Information",
1802
- "Hint",
1803
- "Error!",
1804
- "Warning!",
1805
- "Information!",
1806
- "Hint!"
1807
- ],
1808
- "type": "string"
1809
- },
1810
- "redundant-parameter": {
1811
- "default": "Warning",
1812
- "description": "Enable redundant function parameter diagnostics.",
1813
- "enum": [
1814
- "Error",
1815
- "Warning",
1816
- "Information",
1817
- "Hint",
1818
- "Error!",
1819
- "Warning!",
1820
- "Information!",
1821
- "Hint!"
1822
- ],
1823
- "type": "string"
1824
- },
1825
- "redundant-return": {
1826
- "default": "Hint",
1827
- "description": "Enable diagnostics for return statements which are not needed because the function would exit on its own.",
1828
- "enum": [
1829
- "Error",
1830
- "Warning",
1831
- "Information",
1832
- "Hint",
1833
- "Error!",
1834
- "Warning!",
1835
- "Information!",
1836
- "Hint!"
1837
- ],
1838
- "type": "string"
1839
- },
1840
- "redundant-return-value": {
1841
- "default": "Warning",
1842
- "description": "Enable diagnostics for return statements which return an extra value which is not specified by a return annotation.",
1843
- "enum": [
1844
- "Error",
1845
- "Warning",
1846
- "Information",
1847
- "Hint",
1848
- "Error!",
1849
- "Warning!",
1850
- "Information!",
1851
- "Hint!"
1852
- ],
1853
- "type": "string"
1854
- },
1855
- "redundant-value": {
1856
- "default": "Warning",
1857
- "description": "Enable the redundant values assigned diagnostics. It's raised during assignment operation, when the number of values is higher than the number of objects being assigned.",
1858
- "enum": [
1859
- "Error",
1860
- "Warning",
1861
- "Information",
1862
- "Hint",
1863
- "Error!",
1864
- "Warning!",
1865
- "Information!",
1866
- "Hint!"
1867
- ],
1868
- "type": "string"
1869
- },
1870
- "return-type-mismatch": {
1871
- "default": "Warning",
1872
- "description": "Enable diagnostics for return values whose type does not match the type declared in the corresponding return annotation.",
1873
- "enum": [
1874
- "Error",
1875
- "Warning",
1876
- "Information",
1877
- "Hint",
1878
- "Error!",
1879
- "Warning!",
1880
- "Information!",
1881
- "Hint!"
1882
- ],
1883
- "type": "string"
1884
- },
1885
- "spell-check": {
1886
- "default": "Information",
1887
- "description": "Enable diagnostics for typos in strings.",
1888
- "enum": [
1889
- "Error",
1890
- "Warning",
1891
- "Information",
1892
- "Hint",
1893
- "Error!",
1894
- "Warning!",
1895
- "Information!",
1896
- "Hint!"
1897
- ],
1898
- "type": "string"
1899
- },
1900
- "trailing-space": {
1901
- "default": "Hint",
1902
- "description": "Enable trailing space diagnostics.",
1903
- "enum": [
1904
- "Error",
1905
- "Warning",
1906
- "Information",
1907
- "Hint",
1908
- "Error!",
1909
- "Warning!",
1910
- "Information!",
1911
- "Hint!"
1912
- ],
1913
- "type": "string"
1914
- },
1915
- "unbalanced-assignments": {
1916
- "default": "Warning",
1917
- "description": "Enable diagnostics on multiple assignments if not all variables obtain a value (e.g., `local x,y = 1`).",
1918
- "enum": [
1919
- "Error",
1920
- "Warning",
1921
- "Information",
1922
- "Hint",
1923
- "Error!",
1924
- "Warning!",
1925
- "Information!",
1926
- "Hint!"
1927
- ],
1928
- "type": "string"
1929
- },
1930
- "undefined-doc-class": {
1931
- "default": "Warning",
1932
- "description": "Enable diagnostics for class annotations in which an undefined class is referenced.",
1933
- "enum": [
1934
- "Error",
1935
- "Warning",
1936
- "Information",
1937
- "Hint",
1938
- "Error!",
1939
- "Warning!",
1940
- "Information!",
1941
- "Hint!"
1942
- ],
1943
- "type": "string"
1944
- },
1945
- "undefined-doc-name": {
1946
- "default": "Warning",
1947
- "description": "Enable diagnostics for type annotations referencing an undefined type or alias.",
1948
- "enum": [
1949
- "Error",
1950
- "Warning",
1951
- "Information",
1952
- "Hint",
1953
- "Error!",
1954
- "Warning!",
1955
- "Information!",
1956
- "Hint!"
1957
- ],
1958
- "type": "string"
1959
- },
1960
- "undefined-doc-param": {
1961
- "default": "Warning",
1962
- "description": "Enable diagnostics for cases in which a parameter annotation is given without declaring the parameter in the function definition.",
1963
- "enum": [
1964
- "Error",
1965
- "Warning",
1966
- "Information",
1967
- "Hint",
1968
- "Error!",
1969
- "Warning!",
1970
- "Information!",
1971
- "Hint!"
1972
- ],
1973
- "type": "string"
1974
- },
1975
- "undefined-env-child": {
1976
- "default": "Information",
1977
- "description": "Enable undefined environment variable diagnostics. It's raised when `_ENV` table is set to a new literal table, but the used global variable is no longer present in the global environment.",
1978
- "enum": [
1979
- "Error",
1980
- "Warning",
1981
- "Information",
1982
- "Hint",
1983
- "Error!",
1984
- "Warning!",
1985
- "Information!",
1986
- "Hint!"
1987
- ],
1988
- "type": "string"
1989
- },
1990
- "undefined-field": {
1991
- "default": "Warning",
1992
- "description": "Enable diagnostics for cases in which an undefined field of a variable is read.",
1993
- "enum": [
1994
- "Error",
1995
- "Warning",
1996
- "Information",
1997
- "Hint",
1998
- "Error!",
1999
- "Warning!",
2000
- "Information!",
2001
- "Hint!"
2002
- ],
2003
- "type": "string"
2004
- },
2005
- "undefined-global": {
2006
- "default": "Warning",
2007
- "description": "Enable undefined global variable diagnostics.",
2008
- "enum": [
2009
- "Error",
2010
- "Warning",
2011
- "Information",
2012
- "Hint",
2013
- "Error!",
2014
- "Warning!",
2015
- "Information!",
2016
- "Hint!"
2017
- ],
2018
- "type": "string"
2019
- },
2020
- "unknown-cast-variable": {
2021
- "default": "Warning",
2022
- "description": "Enable diagnostics for casts of undefined variables.",
2023
- "enum": [
2024
- "Error",
2025
- "Warning",
2026
- "Information",
2027
- "Hint",
2028
- "Error!",
2029
- "Warning!",
2030
- "Information!",
2031
- "Hint!"
2032
- ],
2033
- "type": "string"
2034
- },
2035
- "unknown-diag-code": {
2036
- "default": "Warning",
2037
- "description": "Enable diagnostics in cases in which an unknown diagnostics code is entered.",
2038
- "enum": [
2039
- "Error",
2040
- "Warning",
2041
- "Information",
2042
- "Hint",
2043
- "Error!",
2044
- "Warning!",
2045
- "Information!",
2046
- "Hint!"
2047
- ],
2048
- "type": "string"
2049
- },
2050
- "unknown-operator": {
2051
- "default": "Warning",
2052
- "description": "Enable diagnostics for unknown operators.",
2053
- "enum": [
2054
- "Error",
2055
- "Warning",
2056
- "Information",
2057
- "Hint",
2058
- "Error!",
2059
- "Warning!",
2060
- "Information!",
2061
- "Hint!"
2062
- ],
2063
- "type": "string"
2064
- },
2065
- "unreachable-code": {
2066
- "default": "Hint",
2067
- "description": "Enable diagnostics for unreachable code.",
2068
- "enum": [
2069
- "Error",
2070
- "Warning",
2071
- "Information",
2072
- "Hint",
2073
- "Error!",
2074
- "Warning!",
2075
- "Information!",
2076
- "Hint!"
2077
- ],
2078
- "type": "string"
2079
- },
2080
- "unused-function": {
2081
- "default": "Hint",
2082
- "description": "Enable unused function diagnostics.",
2083
- "enum": [
2084
- "Error",
2085
- "Warning",
2086
- "Information",
2087
- "Hint",
2088
- "Error!",
2089
- "Warning!",
2090
- "Information!",
2091
- "Hint!"
2092
- ],
2093
- "type": "string"
2094
- },
2095
- "unused-label": {
2096
- "default": "Hint",
2097
- "description": "Enable unused label diagnostics.",
2098
- "enum": [
2099
- "Error",
2100
- "Warning",
2101
- "Information",
2102
- "Hint",
2103
- "Error!",
2104
- "Warning!",
2105
- "Information!",
2106
- "Hint!"
2107
- ],
2108
- "type": "string"
2109
- },
2110
- "unused-local": {
2111
- "default": "Hint",
2112
- "description": "Enable unused local variable diagnostics.",
2113
- "enum": [
2114
- "Error",
2115
- "Warning",
2116
- "Information",
2117
- "Hint",
2118
- "Error!",
2119
- "Warning!",
2120
- "Information!",
2121
- "Hint!"
2122
- ],
2123
- "type": "string"
2124
- },
2125
- "unused-vararg": {
2126
- "default": "Hint",
2127
- "description": "Enable unused vararg diagnostics.",
2128
- "enum": [
2129
- "Error",
2130
- "Warning",
2131
- "Information",
2132
- "Hint",
2133
- "Error!",
2134
- "Warning!",
2135
- "Information!",
2136
- "Hint!"
2137
- ],
2138
- "type": "string"
2139
- }
2140
- },
2141
- "scope": 4,
2142
- "title": "severity",
2143
- "type": "object"
2144
- },
2145
- "Lua.diagnostics.unusedLocalExclude": {
2146
- "default": [],
2147
- "items": {
2148
- "type": "string"
2149
- },
2150
- "markdownDescription": "Do not diagnose `unused-local` when the variable name matches the following pattern.",
2151
- "scope": 4,
2152
- "type": "array"
2153
- },
2154
- "Lua.diagnostics.workspaceDelay": {
2155
- "default": 3000,
2156
- "markdownDescription": "Latency (milliseconds) for workspace diagnostics.",
2157
- "scope": 4,
2158
- "type": "integer"
2159
- },
2160
- "Lua.diagnostics.workspaceEvent": {
2161
- "default": "OnSave",
2162
- "enum": [
2163
- "OnChange",
2164
- "OnSave",
2165
- "None"
2166
- ],
2167
- "markdownDescription": "Set the time to trigger workspace diagnostics.",
2168
- "markdownEnumDescriptions": [
2169
- "Trigger workspace diagnostics when the file is changed.",
2170
- "Trigger workspace diagnostics when the file is saved.",
2171
- "Disable workspace diagnostics."
2172
- ],
2173
- "scope": 4,
2174
- "type": "string"
2175
- },
2176
- "Lua.diagnostics.workspaceRate": {
2177
- "default": 100,
2178
- "markdownDescription": "Workspace diagnostics run rate (%). Decreasing this value reduces CPU usage, but also reduces the speed of workspace diagnostics. The diagnosis of the file you are currently editing is always done at full speed and is not affected by this setting.",
2179
- "scope": 4,
2180
- "type": "integer"
2181
- },
2182
- "Lua.doc.packageName": {
2183
- "default": [],
2184
- "items": {
2185
- "type": "string"
2186
- },
2187
- "markdownDescription": "Treat specific field names as package, e.g. `m_*` means `XXX.m_id` and `XXX.m_type` are package, witch can only be accessed in the file where the definition is located.",
2188
- "scope": 4,
2189
- "type": "array"
2190
- },
2191
- "Lua.doc.privateName": {
2192
- "default": [],
2193
- "items": {
2194
- "type": "string"
2195
- },
2196
- "markdownDescription": "Treat specific field names as private, e.g. `m_*` means `XXX.m_id` and `XXX.m_type` are private, witch can only be accessed in the class where the definition is located.",
2197
- "scope": 4,
2198
- "type": "array"
2199
- },
2200
- "Lua.doc.protectedName": {
2201
- "default": [],
2202
- "items": {
2203
- "type": "string"
2204
- },
2205
- "markdownDescription": "Treat specific field names as protected, e.g. `m_*` means `XXX.m_id` and `XXX.m_type` are protected, witch can only be accessed in the class where the definition is located and its subclasses.",
2206
- "scope": 4,
2207
- "type": "array"
2208
- },
2209
- "Lua.format.defaultConfig": {
2210
- "additionalProperties": false,
2211
- "default": [],
2212
- "markdownDescription": "The default format configuration. Has a lower priority than `.editorconfig` file in the workspace.\nRead [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.\n",
2213
- "patternProperties": {
2214
- ".*": {
2215
- "default": "",
2216
- "type": "string"
2217
- }
2218
- },
2219
- "scope": 4,
2220
- "title": "defaultConfig",
2221
- "type": "object"
2222
- },
2223
- "Lua.format.enable": {
2224
- "default": true,
2225
- "markdownDescription": "Enable code formatter.",
2226
- "scope": 4,
2227
- "type": "boolean"
2228
- },
2229
- "Lua.hint.arrayIndex": {
2230
- "default": "Auto",
2231
- "enum": [
2232
- "Enable",
2233
- "Auto",
2234
- "Disable"
2235
- ],
2236
- "markdownDescription": "Show hints of array index when constructing a table.",
2237
- "markdownEnumDescriptions": [
2238
- "Show hints in all tables.",
2239
- "Show hints only when the table is greater than 3 items, or the table is a mixed table.",
2240
- "Disable hints of array index."
2241
- ],
2242
- "scope": 4,
2243
- "type": "string"
2244
- },
2245
- "Lua.hint.await": {
2246
- "default": true,
2247
- "markdownDescription": "If the called function is marked `---@async`, prompt `await` at the call.",
2248
- "scope": 4,
2249
- "type": "boolean"
2250
- },
2251
- "Lua.hint.enable": {
2252
- "default": false,
2253
- "markdownDescription": "Enable inlay hint.",
2254
- "scope": 4,
2255
- "type": "boolean"
2256
- },
2257
- "Lua.hint.paramName": {
2258
- "default": "All",
2259
- "enum": [
2260
- "All",
2261
- "Literal",
2262
- "Disable"
2263
- ],
2264
- "markdownDescription": "Show hints of parameter name at the function call.",
2265
- "markdownEnumDescriptions": [
2266
- "All types of parameters are shown.",
2267
- "Only literal type parameters are shown.",
2268
- "Disable parameter hints."
2269
- ],
2270
- "scope": 4,
2271
- "type": "string"
2272
- },
2273
- "Lua.hint.paramType": {
2274
- "default": true,
2275
- "markdownDescription": "Show type hints at the parameter of the function.",
2276
- "scope": 4,
2277
- "type": "boolean"
2278
- },
2279
- "Lua.hint.semicolon": {
2280
- "default": "SameLine",
2281
- "enum": [
2282
- "All",
2283
- "SameLine",
2284
- "Disable"
2285
- ],
2286
- "markdownDescription": "If there is no semicolon at the end of the statement, display a virtual semicolon.",
2287
- "markdownEnumDescriptions": [
2288
- "All statements display virtual semicolons.",
2289
- "When two statements are on the same line, display a semicolon between them.",
2290
- "Disable virtual semicolons."
2291
- ],
2292
- "scope": 4,
2293
- "type": "string"
2294
- },
2295
- "Lua.hint.setType": {
2296
- "default": false,
2297
- "markdownDescription": "Show hints of type at assignment operation.",
2298
- "scope": 4,
2299
- "type": "boolean"
2300
- },
2301
- "Lua.hover.enable": {
2302
- "default": true,
2303
- "markdownDescription": "Enable hover.",
2304
- "scope": 4,
2305
- "type": "boolean"
2306
- },
2307
- "Lua.hover.enumsLimit": {
2308
- "default": 5,
2309
- "markdownDescription": "When the value corresponds to multiple types, limit the number of types displaying.",
2310
- "scope": 4,
2311
- "type": "integer"
2312
- },
2313
- "Lua.hover.expandAlias": {
2314
- "default": true,
2315
- "markdownDescription": "Whether to expand the alias. For example, expands `---@alias myType boolean|number` appears as `boolean|number`, otherwise it appears as `myType'.\n",
2316
- "scope": 4,
2317
- "type": "boolean"
2318
- },
2319
- "Lua.hover.previewFields": {
2320
- "default": 50,
2321
- "markdownDescription": "When hovering to view a table, limits the maximum number of previews for fields.",
2322
- "scope": 4,
2323
- "type": "integer"
2324
- },
2325
- "Lua.hover.viewNumber": {
2326
- "default": true,
2327
- "markdownDescription": "Hover to view numeric content (only if literal is not decimal).",
2328
- "scope": 4,
2329
- "type": "boolean"
2330
- },
2331
- "Lua.hover.viewString": {
2332
- "default": true,
2333
- "markdownDescription": "Hover to view the contents of a string (only if the literal contains an escape character).",
2334
- "scope": 4,
2335
- "type": "boolean"
2336
- },
2337
- "Lua.hover.viewStringMax": {
2338
- "default": 1000,
2339
- "markdownDescription": "The maximum length of a hover to view the contents of a string.",
2340
- "scope": 4,
2341
- "type": "integer"
2342
- },
2343
- "Lua.misc.executablePath": {
2344
- "default": "",
2345
- "markdownDescription": "Specify the executable path in VSCode.",
2346
- "scope": 4,
2347
- "type": "string"
2348
- },
2349
- "Lua.misc.parameters": {
2350
- "default": [],
2351
- "items": {
2352
- "type": "string"
2353
- },
2354
- "markdownDescription": "[Command line parameters](https://github.com/sumneko/lua-telemetry-server/tree/master/method) when starting the language server in VSCode.",
2355
- "scope": 4,
2356
- "type": "array"
2357
- },
2358
- "Lua.runtime.builtin": {
2359
- "additionalProperties": false,
2360
- "markdownDescription": "Adjust the enabled state of the built-in library. You can disable (or redefine) the non-existent library according to the actual runtime environment.\n\n* `default`: Indicates that the library will be enabled or disabled according to the runtime version\n* `enable`: always enable\n* `disable`: always disable\n",
2361
- "properties": {
2362
- "basic": {
2363
- "default": "default",
2364
- "description": "%config.runtime.builtin.basic%",
2365
- "enum": [
2366
- "default",
2367
- "enable",
2368
- "disable"
2369
- ],
2370
- "type": "string"
2371
- },
2372
- "bit": {
2373
- "default": "default",
2374
- "description": "%config.runtime.builtin.bit%",
2375
- "enum": [
2376
- "default",
2377
- "enable",
2378
- "disable"
2379
- ],
2380
- "type": "string"
2381
- },
2382
- "bit32": {
2383
- "default": "default",
2384
- "description": "%config.runtime.builtin.bit32%",
2385
- "enum": [
2386
- "default",
2387
- "enable",
2388
- "disable"
2389
- ],
2390
- "type": "string"
2391
- },
2392
- "builtin": {
2393
- "default": "default",
2394
- "description": "%config.runtime.builtin.builtin%",
2395
- "enum": [
2396
- "default",
2397
- "enable",
2398
- "disable"
2399
- ],
2400
- "type": "string"
2401
- },
2402
- "coroutine": {
2403
- "default": "default",
2404
- "description": "%config.runtime.builtin.coroutine%",
2405
- "enum": [
2406
- "default",
2407
- "enable",
2408
- "disable"
2409
- ],
2410
- "type": "string"
2411
- },
2412
- "debug": {
2413
- "default": "default",
2414
- "description": "%config.runtime.builtin.debug%",
2415
- "enum": [
2416
- "default",
2417
- "enable",
2418
- "disable"
2419
- ],
2420
- "type": "string"
2421
- },
2422
- "ffi": {
2423
- "default": "default",
2424
- "description": "%config.runtime.builtin.ffi%",
2425
- "enum": [
2426
- "default",
2427
- "enable",
2428
- "disable"
2429
- ],
2430
- "type": "string"
2431
- },
2432
- "io": {
2433
- "default": "default",
2434
- "description": "%config.runtime.builtin.io%",
2435
- "enum": [
2436
- "default",
2437
- "enable",
2438
- "disable"
2439
- ],
2440
- "type": "string"
2441
- },
2442
- "jit": {
2443
- "default": "default",
2444
- "description": "%config.runtime.builtin.jit%",
2445
- "enum": [
2446
- "default",
2447
- "enable",
2448
- "disable"
2449
- ],
2450
- "type": "string"
2451
- },
2452
- "math": {
2453
- "default": "default",
2454
- "description": "%config.runtime.builtin.math%",
2455
- "enum": [
2456
- "default",
2457
- "enable",
2458
- "disable"
2459
- ],
2460
- "type": "string"
2461
- },
2462
- "os": {
2463
- "default": "default",
2464
- "description": "%config.runtime.builtin.os%",
2465
- "enum": [
2466
- "default",
2467
- "enable",
2468
- "disable"
2469
- ],
2470
- "type": "string"
2471
- },
2472
- "package": {
2473
- "default": "default",
2474
- "description": "%config.runtime.builtin.package%",
2475
- "enum": [
2476
- "default",
2477
- "enable",
2478
- "disable"
2479
- ],
2480
- "type": "string"
2481
- },
2482
- "string": {
2483
- "default": "default",
2484
- "description": "%config.runtime.builtin.string%",
2485
- "enum": [
2486
- "default",
2487
- "enable",
2488
- "disable"
2489
- ],
2490
- "type": "string"
2491
- },
2492
- "string.buffer": {
2493
- "default": "default",
2494
- "description": "%config.runtime.builtin.string.buffer%",
2495
- "enum": [
2496
- "default",
2497
- "enable",
2498
- "disable"
2499
- ],
2500
- "type": "string"
2501
- },
2502
- "table": {
2503
- "default": "default",
2504
- "description": "%config.runtime.builtin.table%",
2505
- "enum": [
2506
- "default",
2507
- "enable",
2508
- "disable"
2509
- ],
2510
- "type": "string"
2511
- },
2512
- "table.clear": {
2513
- "default": "default",
2514
- "description": "%config.runtime.builtin.table.clear%",
2515
- "enum": [
2516
- "default",
2517
- "enable",
2518
- "disable"
2519
- ],
2520
- "type": "string"
2521
- },
2522
- "table.new": {
2523
- "default": "default",
2524
- "description": "%config.runtime.builtin.table.new%",
2525
- "enum": [
2526
- "default",
2527
- "enable",
2528
- "disable"
2529
- ],
2530
- "type": "string"
2531
- },
2532
- "utf8": {
2533
- "default": "default",
2534
- "description": "%config.runtime.builtin.utf8%",
2535
- "enum": [
2536
- "default",
2537
- "enable",
2538
- "disable"
2539
- ],
2540
- "type": "string"
2541
- }
2542
- },
2543
- "scope": 4,
2544
- "title": "builtin",
2545
- "type": "object"
2546
- },
2547
- "Lua.runtime.fileEncoding": {
2548
- "default": "utf8",
2549
- "enum": [
2550
- "utf8",
2551
- "ansi",
2552
- "utf16le",
2553
- "utf16be"
2554
- ],
2555
- "markdownDescription": "File encoding. The `ansi` option is only available under the `Windows` platform.",
2556
- "markdownEnumDescriptions": [
2557
- "%config.runtime.fileEncoding.utf8%",
2558
- "%config.runtime.fileEncoding.ansi%",
2559
- "%config.runtime.fileEncoding.utf16le%",
2560
- "%config.runtime.fileEncoding.utf16be%"
2561
- ],
2562
- "scope": 4,
2563
- "type": "string"
2564
- },
2565
- "Lua.runtime.meta": {
2566
- "default": "${version} ${language} ${encoding}",
2567
- "markdownDescription": "Format of the directory name of the meta files.",
2568
- "scope": 4,
2569
- "type": "string"
2570
- },
2571
- "Lua.runtime.nonstandardSymbol": {
2572
- "default": [],
2573
- "items": {
2574
- "enum": [
2575
- "//",
2576
- "/**/",
2577
- "`",
2578
- "+=",
2579
- "-=",
2580
- "*=",
2581
- "/=",
2582
- "%=",
2583
- "^=",
2584
- "//=",
2585
- "|=",
2586
- "&=",
2587
- "<<=",
2588
- ">>=",
2589
- "||",
2590
- "&&",
2591
- "!",
2592
- "!=",
2593
- "continue"
2594
- ],
2595
- "type": "string"
2596
- },
2597
- "markdownDescription": "Supports non-standard symbols. Make sure that your runtime environment supports these symbols.",
2598
- "scope": 4,
2599
- "type": "array"
2600
- },
2601
- "Lua.runtime.path": {
2602
- "default": [
2603
- "?.lua",
2604
- "?/init.lua"
2605
- ],
2606
- "items": {
2607
- "type": "string"
2608
- },
2609
- "markdownDescription": "When using `require`, how to find the file based on the input name.\nSetting this config to `?/init.lua` means that when you enter `require 'myfile'`, `${workspace}/myfile/init.lua` will be searched from the loaded files.\nif `runtime.pathStrict` is `false`, `${workspace}/**/myfile/init.lua` will also be searched.\nIf you want to load files outside the workspace, you need to set `Lua.workspace.library` first.\n",
2610
- "scope": 4,
2611
- "type": "array"
2612
- },
2613
- "Lua.runtime.pathStrict": {
2614
- "default": false,
2615
- "markdownDescription": "When enabled, `runtime.path` will only search the first level of directories, see the description of `runtime.path`.",
2616
- "scope": 4,
2617
- "type": "boolean"
2618
- },
2619
- "Lua.runtime.plugin": {
2620
- "default": "",
2621
- "markdownDescription": "Plugin path. Please read [wiki](https://github.com/sumneko/lua-language-server/wiki/Plugins) to learn more.",
2622
- "scope": 4,
2623
- "type": "string"
2624
- },
2625
- "Lua.runtime.pluginArgs": {
2626
- "default": [],
2627
- "items": {
2628
- "type": "string"
2629
- },
2630
- "markdownDescription": "Additional arguments for the plugin.",
2631
- "scope": 4,
2632
- "type": "array"
2633
- },
2634
- "Lua.runtime.special": {
2635
- "additionalProperties": false,
2636
- "default": [],
2637
- "markdownDescription": "The custom global variables are regarded as some special built-in variables, and the language server will provide special support\nThe following example shows that 'include' is treated as' require '.\n```json\n\"Lua.runtime.special\" : {\n \"include\" : \"require\"\n}\n```\n",
2638
- "patternProperties": {
2639
- ".*": {
2640
- "default": "require",
2641
- "enum": [
2642
- "_G",
2643
- "rawset",
2644
- "rawget",
2645
- "setmetatable",
2646
- "require",
2647
- "dofile",
2648
- "loadfile",
2649
- "pcall",
2650
- "xpcall",
2651
- "assert",
2652
- "error",
2653
- "type"
2654
- ],
2655
- "type": "string"
2656
- }
2657
- },
2658
- "scope": 4,
2659
- "title": "special",
2660
- "type": "object"
2661
- },
2662
- "Lua.runtime.unicodeName": {
2663
- "default": false,
2664
- "markdownDescription": "Allows Unicode characters in name.",
2665
- "scope": 4,
2666
- "type": "boolean"
2667
- },
2668
- "Lua.runtime.version": {
2669
- "default": "Lua 5.4",
2670
- "enum": [
2671
- "Lua 5.1",
2672
- "Lua 5.2",
2673
- "Lua 5.3",
2674
- "Lua 5.4",
2675
- "LuaJIT"
2676
- ],
2677
- "markdownDescription": "Lua runtime version.",
2678
- "markdownEnumDescriptions": [
2679
- "%config.runtime.version.Lua 5.1%",
2680
- "%config.runtime.version.Lua 5.2%",
2681
- "%config.runtime.version.Lua 5.3%",
2682
- "%config.runtime.version.Lua 5.4%",
2683
- "%config.runtime.version.LuaJIT%"
2684
- ],
2685
- "scope": 4,
2686
- "type": "string"
2687
- },
2688
- "Lua.semantic.annotation": {
2689
- "default": true,
2690
- "markdownDescription": "Semantic coloring of type annotations.",
2691
- "scope": 4,
2692
- "type": "boolean"
2693
- },
2694
- "Lua.semantic.enable": {
2695
- "default": true,
2696
- "markdownDescription": "Enable semantic color. You may need to set `editor.semanticHighlighting.enabled` to `true` to take effect.",
2697
- "scope": 4,
2698
- "type": "boolean"
2699
- },
2700
- "Lua.semantic.keyword": {
2701
- "default": false,
2702
- "markdownDescription": "Semantic coloring of keywords/literals/operators. You only need to enable this feature if your editor cannot do syntax coloring.",
2703
- "scope": 4,
2704
- "type": "boolean"
2705
- },
2706
- "Lua.semantic.variable": {
2707
- "default": true,
2708
- "markdownDescription": "Semantic coloring of variables/fields/parameters.",
2709
- "scope": 4,
2710
- "type": "boolean"
2711
- },
2712
- "Lua.signatureHelp.enable": {
2713
- "default": true,
2714
- "markdownDescription": "Enable signature help.",
2715
- "scope": 4,
2716
- "type": "boolean"
2717
- },
2718
- "Lua.spell.dict": {
2719
- "default": [],
2720
- "items": {
2721
- "type": "string"
2722
- },
2723
- "markdownDescription": "Custom words for spell checking.",
2724
- "scope": 4,
2725
- "type": "array"
2726
- },
2727
- "Lua.type.castNumberToInteger": {
2728
- "default": true,
2729
- "markdownDescription": "Allowed to assign the `number` type to the `integer` type.",
2730
- "scope": 4,
2731
- "type": "boolean"
2732
- },
2733
- "Lua.type.weakNilCheck": {
2734
- "default": false,
2735
- "markdownDescription": "When checking the type of union type, ignore the `nil` in it.\n\nWhen this setting is `false`, the `number|nil` type cannot be assigned to the `number` type. It can be with `true`.\n",
2736
- "scope": 4,
2737
- "type": "boolean"
2738
- },
2739
- "Lua.type.weakUnionCheck": {
2740
- "default": false,
2741
- "markdownDescription": "Once one subtype of a union type meets the condition, the union type also meets the condition.\n\nWhen this setting is `false`, the `number|boolean` type cannot be assigned to the `number` type. It can be with `true`.\n",
2742
- "scope": 4,
2743
- "type": "boolean"
2744
- },
2745
- "Lua.typeFormat.config": {
2746
- "additionalProperties": false,
2747
- "markdownDescription": "Configures the formatting behavior while typing Lua code.",
2748
- "properties": {
2749
- "auto_complete_end": {
2750
- "default": "true",
2751
- "description": "Controls if `end` is automatically completed at suitable positions.",
2752
- "type": "string"
2753
- },
2754
- "auto_complete_table_sep": {
2755
- "default": "true",
2756
- "description": "Controls if a separator is automatically appended at the end of a table declaration.",
2757
- "type": "string"
2758
- },
2759
- "format_line": {
2760
- "default": "true",
2761
- "description": "Controls if a line is formatted at all.",
2762
- "type": "string"
2763
- }
2764
- },
2765
- "scope": 4,
2766
- "title": "config",
2767
- "type": "object"
2768
- },
2769
- "Lua.window.progressBar": {
2770
- "default": true,
2771
- "markdownDescription": "Show progress bar in status bar.",
2772
- "scope": 4,
2773
- "type": "boolean"
2774
- },
2775
- "Lua.window.statusBar": {
2776
- "default": true,
2777
- "markdownDescription": "Show extension status in status bar.",
2778
- "scope": 4,
2779
- "type": "boolean"
2780
- },
2781
- "Lua.workspace.checkThirdParty": {
2782
- "default": true,
2783
- "markdownDescription": "Automatic detection and adaptation of third-party libraries, currently supported libraries are:\n\n* OpenResty\n* Cocos4.0\n* LÖVE\n* LÖVR\n* skynet\n* Jass\n",
2784
- "scope": 4,
2785
- "type": "boolean"
2786
- },
2787
- "Lua.workspace.ignoreDir": {
2788
- "default": [
2789
- ".vscode"
2790
- ],
2791
- "items": {
2792
- "type": "string"
2793
- },
2794
- "markdownDescription": "Ignored files and directories (Use `.gitignore` grammar).",
2795
- "scope": 4,
2796
- "type": "array"
2797
- },
2798
- "Lua.workspace.ignoreSubmodules": {
2799
- "default": true,
2800
- "markdownDescription": "Ignore submodules.",
2801
- "scope": 4,
2802
- "type": "boolean"
2803
- },
2804
- "Lua.workspace.library": {
2805
- "default": [],
2806
- "items": {
2807
- "type": "string"
2808
- },
2809
- "markdownDescription": "In addition to the current workspace, which directories will load files from. The files in these directories will be treated as externally provided code libraries, and some features (such as renaming fields) will not modify these files.",
2810
- "scope": 4,
2811
- "type": "array"
2812
- },
2813
- "Lua.workspace.maxPreload": {
2814
- "default": 5000,
2815
- "markdownDescription": "Max preloaded files.",
2816
- "scope": 4,
2817
- "type": "integer"
2818
- },
2819
- "Lua.workspace.preloadFileSize": {
2820
- "default": 500,
2821
- "markdownDescription": "Skip files larger than this value (KB) when preloading.",
2822
- "scope": 4,
2823
- "type": "integer"
2824
- },
2825
- "Lua.workspace.supportScheme": {
2826
- "default": [
2827
- "file",
2828
- "untitled",
2829
- "git"
2830
- ],
2831
- "items": {
2832
- "type": "string"
2833
- },
2834
- "markdownDescription": "Provide language server for the Lua files of the following scheme.",
2835
- "scope": 4,
2836
- "type": "array"
2837
- },
2838
- "Lua.workspace.useGitIgnore": {
2839
- "default": true,
2840
- "markdownDescription": "Ignore files list in `.gitignore` .",
2841
- "scope": 4,
2842
- "type": "boolean"
2843
- },
2844
- "Lua.workspace.userThirdParty": {
2845
- "default": [],
2846
- "items": {
2847
- "type": "string"
2848
- },
2849
- "markdownDescription": "Add private third-party library configuration file paths here, please refer to the built-in [configuration file path](https://github.com/sumneko/lua-language-server/tree/master/meta/3rd)",
2850
- "scope": 4,
2851
- "type": "array"
2852
- }
2853
- },
2854
- "title": "Lua",
2855
- "type": "object"
2856
- }
2857
- ];
2858
-
2859
- export { lua as default };