Make updating text for conceal mode simpler. A few compiler warning fixes.

This commit is contained in:
Bram Moolenaar
2010-07-02 20:20:09 +02:00
parent 730cde924c
commit b2c0350c67
17 changed files with 324 additions and 267 deletions

View File

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