1
Fork 0
satellite/dotfiles/neovim/ftplugin/purescript.lua
Matei Adriel bf7427d8c7
A bunch of changes, mostly to neovim
- global abbreviations
- better firenvim setup
- magma.nvim (never used it, might unisntall)
2023-02-19 02:41:22 +01:00

18 lines
372 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