From d2dc0e2582254c11b394cf26929a779f275e5624 Mon Sep 17 00:00:00 2001 From: Shadow Cat Date: Sat, 27 May 2023 13:42:30 -0400 Subject: [PATCH] fix sign, fix terminal tab, switch csharp lsp --- lua/config/mappings.lua | 1 + lua/config/settings.lua | 2 +- lua/plugins/lspconfig.lua | 12 +----------- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/lua/config/mappings.lua b/lua/config/mappings.lua index c916552..a89981e 100644 --- a/lua/config/mappings.lua +++ b/lua/config/mappings.lua @@ -3,6 +3,7 @@ local u = require "config.utils" -- terminal local m = u.mapping m.map("t", "", "") +m.map("t", "", "") m.map("t", "", "h") m.map("t", "", "j") m.map("t", "", "k") diff --git a/lua/config/settings.lua b/lua/config/settings.lua index de9bc11..492b8aa 100644 --- a/lua/config/settings.lua +++ b/lua/config/settings.lua @@ -32,7 +32,7 @@ else end -- diagnostics -local signs = { Error = " ", Warn = " ", Hint = " ", Info = " " } +local signs = { Error = " ", Warn = " ", Hint = "", Info = " " } for type, icon in pairs(signs) do local hl = "DiagnosticSign" .. type vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = hl }) diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index 47c8801..30fdf5b 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -28,17 +28,7 @@ local config = function() root_dir = c.util.root_pattern("package.json", "tsconfig.json", "jsconfig.json"), single_file_support = false, } - c.omnisharp.setup { - cmd = { "omnisharp" }, - - enable_editorconfig_support = true, - enable_ms_build_load_projects_on_demand = false, - enable_roslyn_analyzers = false, - organize_imports_on_format = false, - enable_import_completion = false, - sdk_include_prereleases = true, - analyze_open_documents_only = false, - } + c.csharp_ls.setup {} c.typst_lsp.setup { cmd = { "/home/bryan/repos/typst-lsp/target/release/typst-lsp" }, }