diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-22 16:50:16 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-05-22 16:50:16 +0200 |
| commit | 3e98a0bdb3b1546ba4d4651b0f803de1924e57d5 (patch) | |
| tree | d2baffdede07d6080b27a969058f071bf1420264 | |
| parent | e8a206ff279bee464b4ef96a5e0827f3bf39cb4e (diff) | |
| download | dotfiles-3e98a0bdb3b1546ba4d4651b0f803de1924e57d5.tar.gz dotfiles-3e98a0bdb3b1546ba4d4651b0f803de1924e57d5.zip | |
refactor(nvim): move updatetime option
| -rw-r--r-- | .config/nvim/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 1886743..30eb371 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -64,7 +64,6 @@ vim.api.nvim_create_autocmd({ "WinEnter", "TermOpen" }, { end, }) -vim.opt.updatetime = 1000 -- Swap file save frequency; also how often GitGutter signs update in ms -- Reload buffer when file has been modified outside of nvim vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold", "CursorHoldI" }, { desc = "Reload buffer when modified outside of nvim", @@ -173,6 +172,7 @@ vim.opt.showtabline = 2 -- Always show tabline vim.opt.list = true -- Display <Tab> and other non-printables vim.opt.winborder = "rounded" -- Rounded outline for floating windows vim.o.winbar = "%#WinBarCwd#%{fnamemodify(getcwd(),':~')}%* | %#WinBarFile#%f%*" +vim.opt.updatetime = 1000 -- Swap file save frequency; also how often GitGutter signs update in ms vim.opt.listchars = { -- Characters used by 'list' tab = "> ", -- Tab trail = "-", -- Trailing space |
