1 2 3 4 5 6 7
local lsp = require'lspconfig' lsp.asm_lsp.setup{ cmd = { "asm-lsp", "--stdio" }, filetypes = { "s", "asm", "S" }, root_dir = lsp.util.root_pattern("Makefile", ".git"), }