-
Notifications
You must be signed in to change notification settings - Fork 18
/
omnisharp_extended.lua
30 lines (23 loc) · 1.11 KB
/
omnisharp_extended.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
local m_definition = require("definition")
local m_type_definition = require("type_definition")
local m_references = require("references")
local m_implementation = require("implementation")
local o_utils = require("omnisharp_utils")
local M = {}
-- kept for back-compat, new naming follows original LSP naming
M.handler = m_definition.handler
M.lsp_definitions = m_definition.omnisharp_command
M.telescope_lsp_definitions = m_definition.telescope_command
M.lsp_definition = m_definition.omnisharp_command
M.telescope_lsp_definition = m_definition.telescope_command
M.definition_handler = m_definition.handler
M.lsp_type_definition = m_type_definition.omnisharp_command
M.telescope_lsp_type_definition = m_type_definition.telescope_command
M.type_definition_handler = m_type_definition.handler
M.lsp_references = m_references.omnisharp_command
M.telescope_lsp_references = m_references.telescope_command
M.references_handler = m_references.handler
M.lsp_implementation = m_implementation.omnisharp_command
M.telescope_lsp_implementation = m_implementation.telescope_command
M.implementation_handler = m_implementation.handler
return M