On 19/10/08 21:15, Caleb Cushing wrote:
> last set from modeline.
>
> any filetype
>
> On 10/19/08, Tony Mechelynck<[EMAIL PROTECTED]>  wrote:
>>   On 19/10/08 16:48, Caleb Cushing wrote:
>>   >  filetype is set to sql and the plugin is
>>   >  .vim/ftplugin/sql/sql_iabbr.vim however when I go to edit a sql file
>>   >  it doesn't load if I then source it directly it loads fine. no
>>   >  ftplugin appears to be loading and I'm unsure why or how to
>>   >  investigate further.
>>   >
>>
>>
>> No ftplugin for any file? Or only for sql files? Try
>>
>>          :filetype
>>
>>   and, from an sql file,
>>
>>          :verbose set filetype?
>>
>>   Best regards,
>>   Tony.
>>
>> --
>>   Nothing cures insomnia like the realization that it's time to get up.
>>
>>   >
>>
>
>

And what does ":filetype" answer? Here it says

filetype detection:ON  plugin:ON  indent:OFF

If, on your system, it says plugin:OFF or even detection:OFF, then you 
haven't told Vim to use filetype detection and plugins. In that case, 
add the line

        filetype plugin on

to your vimrc. You may want to add also

        syntax on

just below it if you want syntax highlighting. Also "indent" (without 
quotes) between "plugin" and "on" if you want filetype-specific 
autoindenting.

See ":help :filetype-overview".


Best regards,
Tony.
-- 
An apple every eight hours will keep three doctors away.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to