Skip to content

Commit 6775b45

Browse files
Fixing settings not being applied when saving as a new file
1 parent f5debdf commit 6775b45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/buffer/save.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,6 @@ func (b *Buffer) saveToFile(filename string, withSudo bool, autoSave bool) error
232232
absPath, _ := filepath.Abs(filename)
233233
b.AbsPath = absPath
234234
b.isModified = false
235-
b.UpdateRules()
235+
b.ReloadSettings(true)
236236
return err
237237
}

0 commit comments

Comments
 (0)