feat(gitsign): move gitsign config to gitsign.lua
This commit is contained in:
@@ -7,39 +7,6 @@
|
||||
lvim.colorscheme = "melange"
|
||||
lvim.builtin.breadcrumbs.active = false
|
||||
|
||||
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" }
|
||||
|
||||
@@ -50,7 +17,9 @@ require "configs.bufferline"
|
||||
require "configs.dropbar"
|
||||
require "configs.dap"
|
||||
require "configs.acmp"
|
||||
require "configs.gitsigns"
|
||||
require "configs.colorizer"
|
||||
require "configs.autotag"
|
||||
require "configs.prettier"
|
||||
require "configs.nvimufo"
|
||||
require "configs.notify"
|
||||
|
||||
33
lvim/lua/configs/gitsigns.lua
Normal file
33
lvim/lua/configs/gitsigns.lua
Normal file
@@ -0,0 +1,33 @@
|
||||
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",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user