Updated config

This commit is contained in:
Eduard Urbach 2024-03-07 13:09:05 +01:00
parent 8528f3516b
commit b4e95192f7
Signed by: eduard
GPG key ID: 49226B848C78F6C8
17 changed files with 100 additions and 85 deletions

View file

@ -1,9 +1,12 @@
-- ToggleWord
vim.api.nvim_create_user_command("ToggleWord", function()
local inverse = {
["horizontal"] = "vertical",
["on"] = "off",
["true"] = "false",
["True"] = "False",
["TRUE"] = "FALSE",
["yes"] = "no",
["Yes"] = "No",
["YES"] = "NO",
["1"] = "0",
@ -15,7 +18,7 @@ vim.api.nvim_create_user_command("ToggleWord", function()
['""'] = "''",
["+"] = "-",
["==="] = "!==",
["=="] = "!="
["=="] = "!=",
}
vim.tbl_add_reverse_lookup(inverse)