mirror of
https://github.com/tpope/vim-haml.git
synced 2026-10-27 08:03:17 +08:00
Remove unused variables
This commit is contained in:
1 parent
3126b9a8b5
commit
2824214c61
1 file changed
-2
@@ -26,10 +26,8 @@ function! GetSassIndent()
|
||||
let lnum = prevnonblank(v:lnum-1)
|
||||
let line = substitute(getline(lnum),'\s\+$','','')
|
||||
let cline = substitute(substitute(getline(v:lnum),'\s\+$','',''),'^\s\+','','')
|
||||
let lastcol = strlen(line)
|
||||
let line = substitute(line,'^\s\+','','')
|
||||
let indent = indent(lnum)
|
||||
let cindent = indent(v:lnum)
|
||||
if line !~ s:property && line !~ s:extend && cline =~ s:property
|
||||
return indent + shiftwidth()
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user