fix: more specific `method` type
This commit is contained in:
parent
139dc04a91
commit
910ab3a14d
2
init.lua
2
init.lua
|
@ -574,7 +574,7 @@ require('lazy').setup({
|
||||||
|
|
||||||
-- This function resolves a difference between neovim nightly (version 0.11) and stable (version 0.10)
|
-- This function resolves a difference between neovim nightly (version 0.11) and stable (version 0.10)
|
||||||
---@param client vim.lsp.Client
|
---@param client vim.lsp.Client
|
||||||
---@param method vim.lsp.protocol.Method
|
---@param method vim.lsp.protocol.Method.ClientToServer
|
||||||
---@param bufnr? integer some lsp support methods only in specific files
|
---@param bufnr? integer some lsp support methods only in specific files
|
||||||
---@return boolean
|
---@return boolean
|
||||||
local function client_supports_method(client, method, bufnr)
|
local function client_supports_method(client, method, bufnr)
|
||||||
|
|
Loading…
Reference in New Issue