aboutsummaryrefslogtreecommitdiff
path: root/lua/core
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-03-01 19:11:19 +0530
committersinanmohd <sinan@sinanmohd.com>2024-03-01 19:12:16 +0530
commit1bc4074843eeba4b30d6ee2ed877afd74e1fc44e (patch)
tree6a498e69d47ecb174bd13989f948735faf8bf0a6 /lua/core
parent32f76c11be0556da1263b83b295e0381e6ee45f0 (diff)
fmt: init stylua
Diffstat (limited to 'lua/core')
-rw-r--r--lua/core/init.lua4
-rw-r--r--lua/core/maps.lua5
2 files changed, 4 insertions, 5 deletions
diff --git a/lua/core/init.lua b/lua/core/init.lua
index c296ffb..ff20ffb 100644
--- a/lua/core/init.lua
+++ b/lua/core/init.lua
@@ -1,2 +1,2 @@
-require "core.opts"
-require "core.maps"
+require("core.opts")
+require("core.maps")
diff --git a/lua/core/maps.lua b/lua/core/maps.lua
index 31f899c..14f05f1 100644
--- a/lua/core/maps.lua
+++ b/lua/core/maps.lua
@@ -9,14 +9,14 @@ local maps = {
vim.api.nvim_set_option_value("colorcolumn", "", {})
end
end,
- "Toggle 80 column hint"
+ "Toggle 80 column hint",
},
},
t = {
["<C-x>"] = {
vim.api.nvim_replace_termcodes("<C-\\><C-N>", true, true, true),
- "Escape terminal mode"
+ "Escape terminal mode",
},
},
@@ -26,7 +26,6 @@ local maps = {
},
}
-
for mode, keytab in pairs(maps) do
for key, fun in pairs(keytab) do
vim.keymap.set(mode, key, fun[1], { desc = fun[2] })