Tuesday, May 6, 2014

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

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
email: fabio.dalfonso@fabiodalfonso.com
linkedin: www.linkedin.com/in/fabiodalfonso
twitter: www.twitter.com/#!/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    

No comments: