mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
Remove 'textmode' option
'textmode' is an option obsoleted for at least 10 years in favor of 'fileformat'.
This commit is contained in:

committed by
Thiago de Arruda

parent
a53f784738
commit
85b5a75a69
@@ -1608,9 +1608,10 @@ rewind_retry:
|
||||
if (fileformat == EOL_UNKNOWN)
|
||||
fileformat = default_fileformat();
|
||||
|
||||
/* if editing a new file: may set p_tx and p_ff */
|
||||
if (set_options)
|
||||
// May set 'p_ff' if editing a new file.
|
||||
if (set_options) {
|
||||
set_fileformat(fileformat, OPT_LOCAL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user