Changeset 4301

Show
Ignore:
Timestamp:
06/03/08 04:52:56 (4 months ago)
Author:
pmoura
Message:

Fixed an auto-indentation bug when opening and closing a conditional block in a single line in the last goal a predicate clause body. Thanks to Victor Noel for the bug report.

Location:
trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/RELEASE_NOTES.txt

    r4300 r4301  
    3838    Updated the syntax coloring support for the Vim text editor to properly  
    3939    highlight quoted atoms and strings in the opening directive of parametric 
    40     objects. 
     40    objects. Fixed an auto-indentation bug when opening and closing a  
     41    conditional block in a single line in the last goal a predicate clause  
     42    body. Thanks to Victor Noel for the bug report. 
    4143 
    4244 
  • trunk/wenv/vim/indent/logtalk.vim

    r3072 r4301  
    11"  Maintainer:  Paulo Moura <pmoura@logtalk.org> 
    2 "  Revised on:  2006.10.22 
     2"  Revised on:  2008.06.02 
    33"  Language:    Logtalk 
    44 
     
    5151    endif 
    5252    " Check for opening conditional on previous line 
    53     if pline =~ '^\s*\([(;]\|->\)' 
     53    if pline =~ '^\s*\([(;]\|->\)' && pline !~ '\.\s*\(%.*\)\?$' 
    5454        let ind = ind + &sw 
    5555    endif 
  • trunk/wenv/vim/NOTES.txt

    r4297 r4301  
    88 
    99This directory contains files that provides syntax highlighting, code  
    10 folding, and code completion for editing Logtalk source files with the  
    11 text editor Vim 7.0 or later version: 
     10folding, code completion, and auto-indentation for editing Logtalk  
     11source files with the text editor Vim 7.0 or later version: 
    1212 
    1313    http://www.vim.org/