Not that familiar with vim snippets so the below may already be
included with your snippets.
Something that would speed up coding and help to reduce errors:
1. The equivalent of parenthesis matching (using the '%' to match
paren's) but with if/end, switch/end, etc
or
2. A different color for each level of indenting for the words if/end.
Either the color of the if/end changes with each level of indent or
all the text between each level of indented if/end changes.
One of the examples from above:
if cond1 (color blue)
if cond2 (color blue-green)
if condA (color green)
end (color green)
end (color blue-green)
if cond3 (color blue-green)
end (color blue-green)
end (color blue)
On 5/17/12, steveno <
oliver...@gmail.com> wrote:
> This goes out to anyone on the list who's writing falcon using Vim. As some
> of you may know there is a vim plugin called snippets that allows you to
> quickly template out new pieces of code and then fill in the variables.
> Very neat stuff; honestly I never use it.
>
> For those that do, though, a while back I contributed a very basic set of
> templates for it. The latest versions can be found
> here<
https://github.com/honza/snipmate-snippets>and I personally recommend
> vundle <
https://github.com/gmarik/vundle> if you're going to start using
> them.
>
> I'm bringing this up because I'd like to know if anyone has any suggestions
> for new snippets or suggestions of improvement for current ones? I'm
> shortly going to add Try..Catch, Switch, and Select statements. Admittedly,
> when I do code in falcon I use a very small subset of what the language has
> to offer but I'm more than willing to expand on any of the tools I've
> contributed to help others take full advantage of the language.
>
> And by the way, for anyone who doesn't know, falcon highlighting and
> indentation is included upstream with Vim so you get it by default assuming
> you install a new enough version.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "FalconPL" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/falconpl/-/X6ZwKhqCGw4J.
> To post to this group, send email to
falc...@googlegroups.com.
> To unsubscribe from this group, send email to
>
falconpl+u...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/falconpl?hl=en.
>
>