Hi tyk2271707491! On Do, 01 Sep 2016, [email protected] wrote:
> Hi all, > > I use vim to edit metapost file (.mp file), and get the .mp file > indentation from the website: > https://github.com/vim/vim/blob/master/runtime/syntax/mp.vim. That is a syntax file. > However, sometimes it doesn't work, especially the "end" at the end > of the file sometimes at the left bottom, sometimes at the right. So > I am wondering how to do proper indentation. Would someone give me a > pointer? Thanks. The proper indent file is https://github.com/vim/vim/blob/master/runtime/indent/mp.vim You need to make sure to have `:filetype plugin inden on` in your .vimrc to make it become active for mp files. However, it is certainly possible, that it does not work perfectly for you. You might therefore ask the maintainer of the file (see the top) if he can fix an issue you have. Best, Christian -- Klatschen heißt anderer Leute Sünden beichten. -- Wilhelm Busch -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
