@@ -244,7 +244,7 @@ local function apply_action(action, client, enriched_ctx)
244244 arguments = command .arguments ,
245245 workDoneToken = command .workDoneToken ,
246246 }
247- client . request (' workspace/executeCommand' , params , nil , enriched_ctx .bufnr )
247+ client : request (' workspace/executeCommand' , params , nil , enriched_ctx .bufnr )
248248 end
249249 end
250250 clean_ctx ()
@@ -254,7 +254,7 @@ function act:support_resolve(client)
254254 if vim .version ().minor >= 10 then
255255 local reg = client .dynamic_capabilities :get (' textDocument/codeAction' , { bufnr = ctx .bufnr })
256256 return vim .tbl_get (reg or {}, ' registerOptions' , ' resolveProvider' )
257- or client . supports_method (' codeAction/resolve' )
257+ or client : supports_method (' codeAction/resolve' )
258258 end
259259 return vim .tbl_get (client .server_capabilities , ' codeActionProvider' , ' resolveProvider' )
260260end
@@ -263,12 +263,12 @@ function act:get_resolve_action(client, action, bufnr)
263263 if not self :support_resolve (client ) then
264264 return
265265 end
266- return client . request_sync (' codeAction/resolve' , action , 1500 , bufnr ).result
266+ return client : request_sync (' codeAction/resolve' , action , 1500 , bufnr ).result
267267end
268268
269269function act :do_code_action (action , client , enriched_ctx )
270270 if not action .edit and client and self :support_resolve (client ) then
271- client . request (' codeAction/resolve' , action , function (err , resolved_action )
271+ client : request (' codeAction/resolve' , action , function (err , resolved_action )
272272 if err then
273273 vim .notify (err .code .. ' : ' .. err .message , vim .log .levels .ERROR )
274274 return
0 commit comments