summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/config/defaults.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-11-17 22:24:43 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-11-17 22:24:43 +0100
commita3690ed8ca90823787fbaddb72f0a1874f1e999d (patch)
tree1b79521fdf10c133aa643e6b2e46522ab6b79097 /.config/nvim/lua/config/defaults.lua
parente953e2ee53503dcf070a7763743e4a76abb4518d (diff)
Add lunarvim update to lsp/general
Diffstat (limited to '.config/nvim/lua/config/defaults.lua')
-rw-r--r--.config/nvim/lua/config/defaults.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/.config/nvim/lua/config/defaults.lua b/.config/nvim/lua/config/defaults.lua
index a4b1140..87ef57a 100644
--- a/.config/nvim/lua/config/defaults.lua
+++ b/.config/nvim/lua/config/defaults.lua
@@ -3,7 +3,12 @@ return {
colorscheme = "dark",
line_wrap_cursor_movement = true,
transparent_window = false,
- format_on_save = true,
+ format_on_save = {
+ ---@usage pattern string pattern used for the autocommand (Default: '*')
+ pattern = "*",
+ ---@usage timeout number timeout in ms for the format request (Default: 1000)
+ timeout = 1000,
+ },
keys = {},
builtin = {},