From 01b09b2abca900315b5686dacc98eb724eb98e98 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 5 Sep 2023 22:03:27 -0500 Subject: [PATCH] refactor(nvim): compile asm files with nasm --- dots/.config/nvim/after/ftplugin/asm.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dots/.config/nvim/after/ftplugin/asm.lua b/dots/.config/nvim/after/ftplugin/asm.lua index 4afe6ccc..512dcc04 100644 --- a/dots/.config/nvim/after/ftplugin/asm.lua +++ b/dots/.config/nvim/after/ftplugin/asm.lua @@ -12,7 +12,8 @@ vim.keymap.set("n", "fr", function() vim.fn.mkdir(target_dir, "p") local cmd = { - "as", + "nasm", + "-felf64", curr_file, "-o", object_path,