Thursday, August 4, 2011

Re: Python, folding, ftplugin directories

Thank you everybody! It works, and the output of the scriptnames command is

:scriptnames

1: /etc/vimrc
2: /home/pettis/.vimrc
3: /usr/share/vim/vim64/filetype.vim
4: /usr/share/vim/vim64/ftplugin.vim
5: /usr/share/vim/vim64/indent.vim
6: /usr/share/vim/vim64/syntax/syntax.vim
7: /usr/share/vim/vim64/syntax/synload.vim
8: /usr/share/vim/vim64/syntax/syncolor.vim
9: /home/pettis/.vim/plugin/dummy.vim
10: /usr/share/vim/vim64/plugin/explorer.vim
11: /usr/share/vim/vim64/plugin/gzip.vim
12: /usr/share/vim/vim64/plugin/netrw.vim
13: /usr/share/vim/vim64/plugin/rrhelper.vim
14: /usr/share/vim/vim64/plugin/tohtml.vim
15: /home/pettis/.vim/ftplugin/python.vim
16: /usr/share/vim/vim64/ftplugin/python.vim
17: /home/pettis/.vim/after/ftplugin/python_editing.vim
18: /usr/share/vim/vim64/indent/python.vim
19: /home/pettis/.vim/syntax/python.vim
20: /usr/share/vim/vim64/syntax/python.vim


On Thu, Aug 4, 2011 at 1:34 PM, Christian Brabandt <cblists@256bit.org> wrote:
> Hi Matthew!
>
> On Do, 04 Aug 2011, Matthew Pettis wrote:
>
>> Thanks Gary,
>>
>> Output of
>>
>> :filetype
>>
>> filetype detection:ON  plugin:OFF  indent:OFF
>>
>>
>> And, after touching the files, here is the output of
>>
>> :scriptnames
>>
>>   1: /etc/vimrc
>>   2: /home/pettis/.vimrc
>>   3: /usr/share/vim/vim64/syntax/syntax.vim
>>   4: /usr/share/vim/vim64/syntax/synload.vim
>>   5: /usr/share/vim/vim64/syntax/syncolor.vim
>>   6: /usr/share/vim/vim64/filetype.vim
>>   7: /home/pettis/.vim/plugin/dummy.vim
>>   8: /usr/share/vim/vim64/plugin/explorer.vim
>>   9: /usr/share/vim/vim64/plugin/gzip.vim
>>  10: /usr/share/vim/vim64/plugin/netrw.vim
>>  11: /usr/share/vim/vim64/plugin/rrhelper.vim
>>  12: /usr/share/vim/vim64/plugin/tohtml.vim
>>
>>
>> So one of the new locations showed up...
>
> So you need to enable filetype plugins. Put something like this in your
> .vimrc:
>
> filetype plugin on
>
> or
>
> filetype plugin indent on
>
> (depending on whether you want indent plugins enabled or not).
>
> regards,
> Christian
> --
>
> --
> 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
>

--
Do not seek to follow in the footsteps of the wise men of old. Seek
what they sought.

- Matsuo Munefusa ("Basho")

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