[nvim] Fix mess with lsps
This commit is contained in:
1 parent
ee534f54c9
commit
398a020c63
4 files changed
-51
No files matched your search
@@ -6,8 +6,6 @@ require("config.autocmds")
|
|||||||
require("config.lazy")
|
require("config.lazy")
|
||||||
require("config.theme") -- ignored by git
|
require("config.theme") -- ignored by git
|
||||||
|
|
||||||
require("config.lsp")
|
|
||||||
|
|
||||||
vim.lsp.enable({
|
vim.lsp.enable({
|
||||||
"html",
|
"html",
|
||||||
"lua_ls",
|
"lua_ls",
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
return {
|
|
||||||
cmd = {
|
|
||||||
'roslyn-language-server',
|
|
||||||
'--logLevel',
|
|
||||||
'Information',
|
|
||||||
'--extensionLogDirectory',
|
|
||||||
vim.fs.joinpath(vim.uv.os_tmpdir(), 'roslyn_ls/logs'),
|
|
||||||
'--stdio',
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
|
||||||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
|
||||||
|
|
||||||
vim.lsp.config("html", {
|
|
||||||
capabilities = capabilities,
|
|
||||||
})
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
return {
|
|
||||||
settings = {
|
|
||||||
["csharp|background_analysis"] = {
|
|
||||||
dotnet_analyzer_diagnostics_scope = "fullSolution",
|
|
||||||
dotnet_compiler_diagnostics_scope = "fullSolution",
|
|
||||||
},
|
|
||||||
["csharp|inlay_hints"] = {
|
|
||||||
csharp_enable_inlay_hints_for_implicit_object_creation = true,
|
|
||||||
csharp_enable_inlay_hints_for_implicit_variable_types = true,
|
|
||||||
csharp_enable_inlay_hints_for_lambda_parameter_types = true,
|
|
||||||
csharp_enable_inlay_hints_for_types = true,
|
|
||||||
dotnet_enable_inlay_hints_for_indexer_parameters = true,
|
|
||||||
dotnet_enable_inlay_hints_for_literal_parameters = true,
|
|
||||||
dotnet_enable_inlay_hints_for_object_creation_parameters = true,
|
|
||||||
dotnet_enable_inlay_hints_for_other_parameters = true,
|
|
||||||
dotnet_enable_inlay_hints_for_parameters = true,
|
|
||||||
dotnet_suppress_inlay_hints_for_parameters_that_differ_only_by_suffix = true,
|
|
||||||
dotnet_suppress_inlay_hints_for_parameters_that_match_argument_name = true,
|
|
||||||
dotnet_suppress_inlay_hints_for_parameters_that_match_method_intent = true,
|
|
||||||
},
|
|
||||||
["csharp|symbol_search"] = {
|
|
||||||
dotnet_search_reference_assemblies = true,
|
|
||||||
},
|
|
||||||
["csharp|completion"] = {
|
|
||||||
dotnet_show_name_completion_suggestions = true,
|
|
||||||
dotnet_show_completion_items_from_unimported_namespaces = true,
|
|
||||||
dotnet_provide_regex_completions = true,
|
|
||||||
},
|
|
||||||
["csharp|code_lens"] = {
|
|
||||||
dotnet_enable_references_code_lens = true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user