mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
options: make 'fillchars'/'listchars' local to window
Using 'listchars' is a nice way to highlight tabs that were included by accident for buffers that set 'expandtab'. But maybe one does not want this for buffers that set 'noexpandtab', so now one can use: autocmd FileType go let &l:listchars .= ',tab: '
This commit is contained in:
@@ -842,26 +842,6 @@ extern char_u *compiled_sys;
|
||||
* directory is not a local directory, globaldir is NULL. */
|
||||
EXTERN char_u *globaldir INIT(= NULL);
|
||||
|
||||
// 'listchars' characters. Defaults are overridden in set_chars_option().
|
||||
EXTERN int lcs_eol INIT(= '$');
|
||||
EXTERN int lcs_ext INIT(= NUL);
|
||||
EXTERN int lcs_prec INIT(= NUL);
|
||||
EXTERN int lcs_nbsp INIT(= NUL);
|
||||
EXTERN int lcs_space INIT(= NUL);
|
||||
EXTERN int lcs_tab1 INIT(= NUL);
|
||||
EXTERN int lcs_tab2 INIT(= NUL);
|
||||
EXTERN int lcs_trail INIT(= NUL);
|
||||
EXTERN int lcs_conceal INIT(= ' ');
|
||||
|
||||
// 'fillchars' characters. Defaults are overridden in set_chars_option().
|
||||
EXTERN int fill_stl INIT(= ' ');
|
||||
EXTERN int fill_stlnc INIT(= ' ');
|
||||
EXTERN int fill_vert INIT(= 9474); // │
|
||||
EXTERN int fill_fold INIT(= 183); // ·
|
||||
EXTERN int fill_diff INIT(= '-');
|
||||
EXTERN int fill_msgsep INIT(= ' ');
|
||||
EXTERN int fill_eob INIT(= '~');
|
||||
|
||||
/* Whether 'keymodel' contains "stopsel" and "startsel". */
|
||||
EXTERN int km_stopsel INIT(= FALSE);
|
||||
EXTERN int km_startsel INIT(= FALSE);
|
||||
|
Reference in New Issue
Block a user