Tuesday, August 29, 2017

Re: Does the ".cl" extension have any special meaning to vim?

On Di, 29 Aug 2017, Barry Gold wrote:

>
> On 8/28/2017 11:40 PM, Christian Brabandt wrote:
> >On Mo, 28 Aug 2017, Barry Gold wrote:
> >
> >>What does vim think an extension of ".cl" means?
> >:verbose set filetype?
> >
> >according to $VIMRUNTIME/filetype.vim .cl extensions seems to suggest
> >common lisp files. So Vim sets the lisp filetype.
> >
> >Now you didn't answer the question in the other thread you created, so
> >let me ask you again, is .cl a common php file extensions? If yes, we
> >might need to tweak filetype.vim to detect this, if not, please go with
> >the suggestions from the mentioned faq articles.
>
> I went to the faq articles, which is why I added noloadplugins to my .vimrc
> file.

But you don't want to disable loading plugins altogether, but rather
apply settings to a particular filetype/extension, right?
So you should rather go with those articles:
https://vimhelp.appspot.com/vim_faq.txt.html#faq-26.6
https://vimhelp.appspot.com/vim_faq.txt.html#faq-26.8

Please also check the links to the documentation in Vim.

Best,
Christian
--
Hundert graue Pferde machen nicht einen einzigen Schimmel.
-- Goethe, Maximen und Reflektionen, Nr. 1019

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: