Skip to content

Commit 6919034

Browse files
committed
refactor: adjust to review comments
1 parent f29d539 commit 6919034

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lsp/roslyn_ls.lua

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
44

55
local uv = vim.uv
66
local fs = vim.fs
@@ -10,21 +10,21 @@ local fs = vim.fs
1010
local function on_init_sln(client, target)
1111
vim.notify('Initializing: ' .. target, vim.log.levels.INFO, { title = 'roslyn_ls' })
1212
---@diagnostic disable-next-line: param-type-mismatch
13-
client:request('solution/open', {
13+
client:notify('solution/open', {
1414
solution = vim.uri_from_fname(target),
15-
}, function(_, _, _) end)
15+
})
1616
end
1717

1818
---@param client vim.lsp.Client
1919
---@param project_files string[]
2020
local function on_init_project(client, project_files)
2121
vim.notify('Initializing: projects', vim.log.levels.INFO, { title = 'roslyn_ls' })
2222
---@diagnostic disable-next-line: param-type-mismatch
23-
client:request('project/open', {
23+
client:notify('project/open', {
2424
projects = vim.tbl_map(function(file)
2525
return vim.uri_from_fname(file)
2626
end, project_files),
27-
}, function(_, _, _) end)
27+
})
2828
end
2929

3030
local function roslyn_handlers()

0 commit comments

Comments
 (0)