Enable abbreviations by default
This commit is contained in:
parent
85ebcee9ba
commit
74f2ea1e2c
|
@ -4,17 +4,17 @@ local M = {}
|
||||||
|
|
||||||
-- {{{ Ascii
|
-- {{{ Ascii
|
||||||
M.ascii = {
|
M.ascii = {
|
||||||
{ "tto", "->" }, -- [t]o
|
{ "tto", "->" }, -- [t]o
|
||||||
{ "ffrom", "<-" }, -- [f]rom
|
{ "ffrom", "<-" }, -- [f]rom
|
||||||
{ "iip", "=>" }, -- [i]t [i]m[p]lies
|
{ "iip", "=>" }, -- [i]t [i]m[p]lies
|
||||||
{ "iib", "<=" }, -- [i]t's [i]mplied [b]ly
|
{ "iib", "<=" }, -- [i]t's [i]mplied [b]ly
|
||||||
|
|
||||||
{ "leq", "<=" }, -- [l]ess than or [e][q]ual
|
{ "leq", "<=" }, -- [l]ess than or [e][q]ual
|
||||||
{ "geq", ">=" }, -- [g]reater than or [e][q]ual
|
{ "geq", ">=" }, -- [g]reater than or [e][q]ual
|
||||||
{ "seq", "=" }, -- [s]ingle [e][q]ual
|
{ "seq", "=" }, -- [s]ingle [e][q]ual
|
||||||
{ "deq", "==" }, -- [d]ouble [e][q]ual
|
{ "deq", "==" }, -- [d]ouble [e][q]ual
|
||||||
{ "land", "/\\" }, -- [l]ogial [a][n][d]
|
{ "land", "/\\" }, -- [l]ogial [a][n][d]
|
||||||
{ "lor", "\\/" }, -- [l]ogial [o][r]
|
{ "lor", "\\/" }, -- [l]ogial [o][r]
|
||||||
}
|
}
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@ function M.setup()
|
||||||
require("my.options").setup()
|
require("my.options").setup()
|
||||||
require("my.keymaps").setup()
|
require("my.keymaps").setup()
|
||||||
require("my.lazy").setup()
|
require("my.lazy").setup()
|
||||||
|
require("my.abbreviations").setup()
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
|
@ -579,7 +579,7 @@ in
|
||||||
package = e.nullOr e.string;
|
package = e.nullOr e.string;
|
||||||
dir = assert propXor "package" "dir" opts; e.nullOr e.string;
|
dir = assert propXor "package" "dir" opts; e.nullOr e.string;
|
||||||
tag = assert propImplies "tag" "package" opts; e.nullOr e.string;
|
tag = assert propImplies "tag" "package" opts; e.nullOr e.string;
|
||||||
version = assert propImplies "tag" "package" opts; e.nullOr e.string;
|
version = assert propImplies "version" "package" opts; e.nullOr e.string;
|
||||||
name = e.nullOr e.string;
|
name = e.nullOr e.string;
|
||||||
main = e.nullOr e.string;
|
main = e.nullOr e.string;
|
||||||
dependencies = e.map (d: d.lua) (e.tryNonemptyList (e.stringOr lazyObjectEncoder));
|
dependencies = e.map (d: d.lua) (e.tryNonemptyList (e.stringOr lazyObjectEncoder));
|
||||||
|
|
Loading…
Reference in a new issue