File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -568,7 +568,7 @@ require('lazy').setup({
568568 --
569569 -- When you move your cursor, the highlights will be cleared (the second autocommand).
570570 local client = vim .lsp .get_client_by_id (event .data .client_id )
571- if client and client . supports_method (vim .lsp .protocol .Methods .textDocument_documentHighlight ) then
571+ if client and client : supports_method (vim .lsp .protocol .Methods .textDocument_documentHighlight ) then
572572 local highlight_augroup = vim .api .nvim_create_augroup (' kickstart-lsp-highlight' , { clear = false })
573573 vim .api .nvim_create_autocmd ({ ' CursorHold' , ' CursorHoldI' }, {
574574 buffer = event .buf ,
@@ -595,7 +595,7 @@ require('lazy').setup({
595595 -- code, if the language server you are using supports them
596596 --
597597 -- This may be unwanted, since they displace some of your code
598- if client and client . supports_method (vim .lsp .protocol .Methods .textDocument_inlayHint ) then
598+ if client and client : supports_method (vim .lsp .protocol .Methods .textDocument_inlayHint ) then
599599 map (' <leader>th' , function ()
600600 vim .lsp .inlay_hint .enable (not vim .lsp .inlay_hint .is_enabled { bufnr = event .buf })
601601 end , ' [T]oggle Inlay [H]ints' )
You can’t perform that action at this time.
0 commit comments