From e2252abcec3beb0c429bec59c59278ae59c882b1 Mon Sep 17 00:00:00 2001 From: kevinhwang91 Date: Fri, 16 Feb 2024 19:59:39 +0800 Subject: [PATCH] chore: update luarc --- .luarc.jsonc | 5 ++--- lua/ufo/config.lua | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.luarc.jsonc b/.luarc.jsonc index a94ef23..3d35ee8 100644 --- a/.luarc.jsonc +++ b/.luarc.jsonc @@ -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" ] } diff --git a/lua/ufo/config.lua b/lua/ufo/config.lua index 2eefe4e..ad841c8 100644 --- a/lua/ufo/config.lua +++ b/lua/ufo/config.lua @@ -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 = {