updated jai config
This commit is contained in:
15
init.lua
15
init.lua
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user