micro/internal
Dmitry Maluka 359b58a89b Don't rewrite settings.json when registering options
It doesn't seem necessary to write settings to settings.json when
registering a new option. The option is set to its default value, which
means that it will not be written to settings.json (precisely because
it's the default value), so the contents of settings.json don't change
and thus don't need to be written again.

This unneeded writing, in particular, causes unexpected "The file on
disk has changed. Reload file? (y,n,esc)" each time when we open
settings.json via micro.

Fixes #2647
2023-11-03 01:11:05 +01:00
..
action Add reload setting - finalization of #2627 (#2845) 2023-10-22 00:18:41 +02:00
buffer Fixed newline format detection for files not ending with a newline (#2875) 2023-10-16 11:03:03 +02:00
clipboard Use zyedidia/clipper for external clipboard 2022-06-14 08:40:57 -04:00
config Don't rewrite settings.json when registering options 2023-11-03 01:11:05 +01:00
display Add 'scrollbarchar' option (#2342) 2023-07-08 14:02:01 -07:00
info Add HistorySearchUp and HistorySearchDown actions (#1829) 2023-07-08 14:00:22 -07:00
lua chore: os.SEEK_CUR os.SEEK_END os.SEEK_SET has been deprecated since Go 1.7 (#2856) 2023-07-04 12:13:41 -07:00
screen Add fakecursor option 2023-01-26 18:02:54 -08:00
shell Fix term output capturing 2023-09-08 23:27:39 -07:00
util util.HttpRequest helper to make requests with headers (#2678) 2023-01-30 01:29:06 -08:00
views Fix unsplit crash 2020-02-08 21:06:13 -05:00