mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
js 默认配置
This commit is contained in:
parent
a03125cee6
commit
75ca4c310f
1 changed files with 7 additions and 3 deletions
|
|
@ -50,14 +50,18 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
["js/ts"] = {
|
||||||
|
implicitProjectConfig = {
|
||||||
|
checkJs = true,
|
||||||
|
strictNullChecks = true,
|
||||||
|
strictFunctionTypes = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
typescript = {
|
typescript = {
|
||||||
updateImportsOnFileMove = { enabled = "always" },
|
updateImportsOnFileMove = { enabled = "always" },
|
||||||
suggest = {
|
suggest = {
|
||||||
completeFunctionCalls = true,
|
completeFunctionCalls = true,
|
||||||
},
|
},
|
||||||
implicitProjectConfiguration = {
|
|
||||||
checkJs = true,
|
|
||||||
},
|
|
||||||
inlayHints = {
|
inlayHints = {
|
||||||
enumMemberValues = { enabled = true },
|
enumMemberValues = { enabled = true },
|
||||||
functionLikeReturnTypes = { enabled = true },
|
functionLikeReturnTypes = { enabled = true },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue