refactor(options): remove fileformat macros

This commit is contained in:
Famiu Haque
2024-11-03 16:36:26 +06:00
parent 079e5f4f9b
commit cbc9a03f58
5 changed files with 14 additions and 25 deletions

View File

@@ -2684,7 +2684,9 @@ return {
abbreviation = 'ff',
cb = 'did_set_fileformat',
defaults = {
if_true = macros('DFLT_FF', 'string'),
condition = 'USE_CRNL',
if_true = 'dos',
if_false = 'unix',
doc = 'Windows: "dos", Unix: "unix"',
},
desc = [=[
@@ -2717,7 +2719,9 @@ return {
abbreviation = 'ffs',
cb = 'did_set_fileformats',
defaults = {
if_true = macros('DFLT_FFS_VIM', 'string'),
condition = 'USE_CRNL',
if_true = 'dos,unix',
if_false = 'unix,dos',
doc = 'Windows: "dos,unix", Unix: "unix,dos"',
},
deny_duplicates = true,