1
Fork 0
satellite/home/features/neovim/config/ftplugin/purescript.lua
2023-12-02 00:59:18 +01:00

20 lines
412 B
Lua

-- Use vt to test
vim.keymap.set(
"n",
"<leader>vt",
':VimuxRunCommand "clear && spago test"<CR>',
{ desc = "[V]imtex run [t]ests", buffer = true }
)
-- Use vb to build
vim.keymap.set(
"n",
"<leader>vb",
':VimuxRunCommand "clear && spago build"<CR>',
{ desc = "[V]imtex [b]uild", buffer = true }
)
vim.opt.expandtab = true -- Use spaces for the tab char
require("my.abbreviations.fp").setup()