mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
Remove POSIX 'cpoptions': '&'
This commit is contained in:
@@ -587,8 +587,7 @@ void ml_close(buf_T *buf, int del_file)
|
||||
void ml_close_all(int del_file)
|
||||
{
|
||||
FOR_ALL_BUFFERS(buf) {
|
||||
ml_close(buf, del_file && ((buf->b_flags & BF_PRESERVED) == 0
|
||||
|| vim_strchr(p_cpo, CPO_PRESERVE) == NULL));
|
||||
ml_close(buf, del_file && ((buf->b_flags & BF_PRESERVED) == 0));
|
||||
}
|
||||
spell_delete_wordlist(); /* delete the internal wordlist */
|
||||
vim_deltempdir(); /* delete created temp directory */
|
||||
|
@@ -129,7 +129,6 @@
|
||||
#define CPO_SPECI '<' /* don't recognize <> in mappings */
|
||||
#define CPO_REGAPPEND '>' /* insert NL when appending to a register */
|
||||
/* POSIX flags */
|
||||
#define CPO_PRESERVE '&' /* keep swap file after :preserve */
|
||||
#define CPO_SUBPERCENT '/' /* % in :s string uses previous one */
|
||||
#define CPO_BACKSL '\\' /* \ is not special in [] */
|
||||
#define CPO_CHDIR '.' /* don't chdir if buffer is modified */
|
||||
@@ -139,7 +138,7 @@
|
||||
#define CPO_VIM "aABceFs"
|
||||
#define CPO_VI "aAbBcCdDeEfFiIJkKlLmMnoOpPqrRsStuvWxXyZ$!%+<>;"
|
||||
#define CPO_ALL \
|
||||
"aAbBcCdDeEfFiIJkKlLmMnoOpPqrRsStuvWxXyZ$!%+<>&/\\.;"
|
||||
"aAbBcCdDeEfFiIJkKlLmMnoOpPqrRsStuvWxXyZ$!%+<>/\\.;"
|
||||
|
||||
/* characters for p_ww option: */
|
||||
#define WW_ALL "bshl<>[],~"
|
||||
|
Reference in New Issue
Block a user