From 13754c0c194be2f6df27ca8c4eccae3ec4c36623 Mon Sep 17 00:00:00 2001 From: aloslider <53711835+aloslider@users.noreply.github.com> Date: Tue, 21 Apr 2026 19:35:13 +0300 Subject: [PATCH] Cleanup - Remove unused lsp config - Rename script --- ...n_onchange_11_install-neovim-tools.sh.tmpl | 18 ++++++++++ .../nvim/benq/lua/config/lsp/roslyn.lua | 33 ------------------- 2 files changed, 18 insertions(+), 33 deletions(-) create mode 100644 .chezmoiscripts/run_onchange_11_install-neovim-tools.sh.tmpl delete mode 100644 dot_config/nvim/benq/lua/config/lsp/roslyn.lua diff --git a/.chezmoiscripts/run_onchange_11_install-neovim-tools.sh.tmpl b/.chezmoiscripts/run_onchange_11_install-neovim-tools.sh.tmpl new file mode 100644 index 0000000..9c7a02b --- /dev/null +++ b/.chezmoiscripts/run_onchange_11_install-neovim-tools.sh.tmpl @@ -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" diff --git a/dot_config/nvim/benq/lua/config/lsp/roslyn.lua b/dot_config/nvim/benq/lua/config/lsp/roslyn.lua deleted file mode 100644 index 151ec33..0000000 --- a/dot_config/nvim/benq/lua/config/lsp/roslyn.lua +++ /dev/null @@ -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, - }, - }, -}