mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
'cpoptions': Remove "H" flag #2556
This commit is contained in:
parent
115f137b12
commit
d6209fa9f0
@ -1773,10 +1773,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
argument will set the file name for the current
|
argument will set the file name for the current
|
||||||
buffer, if the current buffer doesn't have a file name
|
buffer, if the current buffer doesn't have a file name
|
||||||
yet. Also see |cpo-P|.
|
yet. Also see |cpo-P|.
|
||||||
*cpo-H*
|
|
||||||
H When using "I" on a line with only blanks, insert
|
|
||||||
before the last blank. Without this flag insert after
|
|
||||||
the last blank.
|
|
||||||
*cpo-i*
|
*cpo-i*
|
||||||
i When included, interrupting the reading of a file will
|
i When included, interrupting the reading of a file will
|
||||||
leave it modified.
|
leave it modified.
|
||||||
|
@ -7010,10 +7010,7 @@ static void nv_edit(cmdarg_T *cap)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'I': /* "I"nsert before the first non-blank */
|
case 'I': /* "I"nsert before the first non-blank */
|
||||||
if (vim_strchr(p_cpo, CPO_INSEND) == NULL)
|
beginline(BL_WHITE);
|
||||||
beginline(BL_WHITE);
|
|
||||||
else
|
|
||||||
beginline(BL_WHITE|BL_FIX);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'a': /* "a"ppend is like "i"nsert on the next character. */
|
case 'a': /* "a"ppend is like "i"nsert on the next character. */
|
||||||
|
@ -95,7 +95,6 @@
|
|||||||
#define CPO_EMPTYREGION 'E' /* operating on empty region is an error */
|
#define CPO_EMPTYREGION 'E' /* operating on empty region is an error */
|
||||||
#define CPO_FNAMER 'f' /* set file name for ":r file" */
|
#define CPO_FNAMER 'f' /* set file name for ":r file" */
|
||||||
#define CPO_FNAMEW 'F' /* set file name for ":w file" */
|
#define CPO_FNAMEW 'F' /* set file name for ":w file" */
|
||||||
#define CPO_INSEND 'H' /* "I" inserts before last blank in line */
|
|
||||||
#define CPO_INTMOD 'i' /* interrupt a read makes buffer modified */
|
#define CPO_INTMOD 'i' /* interrupt a read makes buffer modified */
|
||||||
#define CPO_INDENT 'I' /* remove auto-indent more often */
|
#define CPO_INDENT 'I' /* remove auto-indent more often */
|
||||||
#define CPO_JOINSP 'j' /* only use two spaces for join after '.' */
|
#define CPO_JOINSP 'j' /* only use two spaces for join after '.' */
|
||||||
@ -144,9 +143,9 @@
|
|||||||
* cursor would not move */
|
* cursor would not move */
|
||||||
/* default values for Vim, Vi and POSIX */
|
/* default values for Vim, Vi and POSIX */
|
||||||
#define CPO_VIM "aABceFs"
|
#define CPO_VIM "aABceFs"
|
||||||
#define CPO_VI "aAbBcCdDeEfFHiIjJkKlLmMnoOpPqrRsStuvWxXyZ$!%*-+<>;"
|
#define CPO_VI "aAbBcCdDeEfFiIjJkKlLmMnoOpPqrRsStuvWxXyZ$!%*-+<>;"
|
||||||
#define CPO_ALL \
|
#define CPO_ALL \
|
||||||
"aAbBcCdDeEfFHiIjJkKlLmMnoOpPqrRsStuvWxXyZ$!%*-+<>#{|&/\\.;"
|
"aAbBcCdDeEfFiIjJkKlLmMnoOpPqrRsStuvWxXyZ$!%*-+<>#{|&/\\.;"
|
||||||
|
|
||||||
/* characters for p_ww option: */
|
/* characters for p_ww option: */
|
||||||
#define WW_ALL "bshl<>[],~"
|
#define WW_ALL "bshl<>[],~"
|
||||||
|
Loading…
Reference in New Issue
Block a user