Saturday, February 1, 2014

Re: My modelines don't work for me any more

On Sat, Feb 1, 2014 at 11:50 AM, Kevin O'Gorman <kogorman@gmail.com> wrote:
> On Sat, Feb 1, 2014 at 9:56 AM, glts <676c7473@gmail.com> wrote:
>> On Saturday, February 1, 2014 6:11:27 PM UTC+1, Kevin O'Gorman wrote:
>>> I used to be able to set a bunch of options with modelines. Something
>>> has changed.
>>>
>>> For example, I put this line at the bottom of a bash script:
>>> # vim: et sr ai nocp:sts=2 sw=2 ts=8
>>> but I find my shiftwidth is still 8. Changing spaces to colons does not help.
>>>
>>> The format I'm using agrees with the :help modeline format. But no joy.
>>>
>>> What am I doing wrong?
>>
>> What Vim version are you using?
>>
>> Your modeline works just fine for me on both versions 7.3 and 7.4.
>>
>>
>>
>> --
>> David
> It says it's 7.4, and it came with my Xubuntu 13.10 AMD system
>

Additional: it only fails when I'm root. root has no .vimrc
I don't know why any of this would matter....

--
Kevin O'Gorman

programmer, n. an organism that transmutes caffeine into software.
Please consider the environment before printing this email.

--
--
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/groups/opt_out.

No comments:

Post a Comment