On 10 September 2013 09:08, Gabor Urban <urbangabo@gmail.com> wrote:
autocmd FileType python setlocal shiftwidth=4
autocmd FileType ruby setlocal shiftwidth=2
-- HiI have a problem which is not a top priority issue, but quite annoying for me.I use different indention depth with different types of sources. It is rather time consuming to set it manually. Is there a possibility to defined these values to file extensions?
Have you tried autocmds? eg
autocmd FileType python setlocal shiftwidth=4
autocmd FileType ruby setlocal shiftwidth=2
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment