1
Fork 0
satellite/dotfiles/neovim/ftplugin/purescript.lua
Matei Adriel 01ee066c62 Backup
2022-11-14 01:16:10 +01:00

24 lines
585 B
Lua

local arpeggio = require("my.plugins.arpeggio")
local A = require("my.abbreviations")
-- Use vt to test
arpeggio.chordSilent("n", "vt", ":VimuxRunCommand \"clear && spago test\"<CR>",
{ settings = "b" })
-- Use vb to build
arpeggio.chordSilent("n", "vb", ":VimuxRunCommand \"clear && spago build\"<CR>",
{ settings = "b" })
vim.opt.expandtab = true -- Use spaces for the tab char
local abbreviations = {
{ "land", "/\\" },
{ "lor", "\\/" },
{ "tto", "->" },
{ "iip", "=>" },
{ "frl", "forall" },
{ "ott", "<-" } -- opposite of tto
}
A.manyLocalAbbr(abbreviations)