Cleanup
- Remove unused lsp config - Rename script
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
{{ if eq .chezmoi.osRelease.id "nixos" }}
|
||||||
|
exit 0
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
echo "Installing LSPs for Neovim..."
|
||||||
|
|
||||||
|
npm install -g --prefix ~/.local \
|
||||||
|
@vtsls/language-server \
|
||||||
|
@vue/language-server \
|
||||||
|
vscode-langservers-extracted
|
||||||
|
|
||||||
|
dotnet tool install -g roslyn-language-server --prerelease
|
||||||
|
dotnet tool install -g csharpier
|
||||||
|
|
||||||
|
echo "Done"
|
||||||
@@ -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