mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-31 14:26:36 -04:00
Move text editor determination to cli package
This commit is contained in:
@@ -66,11 +66,6 @@ func WriteConfig(configFileMap map[string]string, append bool) {
|
||||
|
||||
// create LIBMUTTON section
|
||||
libmuttonSection, _ = cfg.NewSection("LIBMUTTON")
|
||||
|
||||
// set default textEditor value
|
||||
if configFileMap["textEditor"] == "" {
|
||||
configFileMap["textEditor"] = textEditorFallback()
|
||||
}
|
||||
}
|
||||
|
||||
// write provided configFileMap key-value pairs to the LIBMUTTON section
|
||||
|
||||
Reference in New Issue
Block a user