Mercurial > vim
comparison src/option.h @ 25487:c26ff3203b43 v8.2.3280
patch 8.2.3280: 'virtualedit' local to buffer is not the best solution
Commit: https://github.com/vim/vim/commit/51ad850f5fbafa7aa3f60affa74ec9c9f992c6cc
Author: Gary Johnson <garyjohn@spocom.com>
Date: Tue Aug 3 18:33:08 2021 +0200
patch 8.2.3280: 'virtualedit' local to buffer is not the best solution
Problem: 'virtualedit' local to buffer is not the best solution.
Solution: Make it window-local. (Gary Johnson, closes https://github.com/vim/vim/issues/8685)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 03 Aug 2021 18:45:04 +0200 |
parents | ac88cd21ae88 |
children | 416237f1de22 |
comparison
equal
deleted
inserted
replaced
25486:9ca6ec7da094 | 25487:c26ff3203b43 |
---|---|
1050 EXTERN unsigned ve_flags; | 1050 EXTERN unsigned ve_flags; |
1051 #define VE_BLOCK 5 // includes "all" | 1051 #define VE_BLOCK 5 // includes "all" |
1052 #define VE_INSERT 6 // includes "all" | 1052 #define VE_INSERT 6 // includes "all" |
1053 #define VE_ALL 4 | 1053 #define VE_ALL 4 |
1054 #define VE_ONEMORE 8 | 1054 #define VE_ONEMORE 8 |
1055 #define VE_NONE 16 | 1055 #define VE_NONE 16 // "none" |
1056 #define VE_NONEU 32 // Upper-case NONE | 1056 #define VE_NONEU 32 // "NONE" |
1057 EXTERN long p_verbose; // 'verbose' | 1057 EXTERN long p_verbose; // 'verbose' |
1058 #ifdef IN_OPTION_C | 1058 #ifdef IN_OPTION_C |
1059 char_u *p_vfile = (char_u *)""; // used before options are initialized | 1059 char_u *p_vfile = (char_u *)""; // used before options are initialized |
1060 #else | 1060 #else |
1061 extern char_u *p_vfile; // 'verbosefile' | 1061 extern char_u *p_vfile; // 'verbosefile' |