Hi, On Oct 14, 7:29 am, MarkSwanson <mark.swanson...@gmail.com> 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 * :syntax sync fromstart > > Found from here:http://vim.wikia.com/wiki/Fix_syntax_highlighting
If you have Clojure specific settings you'd like to change you can put them also in .vim/after/ftplugin/clojure.vim. This has the advantage of ... ... no autocommands required. ... overriding VC settings if necessary. ... not being overwritten by a new installation of VC. Furthermore use 'setlocal' instead of 'set' to change the setting only for the current buffer instead of for whole Vim. Keymappings have a similar <buffer> option. 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 make it the default? Sincerely Meikel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---