Support :browse for commands that use an error file argument. (Lech Lorens)

This commit is contained in:
Bram Moolenaar
2010-07-11 16:58:51 +02:00
parent 7e6d3bd3da
commit 9028b10dfe
8 changed files with 61 additions and 42 deletions

View File

@ -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