File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ return {
7171 -- the rest of the autocmd options (:h nvim_create_autocmd)
7272 desc = " Refresh codelens (buffer)" ,
7373 callback = function (args )
74- if require (" astrolsp" ).config .features .codelens then vim .lsp .codelens .refresh { bufnr = args .buf } end
74+ if require (" astrolsp" ).config .features .codelens then vim .lsp .codelens .enable ( true , { bufnr = args .buf }) end
7575 end ,
7676 },
7777 },
@@ -89,7 +89,7 @@ return {
8989 function () require (" astrolsp.toggles" ).buffer_semantic_tokens () end ,
9090 desc = " Toggle LSP semantic highlight (buffer)" ,
9191 cond = function (client )
92- return client . supports_method " textDocument/semanticTokens/full" and vim .lsp .semantic_tokens ~= nil
92+ return client : supports_method " textDocument/semanticTokens/full" and vim .lsp .semantic_tokens ~= nil
9393 end ,
9494 },
9595 },
You can’t perform that action at this time.
0 commit comments