Saturday, January 11, 2020

-S option

I'm fighting the following strange behaviour:
From an xterm, in Linux:
$ vim -S bar.vim foo.txt

bar.vim is a very basic syntax file. What happens is that foo.txt gets
edited but the syntax highlighting is missing.
I can activate it via
:so bar.vim
but it should not be necessary. What's wrong?

Note that
$ gvim -S bar.vim foo.txt
edits the file with syn. hi. active.


TIA

Jorge Almeida

--
--
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 on the web visit https://groups.google.com/d/msgid/vim_use/CAKpSnp%2B5xpUUKihXGcoe2ocHmvZy7dh5fVGJj7qoV4U%3DhM3Mjg%40mail.gmail.com.

No comments: