updated jai config

This commit is contained in:
2026-04-23 09:21:36 -04:00
parent fb0835f2c5
commit c6410744ba
3 changed files with 19 additions and 3 deletions

View File

@@ -109,6 +109,7 @@ vim.pack.add({
github .. "rluba/jai.vim",
github .. "m00qek/baleia.nvim",
github .. "ej-shafran/compile-mode.nvim",
github .. "folke/todo-comments.nvim",
})
-- Telescope
@@ -211,11 +212,21 @@ vim.api.nvim_create_autocmd("FileType", {
require("compile-mode")
vim.g.compile_mode = {
default_command = {
jai = "jai -quiet %",
jai = "jai %",
},
baleia_setup = true,
bang_expansion = true,
}
vim.keymap.set("n", "<leader>r", function()
vim.keymap.set("n", "<leader>cr", function()
require("compile-mode").recompile()
end)
vim.keymap.set("n", "<leader>cc", function()
require("compile-mode").compile()
end)
-- neovide
if vim.g.neovide then
-- Put anything you want to happen only in Neovide here
vim.g.neovide_cursor_animation_length = 0
end