diff options
author | Chris <[email protected]> | 2021-05-06 02:23:33 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2021-05-06 02:23:33 -0400 |
commit | e93dbcf7ae1527965801af418882b0d5d40f222c (patch) | |
tree | b1635f2e5b6a8018f1e89ad15d732887b5b5b5c3 /lua | |
parent | c486fd117525c3183f9be369b7190600ca235563 (diff) |
make timeoutlen configurable
Diffstat (limited to 'lua')
-rw-r--r-- | lua/lv-globals.lua | 1 | ||||
-rw-r--r-- | lua/settings.lua | 2 |
2 files changed, 2 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" |