Author: jkeenan
Date: Fri Jan 16 17:24:07 2009
New Revision: 35656
Modified:
trunk/editor/indent_pir.vim
Log:
Applying patch submitted by Jimmy Zhuo in https://trac.parrot.org/parrot/ticket/176: Better indentation in line following a line consisting of a LABEL: and a comment.
Modified: trunk/editor/indent_pir.vim
==============================================================================
--- trunk/editor/indent_pir.vim (original)
+++ trunk/editor/indent_pir.vim Fri Jan 16 17:24:07 2009
@@ -56,7 +56,7 @@
let SUB = '^\s*\.pcc_sub\s\+\|^\s*\.sub\s\+\|^\s*\.macro\s\+'
let RETURNBLOCK = '\s*\.begin_return\s*$'
let END = '^\s*\.end\s*$\|^\s*\.end_return\s*\|^\s*\.endm$'
- let LABEL = '^\s*\k\+:\s*$'
+ let LABEL = '^\s*\k\+:'
if prevline =~? SUB
let ind = ind + &sw
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.