Skip to content

Commit

Permalink
Fixing settings not being applied when saving as a new file
Browse files Browse the repository at this point in the history
  • Loading branch information
Neko-Box-Coder committed Jan 23, 2025
1 parent f5debdf commit 6775b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/buffer/save.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,6 @@ func (b *Buffer) saveToFile(filename string, withSudo bool, autoSave bool) error
absPath, _ := filepath.Abs(filename)
b.AbsPath = absPath
b.isModified = false
b.UpdateRules()
b.ReloadSettings(true)
return err
}

0 comments on commit 6775b45

Please sign in to comment.