Skip to content

Commit 4179d4f

Browse files
committed
fix(config)!: set auto_write to true by default
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
1 parent 8d94858 commit 4179d4f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ By default, `setup()` loads with the following options:
134134
```lua
135135
{
136136
-- Whether to automatically save the file when a boolean is changed
137-
auto_write = false,
137+
auto_write = true,
138138

139139
-- A list of strings with the filetypes for which this plugin will be deactivated
140140
ignore_ft = {},

lua/boolean-toggle/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ local M = {}
2727
---@return BooleanToggleDefaults defaults
2828
function M.get_defaults()
2929
return { ---@type BooleanToggleDefaults
30-
auto_write = false,
30+
auto_write = true,
3131
ignore_ft = {},
3232
keymaps = { toggle = nil, to_false = nil, to_true = nil },
3333
}

0 commit comments

Comments
 (0)