aboutsummaryrefslogtreecommitdiff
path: root/runtime/indent/xinetd.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-11-06 11:22:55 +0100
committerGitHub <noreply@github.com>2017-11-06 11:22:55 +0100
commit946c2a8ee85830c543e389724575ae531e89b170 (patch)
tree23aa73c016b3f3941917605cd1742dfe8ca7e1fd /runtime/indent/xinetd.vim
parent8f03014e8861df7f49bf4e1dbdfcc20e1611ce35 (diff)
parentc348f84f218434580209a2c52552ba8fbbf1864b (diff)
downloadrneovim-946c2a8ee85830c543e389724575ae531e89b170.tar.gz
rneovim-946c2a8ee85830c543e389724575ae531e89b170.tar.bz2
rneovim-946c2a8ee85830c543e389724575ae531e89b170.zip
Merge #7491 'vim-patch: runtime'
Diffstat (limited to 'runtime/indent/xinetd.vim')
-rw-r--r--runtime/indent/xinetd.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/indent/xinetd.vim b/runtime/indent/xinetd.vim
index c8127237e8..977ee3d33b 100644
--- a/runtime/indent/xinetd.vim
+++ b/runtime/indent/xinetd.vim
@@ -1,7 +1,7 @@
" Vim indent file
-" Language: xinetd.conf(5) configuration file
-" Maintainer: Nikolai Weibull <now@bitwi.se>
-" Latest Revision: 2006-12-20
+" Language: xinetd.conf(5) configuration file
+" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
+" Latest Revision: 2006-12-20
if exists("b:did_indent")
finish
@@ -47,8 +47,8 @@ function GetXinetdIndent()
return 0
endif
- return indent(pnum) + s:count_braces(pnum, 1) * &sw
- \ - s:count_braces(v:lnum, 0) * &sw
+ return indent(pnum) + s:count_braces(pnum, 1) * shiftwidth()
+ \ - s:count_braces(v:lnum, 0) * shiftwidth()
endfunction
let &cpo = s:keepcpo