Mercurial > vim
comparison runtime/doc/options.txt @ 10579:688b97124d23 v8.0.0179
patch 8.0.0179: cannot have a local value for 'formatprg'
commit https://github.com/vim/vim/commit/9be7c04e6cd5b0facedcb56b09a5bcfc339efe03
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 14 14:28:30 2017 +0100
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 14 Jan 2017 14:30:04 +0100 |
parents | 883396809b45 |
children | 9a75c8a1b8b1 |
comparison
equal
deleted
inserted
replaced
10578:6bdfba1a1ee2 | 10579:688b97124d23 |
---|---|
3415 The default recognizes a number, followed by an optional punctuation | 3415 The default recognizes a number, followed by an optional punctuation |
3416 character and white space. | 3416 character and white space. |
3417 | 3417 |
3418 *'formatprg'* *'fp'* | 3418 *'formatprg'* *'fp'* |
3419 'formatprg' 'fp' string (default "") | 3419 'formatprg' 'fp' string (default "") |
3420 global | 3420 global or local to buffer |global-local| |
3421 {not in Vi} | 3421 {not in Vi} |
3422 The name of an external program that will be used to format the lines | 3422 The name of an external program that will be used to format the lines |
3423 selected with the |gq| operator. The program must take the input on | 3423 selected with the |gq| operator. The program must take the input on |
3424 stdin and produce the output on stdout. The Unix program "fmt" is | 3424 stdin and produce the output on stdout. The Unix program "fmt" is |
3425 such a program. | 3425 such a program. |