aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorraichoo <raichoo@googlemail.com>2017-03-09 17:33:51 +0100
committerraichoo <raichoo@googlemail.com>2017-03-19 21:14:11 +0100
commit0f5c3f111ab130f5cbb5943082ea5e877c1c2f4c (patch)
tree6ef5b9a051b32a9e8577150f2ab05f993a0fe07d /src/nvim/options.lua
parent2ad25c04663da7d08da94db84dc6ded7df11ea87 (diff)
downloadrneovim-0f5c3f111ab130f5cbb5943082ea5e877c1c2f4c.tar.gz
rneovim-0f5c3f111ab130f5cbb5943082ea5e877c1c2f4c.tar.bz2
rneovim-0f5c3f111ab130f5cbb5943082ea5e877c1c2f4c.zip
vim-patch:8.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 vim/vim#1380) https://github.com/vim/vim/commit/9be7c04e6cd5b0facedcb56b09a5bcfc339efe03
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 1476fdda2c..853c2b52d7 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -948,7 +948,7 @@ return {
},
{
full_name='formatprg', abbreviation='fp',
- type='string', scope={'global'},
+ type='string', scope={'global', 'buffer'},
secure=true,
vi_def=true,
expand=true,