File tree Expand file tree Collapse file tree 3 files changed +19
-9
lines changed
Expand file tree Collapse file tree 3 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 5555 - name : luajit
5656 uses : leafo/gh-actions-lua@v10
5757 with :
58- luaVersion : " luajit-2.1.0-beta3 "
58+ luaVersion : " luajit-2.1"
5959
6060 - name : luarocks
6161 uses : leafo/gh-actions-luarocks@v4
Original file line number Diff line number Diff line change @@ -71,9 +71,11 @@ function symbol:buf_watcher(bufnr, group)
7171end
7272
7373function symbol :do_request (buf , client_id )
74- local params = { textDocument = {
75- uri = vim .uri_from_bufnr (buf ),
76- } }
74+ local params = {
75+ textDocument = {
76+ uri = vim .uri_from_bufnr (buf ),
77+ },
78+ }
7779
7880 local client = vim .lsp .get_client_by_id (client_id )
7981 if not client then
@@ -184,7 +186,10 @@ function symbol:register_module()
184186 end
185187 self :buf_watcher (args .buf , group )
186188
187- if config .implement .enable and util .client_supports_method (client , ' textDocument/implementation' ) then
189+ if
190+ config .implement .enable
191+ and util .client_supports_method (client , ' textDocument/implementation' )
192+ then
188193 require (' lspsaga.implement' ).start ()
189194 end
190195 end ,
Original file line number Diff line number Diff line change @@ -91,9 +91,11 @@ function symbol:do_request(buf, client_id)
9191 return
9292 end
9393
94- local params = { textDocument = {
95- uri = vim .uri_from_bufnr (buf ),
96- } }
94+ local params = {
95+ textDocument = {
96+ uri = vim .uri_from_bufnr (buf ),
97+ },
98+ }
9799
98100 local client = vim .lsp .get_client_by_id (client_id )
99101 if not client then
@@ -200,7 +202,10 @@ function symbol:register_module()
200202 require (' lspsaga.symbol.winbar' ).init_winbar (args .buf )
201203 end
202204
203- if config .implement .enable and util .client_supports_method (client , ' textDocument/implementation' ) then
205+ if
206+ config .implement .enable
207+ and util .client_supports_method (client , ' textDocument/implementation' )
208+ then
204209 require (' lspsaga.implement' ).start ()
205210 end
206211 end ,
You can’t perform that action at this time.
0 commit comments