diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-02 20:20:09 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-02 20:20:09 +0200 |
commit | b2c0350c67736b0e054718fb5bf136147ee2261e (patch) | |
tree | a1b4a9651813cbb1d8cb1b2362760f5c54e47976 /runtime/indent/vhdl.vim | |
parent | 730cde924cea50977bdbfa5b977180bfaa188a27 (diff) |
Make updating text for conceal mode simpler. A few compiler warning fixes.
Diffstat (limited to 'runtime/indent/vhdl.vim')
-rw-r--r-- | runtime/indent/vhdl.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/indent/vhdl.vim b/runtime/indent/vhdl.vim index 9940cc5b5e..a849a2d13b 100644 --- a/runtime/indent/vhdl.vim +++ b/runtime/indent/vhdl.vim @@ -1,8 +1,8 @@ " VHDL indent ('93 syntax) " Language: VHDL " Maintainer: Gerald Lai <laigera+vim?gmail.com> -" Version: 1.54 -" Last Change: 2007 Aug 17 +" Version: 1.55 +" Last Change: 2010 Jun 27 " URL: http://www.vim.org/scripts/script.php?script_id=1450 " only load this indent file when no other was loaded @@ -156,7 +156,7 @@ function GetVHDLindent() let ps = getline(pn) while pn > 0 let t = indent(pn) - if ps !~ '^\s*--' && t < ind + if ps !~ '^\s*--' && (t < ind || (t == ind && m == 3)) " make sure one of these is true " keywords: variable + "<=" without ";" ending " where: start of previous non-comment line |