diff --git a/lua/core/default_config.lua b/lua/core/default_config.lua index 389095a..1224e8e 100644 --- a/lua/core/default_config.lua +++ b/lua/core/default_config.lua @@ -53,53 +53,53 @@ M.ui = { -- For Ex : if you have onedark set in nvchad, set onedark's bg color on your terminal transparency = false, } - + -- these are plugin related options M.plugins = { - -- enable and disable plugins (false for disable) - plugin_status = { - autosave = false, -- to autosave files - blankline = true, -- show code scope with symbols - bufferline = true, -- list open buffers up the top, easy switching too - colorizer = false, -- color RGB, HEX, CSS, NAME color codes - comment = true, -- easily (un)comment code, language aware - dashboard = false, -- NeoVim 'home screen' on open - esc_insertmode = true, -- map to with no lag - feline = true, -- statusline - gitsigns = true, -- gitsigns in statusline - lspsignature = true, -- lsp enhancements - neoformat = true, -- universal code formatter - neoscroll = false, -- smooth scroll - telescope_media = false, -- media previews within telescope finders - truezen = false, -- distraction free & minimalist UI mode - vim_fugitive = false, -- git integration & tooling - vim_matchup = false, -- % operator enhancements + -- enable and disable plugins (false for disable) + plugin_status = { + autosave = false, -- to autosave files + blankline = true, -- show code scope with symbols + bufferline = true, -- list open buffers up the top, easy switching too + colorizer = false, -- color RGB, HEX, CSS, NAME color codes + comment = true, -- easily (un)comment code, language aware + dashboard = false, -- NeoVim 'home screen' on open + esc_insertmode = true, -- map to with no lag + feline = true, -- statusline + gitsigns = true, -- gitsigns in statusline + lspsignature = true, -- lsp enhancements + neoformat = true, -- universal code formatter + neoscroll = false, -- smooth scroll + telescope_media = false, -- media previews within telescope finders + truezen = false, -- distraction free & minimalist UI mode + vim_fugitive = false, -- git integration & tooling + vim_matchup = true, -- % operator enhancements }, - options = { - lspconfig = { - 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", + options = { + lspconfig = { + servers = {}, -- eg: "html" }, - 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 = {}, + 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 = {}, + -- 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 -- @@ -129,7 +129,7 @@ M.mappings = { moveRight = "", moveUp = "", moveDown = "", - }, + }, -- terminal related mappings terminal = { -- multiple mappings can be given for esc_termmode and esc_hide_termmode @@ -211,5 +211,4 @@ M.mappings.plugins = { }, } - return M diff --git a/lua/plugins/configs/gitsigns.lua b/lua/plugins/configs/gitsigns.lua index a33a46a..f2b58f6 100644 --- a/lua/plugins/configs/gitsigns.lua +++ b/lua/plugins/configs/gitsigns.lua @@ -28,7 +28,7 @@ gitsigns.setup { }, status_formatter = nil, -- Use default - watch_index = { + watch_gitdir = { interval = 100, }, }