Support :browse for commands that use an error file argument. (Lech Lorens)
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
" VHDL indent ('93 syntax)
|
||||
" Language: VHDL
|
||||
" Maintainer: Gerald Lai <laigera+vim?gmail.com>
|
||||
" Version: 1.55
|
||||
" Last Change: 2010 Jun 27
|
||||
" Version: 1.56
|
||||
" Last Change: 2010 Jun 29
|
||||
" URL: http://www.vim.org/scripts/script.php?script_id=1450
|
||||
|
||||
" only load this indent file when no other was loaded
|
||||
@ -386,10 +386,10 @@ function GetVHDLindent()
|
||||
endif
|
||||
|
||||
" indent: -sw
|
||||
" keywords: "end" + identifier
|
||||
" keywords: "end" + identifier, ";"
|
||||
" where: start of current line
|
||||
"if curs =~? '^\s*end\s\+\w\+\>'
|
||||
if curs =~? '^\s*end\s'
|
||||
if curs =~? '^\s*end\%(\s\|;'.s:ES.'\)'
|
||||
return ind - &sw
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user