diff options
-rw-r--r-- | lua/lv-globals.lua | 1 | ||||
-rw-r--r-- | lua/settings.lua | 2 | ||||
-rw-r--r-- | lv-settings.lua | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/lua/lv-globals.lua b/lua/lv-globals.lua index c284d826..cc464f65 100644 --- a/lua/lv-globals.lua +++ b/lua/lv-globals.lua @@ -7,6 +7,7 @@ O = { number = true, relative_number = true, shell = 'bash', + timeoutlen = 100, -- @usage pass a table with your desired languages treesitter = { diff --git a/lua/settings.lua b/lua/settings.lua index 82262dd5..4116f340 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -32,7 +32,7 @@ vim.o.backup = false -- This is recommended by coc vim.o.writebackup = false -- This is recommended by coc vim.wo.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time vim.o.updatetime = 300 -- Faster completion -vim.o.timeoutlen = 500 -- By default timeoutlen is 1000 ms +vim.o.timeoutlen = O.timeoutlen -- By default timeoutlen is 1000 ms vim.o.clipboard = "unnamedplus" -- Copy paste between vim and everything else -- vim.o.guifont = "JetBrainsMono\\ Nerd\\ Font\\ Mono:h18" -- vim.o.guifont = "Hack\\ Nerd\\ Font\\ Mono" diff --git a/lv-settings.lua b/lv-settings.lua index 21599146..d9754471 100644 --- a/lv-settings.lua +++ b/lv-settings.lua @@ -12,6 +12,7 @@ O.auto_complete = true O.colorscheme = 'lunar' O.auto_close_tree = 0 O.wrap_lines = false +O.timeoutlen = 100 -- dashboard -- O.dashboard.custom_header = {""} |