diff --git a/lvim/config.lua b/lvim/config.lua index 61606a9..16498b0 100644 --- a/lvim/config.lua +++ b/lvim/config.lua @@ -7,16 +7,44 @@ lvim.colorscheme = "melange" lvim.builtin.breadcrumbs.active = false -lvim.lsp.automatic_servers_installation = false -lvim.lsp.automatic_configuration.skipped_servers = { "rust_analyzer", "rust-analyzer", "typst_lsp", "typst-lsp" } -require"lspconfig".tinymist.setup{ - exportPdf = "onType", - outputPath = "$root/target/$dir/$name", +lvim.builtin.gitsigns.opts.signs = { + add = { + hl = "GitSignsAdd", + text = " ┃", + numhl = "GitSignsAddNr", + linehl = "GitSignsAddLn", + }, + change = { + hl = "GitSignsChange", + text = " ┃", + numhl = "GitSignsChangeNr", + linehl = "GitSignsChangeLn", + }, + delete = { + hl = "GitSignsDelete", + text = " ", + numhl = "GitSignsDeleteNr", + linehl = "GitSignsDeleteLn", + }, + topdelete = { + hl = "GitSignsDelete", + text = " ", + numhl = "GitSignsDeleteNr", + linehl = "GitSignsDeleteLn", + }, + changedelete = { + hl = "GitSignsChange", + text = " ┃", + numhl = "GitSignsChangeNr", + linehl = "GitSignsChangeLn", + }, } +lvim.lsp.automatic_servers_installation = false +lvim.lsp.automatic_configuration.skipped_servers = { "rust_analyzer" } + require "plugins.init" require "mappings" -require "configs.autocommand" require "configs.nvimtree" require "configs.bufferline" require "configs.dropbar" @@ -26,5 +54,3 @@ require "configs.colorizer" require "configs.autotag" require "configs.prettier" require "configs.nvimufo" - -vim.lsp.inlay_hint.enable(true)