I'm using vim to edit files that use a programming language where the end of line is not marked with ;. This causes problems when I try to fix indentation in vim. If I put a ; at the end then vim is able to correctly fix the indentation, but since this programming language doesn't have a ; at the end of a statement the indentation isn't correct after vim tries to fix it. How can vim be modified so that it works correctly with this programming language? |
What programming language? There's probably already a correct syntax file out there. If not, have a look at the Python vim file. Python doesn't use semicolons either. You may be able to cobble together a proper syntax file using that. answered 23 Aug '10, 06:31 Sander Marechal |
Here is a link to the python.vim script on the vim website. answered 23 Aug '10, 20:27 indienick |