php and indent
Cream is a free, easy-to-use configuration of the Vim text editor
Brought to you by:
digitect
From: Charles S. H. <sh...@wi...> - 2006-03-09 17:22:39
|
I can't get cream to properly indent PHP files. Autoindent doesn't work at all. Syntax highlighting seems to work OK, but not indentation. Toggling auto indent on and off seems to have absolutely no effect. Any ideas? Second question: When creating a file from a fresh buffer, vim has no idea what kind of file it is, and obviously neither does cream. In vim, I generally save the file, and then use ":e" to re-read it at which poing VIM recognizes what it is. How do you do the same thing quickly in cream? Right now I have to close the file and re-open it. Any way to get it to automatically recognize the file when I save it the first time? -- shannon "AT" widomaker.com -- ["If you tell the truth, you don't have to remember anything" -- Mark Twain] |