fix sign, fix terminal tab, switch csharp lsp

This commit is contained in:
iris committed 2023-05-27 13:42:30 -04:00
1 parent e48261c322
commit d2dc0e2582
3 files changed
+3 -12

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ local u = require "config.utils"
-- terminal
local m = u.mapping
m.map("t", "<esc>", "<C-\\><C-n>")
m.map("t", "<tab>", "<tab>")
m.map("t", "<C-n>", "<C-\\><C-n><C-w>h")
m.map("t", "<C-e>", "<C-\\><C-n><C-w>j")
m.map("t", "<C-i>", "<C-\\><C-n><C-w>k")
+1 -1
View File
@@ -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 })
+1 -11
View File
@@ -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" },
}