Open
Description
This is my neovim setup for my unity project:
["omnisharp"] = function()
lspconfig["omnisharp"].setup({
on_attach = on_attach,
capabilities = capabilities,
cmd = { "omnisharp", "--languageserver", "--hostPID", tostring(pid) },
root_dir = lspconfig.util.root_pattern("*.csproj", "*.sln"),
handlers = {
["textDocument/definition"] = omnisharp_extended.handler,
["textDocument/references"] = omnisharp_extended.handler,
["textDocument/implementation"] = omnisharp_extended.handler,
["textDocument/typeDefinition"] = omnisharp_extended.handler,
},
settings = {
FormattingOptions = {
EnableEditorConfigSupport = true,
},
RoslynExtensionsOptions = {
EnableAnalyzersSupport = false, -- Disable analyzers for better performance
EnableImportCompletion = false, -- Disable import completion to improve completion time
EnableDecompilationSupport = true, -- Enable decompilation support (optional)
},
},
})
end,
it takes around 5 minutes until everything is loaded - this is unacceptable - gopls loads my insane big project instantly.
do i need to exclude some directories or something or is this startup speed normal? If yes, how?
file tree depth 1
├── Assets
├── Library
├── LocalPackages
├── Logs
├── Packages
├── ProjectSettings
├── Temp
├── UserSettings
└── obj
Metadata
Metadata
Assignees
Labels
No labels