From f7e66f642855b800e64d292d4fc6a6ffddbffb19 Mon Sep 17 00:00:00 2001
From: Matei Adriel <rafaeladriel11@gmail.com>
Date: Mon, 3 Apr 2023 03:06:51 +0200
Subject: [PATCH] Added/tweaked latex abbreviations!

---
 dotfiles/neovim/ftplugin/tex.lua | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/dotfiles/neovim/ftplugin/tex.lua b/dotfiles/neovim/ftplugin/tex.lua
index f7380b4..8bc3973 100644
--- a/dotfiles/neovim/ftplugin/tex.lua
+++ b/dotfiles/neovim/ftplugin/tex.lua
@@ -60,7 +60,6 @@ local abbreviations = {
   { "tto", "\\to" },
   { "iip", "\\implies" },
   { "iib", "\\impliedby" },
-  { "iff", "\\iff" },
   { "land", "\\land" },
   { "lor", "\\lor" },
   { "ssin", "\\sin" },
@@ -120,6 +119,11 @@ local abolishAbbreviations = {
   { "lcon{,s}", "linear combination{}" },
   { "vsm", "\\vecspace" }, -- math vector space
   { "vst{,s}", "vector space{,s}" }, -- text vector space
+  {
+    "rizz", -- ok please ignore this one 💀
+    "Riesz vector",
+    options = A.no_capitalization,
+  },
 
   -- Graph theory
   { "vx{,s}", "vert{ex,ices}" },
@@ -158,8 +162,8 @@ local abolishAbbreviations = {
   --   - Any operator can be prefixed with cr to
   --     start a new line and align in aligned mode
   {
-    "{cr,a,}{eq,neq,leq,geq,lt,gt}",
-    "{\\\\\\&,&,}{=,\\neq,\\leq,\\geq,<,>}",
+    "{cr,a,}{eq,neq,leq,geq,lt,gt,iff}",
+    "{\\\\\\&,&,}{=,\\neq,\\leq,\\geq,<,>,\\iff}",
     options = A.no_capitalization,
   },