vim doesn't indent pascal code properly
I'm trying to indent a large pascal program, using VIM.
Searched Internet but didn't find nothing useful.
Discover that the last change in file pascal.vim was in 2011. This script file is supposed to indent a pascal code accordingly, but basic keywords like "begin", "if", "var", doesn't indent block codes after them.
When executing
gg=G
for example, to automatically indent all the code, it doesn't work.
I have already setted up the options "autoindent", "smartindent", "tabstop", "shiftwidth".
链接地址: http://www.djcxy.com/p/8726.html下一篇: vim不会正确缩进pascal代码