mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
build(luarc.json): disable luadoc-miss-see-name #24108
This commit is contained in:
parent
94a904b453
commit
4dc86477b6
@ -13,6 +13,9 @@
|
|||||||
"teardown",
|
"teardown",
|
||||||
"finally",
|
"finally",
|
||||||
"lfs"
|
"lfs"
|
||||||
|
],
|
||||||
|
"disable": [
|
||||||
|
"luadoc-miss-see-name"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"workspace": {
|
"workspace": {
|
||||||
|
@ -1183,7 +1183,7 @@ function lsp.start_client(config)
|
|||||||
---
|
---
|
||||||
---@param code (integer) Error code
|
---@param code (integer) Error code
|
||||||
---@param err (...) Other arguments may be passed depending on the error kind
|
---@param err (...) Other arguments may be passed depending on the error kind
|
||||||
---@see `vim.lsp.rpc.client_errors` for possible errors. Use
|
---@see vim.lsp.rpc.client_errors for possible errors. Use
|
||||||
---`vim.lsp.rpc.client_errors[code]` to get a human-friendly name.
|
---`vim.lsp.rpc.client_errors[code]` to get a human-friendly name.
|
||||||
function dispatch.on_error(code, err)
|
function dispatch.on_error(code, err)
|
||||||
if log.error() then
|
if log.error() then
|
||||||
@ -2366,7 +2366,7 @@ function lsp.formatexpr(opts)
|
|||||||
}
|
}
|
||||||
local response =
|
local response =
|
||||||
client.request_sync('textDocument/rangeFormatting', params, timeout_ms, bufnr)
|
client.request_sync('textDocument/rangeFormatting', params, timeout_ms, bufnr)
|
||||||
if response.result then
|
if response and response.result then
|
||||||
lsp.util.apply_text_edits(response.result, 0, client.offset_encoding)
|
lsp.util.apply_text_edits(response.result, 0, client.offset_encoding)
|
||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user