Tuesday, May 6, 2014

Re: Added asm.snippets to snipmate but cannot get it working without :set filetype=asm

Hi,
it asks (thunderbird) the format before, I sent the message twice
because the first was html in error, sometimes, it goes .

I sent a post after that where I explain that the problem was I
mispelled the nasm.snippets (something like nasm.snippest) ,
"type".snippets, I tried before sending the email, supposing that could
be the type, not the extension to be used.
So the try was not successful and I went forward to the list. Now I made
the file name correct, and I have both working.

Thanks

Fabio D'Alfonso
'Enabling Business Through IT'
cell. +39.348.059.40.22 ***
web: www.fabiodalfonso.com <http://www.fabiodalfonso.com/>
email: fabio.dalfonso@fabiodalfonso.com
<mailto:fabio.dalfonso@fabiodalfonso.com>linkedin:
www.linkedin.com/in/fabiodalfonso <http://it.linkedin.com/in/fabiodalfonso>
twitter: www.twitter.com/#!/fabio_dalfonso
<http://www.twitter.com/#%21/fabio_dalfonso>

fax: +39.06.874.599.581
BlackBerry® Wireless Enabled Address.


** Hidden numbers are automatically rejected by the phone*

On 5/6/2014 1:36 PM, Marc Weber wrote:
> Hi Fabio,
>
> consider telling your mail client to send textmails only when posting to
> mailinglists.
>
> About snipmate and filetypes:
> Do RTFM: https://github.com/garbas/vim-snipmate
> => FAQ
>
> Thus setting scope_aliases is one option.
> How to set filetype?
>
> ftdetect/*.vim files get the job done as well as au commands, like this:
>
> autocmd BufRead,BufNewFile *.y,*.ly :set ft=happy
>
> ft can contain multiple filetypes AFAIK, eg ft=a,b
>
> snipmate itself supports "importing" other snippet files, too.
> But I recommend using the scope_aliases instead.
>
> If it should happen that you're still using msanders of snipmate version
> then get consider using a plugin manager which supports vim-pi which
> tries to protect against using outdated plugins by telling you about
> alternatives when installing.
>
> Eg see: http://vim-wiki.mawercer.de/wiki/topic/vim%20plugin%20managment.html
>
> You also want to know about the collaborative vim-snippets effort:
> https://github.com/honza/vim-snippets
>
> We welcome you to help maintain the assembler snippets.
>
> Marc Weber
>

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