Tuesday, December 27, 2011

Re: why is Vim coloring text in txt files?

Tony Mechelynck wrote the following on 26.12.2011 11:38

Hello Tony


-- <snip> --
>>>>> if exists("did_load_filetypes")
>>>>> finish
>>>>> endif

After reading a bit more about this i agree this is the right thing to do.
Actually you helped me to understand the concept of the runtimepath much better.

Thank you.

-- <snip> --
> 1. ~/.vim/filetype.vim
> 2. $VIM/vimfiles/filetype.vim
> 3. $VIMRUNTIME/filetype.vim
> 4. $VIM/vimfiles/after/filetype.vim
> 5. ~/.vim/after/filetype.vim
>
> or on Windows:
>
> 1. ~/vimfiles/filetype.vim
> 2. $VIM/vimfiles/filetype.vim
> 3. $VIMRUNTIME/filetype.vim
> 4. $VIM/vimfiles/after/filetype.vim
> 5. ~/vimfiles/after/filetype.vim
>
> This order is intentional, and it is followed whenever Vim sources an
> internal runtime script: it means that a local sysadmin can override the
> Vim defaults for his system, and that every user can override for his
> own use what the sysadmin chose for the whole installation.

-- <snip> --
> Best regards,
> Tony.


--
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6 7C18 89A4 A2A0 C70B 1A8F


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment