On 12/20/18 5:27 PM, Peng Yu wrote:
> Hi
Hi,
> vim recognize ~/.ssh/config. But I'd like to recognize it in a none 
> standard location via some file extension. Is there a standard file 
> extension that will make vim recognize it in a none standard location? 
> Thanks.
I don't know the nuances of file type detection.  But I do know that you 
can easily set it for any arbitrary file by running the following command:
:set syntax=sshconfig
If you support mode lines (?) you can add that.
-- 
-- 
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/d/optout.
No comments:
Post a Comment