1
- --- borrowed some source from: https://github.com/seblj/roslyn.nvim
2
- -- config that activates keymaps and enables snippet support
3
- --- comment
1
+ --- @brief
2
+ ---
3
+ -- https://github.com/dotnet/roslyn
4
4
5
5
local uv = vim .uv
6
6
local fs = vim .fs
@@ -10,21 +10,21 @@ local fs = vim.fs
10
10
local function on_init_sln (client , target )
11
11
vim .notify (' Initializing: ' .. target , vim .log .levels .INFO , { title = ' roslyn_ls' })
12
12
--- @diagnostic disable-next-line : param-type-mismatch
13
- client :request (' solution/open' , {
13
+ client :notify (' solution/open' , {
14
14
solution = vim .uri_from_fname (target ),
15
- }, function ( _ , _ , _ ) end )
15
+ })
16
16
end
17
17
18
18
--- @param client vim.lsp.Client
19
19
--- @param project_files string[]
20
20
local function on_init_project (client , project_files )
21
21
vim .notify (' Initializing: projects' , vim .log .levels .INFO , { title = ' roslyn_ls' })
22
22
--- @diagnostic disable-next-line : param-type-mismatch
23
- client :request (' project/open' , {
23
+ client :notify (' project/open' , {
24
24
projects = vim .tbl_map (function (file )
25
25
return vim .uri_from_fname (file )
26
26
end , project_files ),
27
- }, function ( _ , _ , _ ) end )
27
+ })
28
28
end
29
29
30
30
local function roslyn_handlers ()
0 commit comments