feat: update conf for gitsigns | format stuff
This commit is contained in:
parent
9e8fb9db74
commit
e408a1168f
@ -53,53 +53,53 @@ M.ui = {
|
|||||||
-- For Ex : if you have onedark set in nvchad, set onedark's bg color on your terminal
|
-- For Ex : if you have onedark set in nvchad, set onedark's bg color on your terminal
|
||||||
transparency = false,
|
transparency = false,
|
||||||
}
|
}
|
||||||
|
|
||||||
-- these are plugin related options
|
-- these are plugin related options
|
||||||
M.plugins = {
|
M.plugins = {
|
||||||
-- enable and disable plugins (false for disable)
|
-- enable and disable plugins (false for disable)
|
||||||
plugin_status = {
|
plugin_status = {
|
||||||
autosave = false, -- to autosave files
|
autosave = false, -- to autosave files
|
||||||
blankline = true, -- show code scope with symbols
|
blankline = true, -- show code scope with symbols
|
||||||
bufferline = true, -- list open buffers up the top, easy switching too
|
bufferline = true, -- list open buffers up the top, easy switching too
|
||||||
colorizer = false, -- color RGB, HEX, CSS, NAME color codes
|
colorizer = false, -- color RGB, HEX, CSS, NAME color codes
|
||||||
comment = true, -- easily (un)comment code, language aware
|
comment = true, -- easily (un)comment code, language aware
|
||||||
dashboard = false, -- NeoVim 'home screen' on open
|
dashboard = false, -- NeoVim 'home screen' on open
|
||||||
esc_insertmode = true, -- map to <ESC> with no lag
|
esc_insertmode = true, -- map to <ESC> with no lag
|
||||||
feline = true, -- statusline
|
feline = true, -- statusline
|
||||||
gitsigns = true, -- gitsigns in statusline
|
gitsigns = true, -- gitsigns in statusline
|
||||||
lspsignature = true, -- lsp enhancements
|
lspsignature = true, -- lsp enhancements
|
||||||
neoformat = true, -- universal code formatter
|
neoformat = true, -- universal code formatter
|
||||||
neoscroll = false, -- smooth scroll
|
neoscroll = false, -- smooth scroll
|
||||||
telescope_media = false, -- media previews within telescope finders
|
telescope_media = false, -- media previews within telescope finders
|
||||||
truezen = false, -- distraction free & minimalist UI mode
|
truezen = false, -- distraction free & minimalist UI mode
|
||||||
vim_fugitive = false, -- git integration & tooling
|
vim_fugitive = false, -- git integration & tooling
|
||||||
vim_matchup = false, -- % operator enhancements
|
vim_matchup = true, -- % operator enhancements
|
||||||
},
|
},
|
||||||
options = {
|
options = {
|
||||||
lspconfig = {
|
lspconfig = {
|
||||||
servers = {} -- eg: "html"
|
servers = {}, -- eg: "html"
|
||||||
},
|
|
||||||
nvimtree = {
|
|
||||||
enable_git = 0
|
|
||||||
},
|
|
||||||
statusline = { -- statusline related options
|
|
||||||
-- these are filetypes, not pattern matched
|
|
||||||
-- shown filetypes will overrule hidden filetypes
|
|
||||||
hidden = {
|
|
||||||
"help",
|
|
||||||
"dashboard",
|
|
||||||
"NvimTree",
|
|
||||||
"terminal",
|
|
||||||
},
|
},
|
||||||
shown = {},
|
nvimtree = {
|
||||||
-- default, round , slant , block , arrow
|
enable_git = 0,
|
||||||
style = "default",
|
},
|
||||||
},
|
statusline = { -- statusline related options
|
||||||
autosave = false, -- autosave on changed text or insert mode leave
|
-- these are filetypes, not pattern matched
|
||||||
-- timeout to be used for using escape with a key combination, see mappings.plugin.better_escape
|
-- shown filetypes will overrule hidden filetypes
|
||||||
esc_insertmode_timeout = 300,
|
hidden = {
|
||||||
},
|
"help",
|
||||||
default_plugin_config_replace = {},
|
"dashboard",
|
||||||
|
"NvimTree",
|
||||||
|
"terminal",
|
||||||
|
},
|
||||||
|
shown = {},
|
||||||
|
-- default, round , slant , block , arrow
|
||||||
|
style = "default",
|
||||||
|
},
|
||||||
|
autosave = false, -- autosave on changed text or insert mode leave
|
||||||
|
-- timeout to be used for using escape with a key combination, see mappings.plugin.better_escape
|
||||||
|
esc_insertmode_timeout = 300,
|
||||||
|
},
|
||||||
|
default_plugin_config_replace = {},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- mappings -- don't use a single keymap twice --
|
-- mappings -- don't use a single keymap twice --
|
||||||
@ -129,7 +129,7 @@ M.mappings = {
|
|||||||
moveRight = "<C-l>",
|
moveRight = "<C-l>",
|
||||||
moveUp = "<C-k>",
|
moveUp = "<C-k>",
|
||||||
moveDown = "<C-j>",
|
moveDown = "<C-j>",
|
||||||
},
|
},
|
||||||
-- terminal related mappings
|
-- terminal related mappings
|
||||||
terminal = {
|
terminal = {
|
||||||
-- multiple mappings can be given for esc_termmode and esc_hide_termmode
|
-- multiple mappings can be given for esc_termmode and esc_hide_termmode
|
||||||
@ -211,5 +211,4 @@ M.mappings.plugins = {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
@ -28,7 +28,7 @@ gitsigns.setup {
|
|||||||
},
|
},
|
||||||
|
|
||||||
status_formatter = nil, -- Use default
|
status_formatter = nil, -- Use default
|
||||||
watch_index = {
|
watch_gitdir = {
|
||||||
interval = 100,
|
interval = 100,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user