I am trying to get cindent to successfully indent a "semi-c-style" language.
It has all the standard constructions and the cindent feature works
quite well for most cases.
But the language uses := as assignment operator, and this causes
problems with cindent.
cindent always positions these statements at column 0, i have tried to
change cinoptions without success.
I suppose cindent thinks that these lines are labels of some kind.
So my question is: is it possible to disable cindent's recognition of
labels (the language does not have any anyway).
I have also tried to implement my own indentexpr but i still have
problems with := i dont know why though.
If its not possible to solve with cindent i would be really thankful
of any hints or help in regard to a indentexpr function for a c-like
language which uses := as the assignment operator.
BR gustaf
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment