mirror of
https://github.com/zoriya/vim.git
synced 2026-06-03 12:07:11 +00:00
Update runtime files.
This commit is contained in:
@@ -26,12 +26,12 @@ function GetTreetopIndent()
|
||||
let line = getline(pnum)
|
||||
|
||||
if line =~ '^\s*\%(grammar\|module\|rule\)\>'
|
||||
let ind += &sw
|
||||
let ind += shiftwidth()
|
||||
endif
|
||||
|
||||
let line = getline(v:lnum)
|
||||
if line =~ '^\s*end\>'
|
||||
let ind -= &sw
|
||||
let ind -= shiftwidth()
|
||||
end
|
||||
|
||||
retur ind
|
||||
|
||||
Reference in New Issue
Block a user