summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-01-14 14:28:30 +0100
committerBram Moolenaar <Bram@vim.org>2017-01-14 14:28:30 +0100
commit9be7c04e6cd5b0facedcb56b09a5bcfc339efe03 (patch)
tree8904427003c2cea7b63ffae1e0570a54f5c77e87 /runtime
parent9b73c4a215cb5f0f7df1e7f0663aea2bce1914ab (diff)
patch 8.0.0179: cannot have a local value for 'formatprg'v8.0.0179
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 'runtime')
-rw-r--r--runtime/doc/options.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 3d8e053f48..88dca60b77 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -3417,7 +3417,7 @@ A jump table for the options with a short description can be found at |Q_op|.
*'formatprg'* *'fp'*
'formatprg' 'fp' string (default "")
- global
+ global or local to buffer |global-local|
{not in Vi}
The name of an external program that will be used to format the lines
selected with the |gq| operator. The program must take the input on