From 497323c9f99ae471a0fc90b528358a6a124eb0fa Mon Sep 17 00:00:00 2001 From: Dario48 Date: Tue, 15 Jul 2025 21:03:53 +0200 Subject: [PATCH] added lsp support --- .asm-lsp.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .asm-lsp.toml diff --git a/.asm-lsp.toml b/.asm-lsp.toml new file mode 100644 index 0000000..e34e92b --- /dev/null +++ b/.asm-lsp.toml @@ -0,0 +1,21 @@ +[default_config] +version = "0.10.0" +assembler = "nasm" +instruction_set = "x86/x86-64" + +[default_config.opts] +compiler = "zig" +compile_flags_txt = [ + "cc", + "-x", + "assembler-with-cpp", + "-g", + "-Wall", + "-Wextra", + "-pedantic", + "-pedantic-errors", + "-std=c2y", + "-mllvm --x86-asm-syntax=intel", +] +diagnostics = true +default_diagnostics = false