On 2024-11-30 21:48, Steve Litt wrote:
> I needed to put vim:ts=3:sw=3:expandtab:nu:ic: into my CSS file. When
> I tried:
>
> /* vim:ts=3:sw=3:expandtab:nu:ic: */
>
> The preceding gave me a "Unknown option: */" error when I reread the
> file.
[snip]
> put the */ on the following line:
>
> /* vim:ts=3:sw=3:expandtab:nu:ic:
> */
Reading over `:help modeline`, I think your commented-version needs to
omit the extra in-modeline colons (just keeping the first/last):
/* vim: ts=3 sw=3 et nu ic: */
worked from my testing, allowing everything in one line, and also not
getting the vim error.
-tim
--
--
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.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/Z0vRjdYye_ehn0mN%40thechases.com.
Saturday, November 30, 2024
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment