Okay, I have made the modifications as suggestion (syntax folder where you put the ck.vim file, and the filetype.vim file) but when I run $vim filename.ck I see no highlighting. Is there something else I need to do to use this functionality?
- rohit --
Yes, it's written in the wiki too:
"Tip from Graham Percival: " If you cannot write to /usr/share/ (lacking root privileges), " enter these commands: " $ echo "syntax on" >> ~/.vimrc " $ mkdir ~/.vim " $ mkdir ~/.vim/syntax " $ cp ck.vim ~/.vim/syntax/ " $ echo "if exists(\"did_load_filetypes\") " finish " endif " augroup filetypedetect " au! BufNewFile,BufRead *.ck setf ck " augroup END" >> ~/.vim/filetype.vim
cheers Thomas
I don't get it, Thomas. I asked if there is 'something else' I need to do, having made the modifications using sudo (root). Now you are asking me to also take actions suggested in the case that I DO NOT have root privileges. Please clarify what you're suggesting. ------- -.- 1/f ))) --. ------- ... http://www.algomantra.com