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 @@ -521,7 +521,7 @@ require('lazy').setup({
521521 --
522522 -- When you move your cursor, the highlights will be cleared (the second autocommand).
523523 local client = vim .lsp .get_client_by_id (event .data .client_id )
524- if client and client . supports_method (vim .lsp .protocol .Methods .textDocument_documentHighlight ) then
524+ if client and client : supports_method (vim .lsp .protocol .Methods .textDocument_documentHighlight ) then
525525 local highlight_augroup = vim .api .nvim_create_augroup (' kickstart-lsp-highlight' , { clear = false })
526526 vim .api .nvim_create_autocmd ({ ' CursorHold' , ' CursorHoldI' }, {
527527 buffer = event .buf ,
@@ -548,7 +548,7 @@ require('lazy').setup({
548548 -- code, if the language server you are using supports them
549549 --
550550 -- This may be unwanted, since they displace some of your code
551- if client and client . supports_method (vim .lsp .protocol .Methods .textDocument_inlayHint ) then
551+ if client and client : supports_method (vim .lsp .protocol .Methods .textDocument_inlayHint ) then
552552 map (' <leader>th' , function ()
553553 vim .lsp .inlay_hint .enable (not vim .lsp .inlay_hint .is_enabled { bufnr = event .buf })
554554 end , ' [T]oggle Inlay [H]ints' )
You can’t perform that action at this time.
0 commit comments