Saturday, February 1, 2014

My modelines don't work for me any more

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?

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