chore: update luarc

This commit is contained in:
kevinhwang91 2024-02-16 19:59:39 +08:00
parent c559afc2f0
commit e2252abcec
2 changed files with 3 additions and 4 deletions

View file

@ -4,14 +4,13 @@
"completion.displayContext": 50,
"completion.keywordSnippet": "Disable",
"completion.postfix": ".",
"diagnostics.libraryFiles": "Disable",
"diagnostics.libraryFiles": "Disable",
"diagnostics.disable": [
"different-requires",
"param-type-mismatch",
"assign-type-mismatch"
],
"diagnostics.globals": [
"vim",
"jit",
"it",
"describe",
@ -24,7 +23,7 @@
"type.castNumberToInteger": true,
"type.weakUnionCheck": true,
"workspace.library": [
"$VIM/site/pack/packer/start/emmylua-nvim",
"$VIM/runtime/lua",
"$VIM/site/pack/packer/start/promise-async/typings"
]
}

View file

@ -2,7 +2,7 @@
---@field provider_selector? function
---@field open_fold_hl_timeout number
---@field close_fold_kinds UfoFoldingRangeKind[]
---@field fold_virt_text_handler? function A global virtual text handler, reference to `ufo.setFoldVirtTextHandler`
---@field fold_virt_text_handler? UfoFoldVirtTextHandler A global virtual text handler, reference to `ufo.setFoldVirtTextHandler`
---@field enable_get_fold_virt_text boolean
---@field preview table
local def = {