sbdchd / neoformat

:sparkles: A (Neo)vim plugin for formatting code.
BSD 2-Clause "Simplified" License
1.99k stars 189 forks source link

Support for nasm #176

Open dpitic opened 6 years ago

dpitic commented 6 years ago

I use SpaceVim with nasm mode for assembly language programming. I know Neoformat has a definition for asm, however this does not work for nasm mode. I can make it work for nasm mode by creating a nasm.vim file based on asm.vim, unless you know a better way to include nasm mode support using what is already there?

If not, I'll create a pull request to add a nasm.vim definition.

sbdchd commented 6 years ago

Neoformat doesn't have any alias support for filetypes, so you can create a new nasam.vim file and import the function from asm.vim to reuse.