Tuesday, May 6, 2014

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

Found,
sorry for sending the messages.

Snipmate uses the type.snippets, so the nasm.snippets made the work. I
already had there, but mistyped the name (sniptpets something) and the
file was not read.

So that is it.


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 12:41 PM, Fabio D'Alfonso wrote:
> Hi,
> found where the problem is but have no idea about how to solve.
>
> I use the nasm assembler, so I made nasm the default filetype for asm
> to get the highlighting (anyway the manual would be the same).
>
> This is the point:
> - to get the snipmate working I have to set filetype to asm, loosing
> the highlighiting
> - to use the highlighting I need to set the filetype to nasm and
> cannot use the snippets.
>
> So how can I have file.asm, as nasm (asm) type, while using snipmate?
>
>
> Thanks in advance
>
> 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 11:32 AM, Fabio D'Alfonso wrote:
>> Hi,
>> I already have a cpp.snippets (auto) working, but I cannot get asm
>> extension be auto detected and need to set the filetype in the file
>> to trigger snippets.
>>
>> How to get the asm auto detected?
>>
>> Thanks
>> Fabio D'Alfonso
>>
>

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