summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/config/defaults.lua
diff options
context:
space:
mode:
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 = {},