@codingame/monaco-editor-wrapper 3.9.3 → 4.0.0-next.1

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