add jai make support

This commit is contained in:
2026-04-23 10:19:03 -04:00
parent c6410744ba
commit 5bb6074610
2 changed files with 5 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
"workspace.library": [
"/opt/homebrew/Cellar/neovim/0.12.0/share/nvim/runtime/lua",
"~/.local/share/nvim/lazy/lazy.nvim/lua"
"~/.local/share/nvim/lazy/lazy.nvim/lua",
"/usr/share/nvim/runtime/lua"
]
}

View File

@@ -43,3 +43,6 @@ vim.keymap.set("n", "<leader>fJ", function()
cwd = "/Users/grant/.local/jai",
})
end, { buffer = true, desc = "Telescope find files" })
vim.o.makeprg = "jai"
vim.o.errorformat = "%f:%l\\,%c: Error: %m%.%#," .. vim.o.errorformat