aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-03-17 22:12:39 +0100
committerGitHub <noreply@github.com>2019-03-17 22:12:39 +0100
commitf3e7815e613305b10badf4f8bfaf5870dfb506bb (patch)
treef91d3b1083718421e3919c94f18830aceedb1034 /src/nvim/options.lua
parentd86c816f8cae993dd21ab6ce932eb36a3e965dcb (diff)
parent94d933aa7e3fde09d45a59cfb289afdab4ce4aaa (diff)
downloadrneovim-f3e7815e613305b10badf4f8bfaf5870dfb506bb.tar.gz
rneovim-f3e7815e613305b10badf4f8bfaf5870dfb506bb.tar.bz2
rneovim-f3e7815e613305b10badf4f8bfaf5870dfb506bb.zip
Merge #9747 from janlazo/vim-8.1.0858
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 81133ae15c..30c234686f 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -44,6 +44,8 @@ local N_=function(s)
return 'N_(' .. cstr(s) .. ')'
end
end
+-- used for 'cinkeys' and 'indentkeys'
+local indentkeys_default = '0{,0},0),0],:,0#,!^F,o,O,e';
return {
cstr=cstr,
options={
@@ -319,7 +321,7 @@ return {
vi_def=true,
alloced=true,
varname='p_cink',
- defaults={if_true={vi="0{,0},0),:,0#,!^F,o,O,e"}}
+ defaults={if_true={vi=indentkeys_default}}
},
{
full_name='cinoptions', abbreviation='cino',
@@ -1218,7 +1220,7 @@ return {
vi_def=true,
alloced=true,
varname='p_indk',
- defaults={if_true={vi="0{,0},:,0#,!^F,o,O,e"}}
+ defaults={if_true={vi=indentkeys_default}}
},
{
full_name='infercase', abbreviation='inf',