Skip to content

Commit a16282f

Browse files
chore(build): auto-generate vimdoc, schemas and annotations
1 parent f7ccc94 commit a16282f

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

schemas/rescriptls.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@
3636
"description": "(beta/experimental) Enable incremental type checking across files, so that unsaved file A gets access to unsaved file B.",
3737
"type": "boolean"
3838
},
39-
"rescript.settings.incrementalTypechecking.debugLogging": {
40-
"default": false,
41-
"description": "(debug) Enable debug logging (ends up in the extension output).",
42-
"type": "boolean"
43-
},
4439
"rescript.settings.incrementalTypechecking.enable": {
4540
"default": true,
4641
"description": "Enable incremental type checking.",
@@ -60,6 +55,17 @@
6055
"integer"
6156
]
6257
},
58+
"rescript.settings.logLevel": {
59+
"default": "info",
60+
"description": "Verbosity of ReScript language server logs sent to the Output channel.",
61+
"enum": [
62+
"error",
63+
"warn",
64+
"info",
65+
"log"
66+
],
67+
"type": "string"
68+
},
6369
"rescript.settings.platformPath": {
6470
"default": null,
6571
"description": "Path to the directory where platform-specific ReScript binaries are. You can use it if you haven't or don't want to use the installed ReScript from node_modules in your project.",

types/lsp.lua

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13124,8 +13124,6 @@
1312413124
---@class _.lspconfig.settings.rescriptls.IncrementalTypechecking
1312513125
-- (beta/experimental) Enable incremental type checking across files, so that unsaved file A gets access to unsaved file B.
1312613126
---@field acrossFiles boolean
13127-
-- (debug) Enable debug logging (ends up in the extension output).
13128-
---@field debugLogging boolean
1312913127
-- Enable incremental type checking.
1313013128
--
1313113129
-- ```lua
@@ -13172,6 +13170,12 @@
1317213170
---@field compileStatus _.lspconfig.settings.rescriptls.CompileStatus
1317313171
---@field incrementalTypechecking _.lspconfig.settings.rescriptls.IncrementalTypechecking
1317413172
---@field inlayHints _.lspconfig.settings.rescriptls.InlayHints
13173+
-- Verbosity of ReScript language server logs sent to the Output channel.
13174+
--
13175+
-- ```lua
13176+
-- default = "info"
13177+
-- ```
13178+
---@field logLevel "error" | "warn" | "info" | "log"
1317513179
-- Path to the directory where platform-specific ReScript binaries are. You can use it if you haven't or don't want to use the installed ReScript from node_modules in your project.
1317613180
---@field platformPath string
1317713181
-- Optional path to the directory containing the @rescript/runtime package. Set this if your tooling is unable to automatically locate the package in your project.

0 commit comments

Comments
 (0)