diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-01-14 14:28:30 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-01-14 14:28:30 +0100 |
commit | 9be7c04e6cd5b0facedcb56b09a5bcfc339efe03 (patch) | |
tree | 8904427003c2cea7b63ffae1e0570a54f5c77e87 /src/structs.h | |
parent | 9b73c4a215cb5f0f7df1e7f0663aea2bce1914ab (diff) | |
download | vim-9be7c04e6cd5b0facedcb56b09a5bcfc339efe03.zip |
patch 8.0.0179: cannot have a local value for 'formatprg'
Problem: 'formatprg' is a global option but the value may depend on the
type of buffer. (Sung Pae)
Solution: Make 'formatprg' global-local. (closes #1380)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index 3fdfb5fcd..9c0e0468b 100644 --- a/src/structs.h +++ b/src/structs.h @@ -2097,6 +2097,7 @@ struct file_buffer long_u b_p_inde_flags; /* flags for 'indentexpr' */ char_u *b_p_indk; /* 'indentkeys' */ #endif + char_u *b_p_fp; /* 'formatprg' */ #if defined(FEAT_EVAL) char_u *b_p_fex; /* 'formatexpr' */ long_u b_p_fex_flags; /* flags for 'formatexpr' */ |