Re: .vimrc settings for editing Clojure code with VIM

2009-10-14 Thread MarkSwanson
> As far as the "sync fromstart" is concerned: I also use this setting > normally and never had problems. But since there might be a > performance hit, I didn't want to make it the default in VC. Did > others experience any slowdown? Or should I assume that modern > computers are fast enough and

Re: .vimrc settings for editing Clojure code with VIM

2009-10-13 Thread Meikel Brandmeyer
Hi, On Oct 14, 7:29 am, MarkSwanson wrote: > Edit: After using this it seems it didn't stick (or is not always > used?). More searching revealed that putting this in your ~/.vimrc > will work: > (and it seems to work for me - and I don't notice rendering slow down > at all) > > autocmd BufEnter

Re: .vimrc settings for editing Clojure code with VIM

2009-10-13 Thread MarkSwanson
Edit: After using this it seems it didn't stick (or is not always used?). More searching revealed that putting this in your ~/.vimrc will work: (and it seems to work for me - and I don't notice rendering slow down at all) autocmd BufEnter * :syntax sync fromstart Found from here: http://vim.wiki

.vimrc settings for editing Clojure code with VIM

2009-10-13 Thread MarkSwanson
0. Perhaps it should go without saying: start with vimclojure and the vim settings it recommends. 1. syntax sync minlines=200 This made a big difference for me. Without it I would always see brackets marked as 'not paired' or code as a big red text string because the syntax parser wouldn't l