summaryrefslogtreecommitdiff
path: root/runtime/indent/sass.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-06-13 18:12:01 +0200
committerBram Moolenaar <Bram@vim.org>2017-06-13 18:12:01 +0200
commit3ec574f2b549f456f664f689d6da36dc5719aeb9 (patch)
tree8aa7d766ebc0eb3919fdc678e6f48dd0a2b36673 /runtime/indent/sass.vim
parent2102035488e80ef6fd5038ed15d21672712ba0f6 (diff)
downloadvim-git-3ec574f2b549f456f664f689d6da36dc5719aeb9.tar.gz
Update runtime files.
Includes changing &sw to shiftwidth() for all indent scripts.
Diffstat (limited to 'runtime/indent/sass.vim')
-rw-r--r--runtime/indent/sass.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/sass.vim b/runtime/indent/sass.vim
index d87b371fd..d6dbf3a8b 100644
--- a/runtime/indent/sass.vim
+++ b/runtime/indent/sass.vim
@@ -1,7 +1,7 @@
" Vim indent file
" Language: Sass
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
-" Last Change: 2016 Aug 29
+" Last Change: 2017 Jun 13
if exists("b:did_indent")
finish
@@ -29,7 +29,7 @@ function! GetSassIndent()
let indent = indent(lnum)
let cindent = indent(v:lnum)
if line !~ s:property && line !~ s:extend && cline =~ s:property
- return indent + (exists('*shiftwidth') ? shiftwidth() : &sw)
+ return indent + shiftwidth()
else
return -1
endif