aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/opts/misc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/opts/misc.lua')
-rw-r--r--lua/plugins/opts/misc.lua40
1 files changed, 20 insertions, 20 deletions
diff --git a/lua/plugins/opts/misc.lua b/lua/plugins/opts/misc.lua
index e228023..a7cbafa 100644
--- a/lua/plugins/opts/misc.lua
+++ b/lua/plugins/opts/misc.lua
@@ -1,30 +1,30 @@
local M = {}
-local maps = require "plugins.maps"
+local maps = require("plugins.maps")
M.gitsigns = {
- signs = {
- add = { text = "+" },
- change = { text = "~" },
- delete = { text = "-" },
- topdelete = { text = "‾" },
- changedelete = { text = "~" },
- untracked = { text = "│" },
- },
+ signs = {
+ add = { text = "+" },
+ change = { text = "~" },
+ delete = { text = "-" },
+ topdelete = { text = "‾" },
+ changedelete = { text = "~" },
+ untracked = { text = "│" },
+ },
- on_attach = function(bufnr)
- maps.load("gitsigns", { buffer = bufnr })
- end,
+ on_attach = function(bufnr)
+ maps.load("gitsigns", { buffer = bufnr })
+ end,
}
-M.luasnip = function (opts)
- require("luasnip").config.set_config(opts)
+M.luasnip = function(opts)
+ require("luasnip").config.set_config(opts)
- -- vscode format
- require("luasnip.loaders.from_vscode").lazy_load()
- -- snipmate format
- require("luasnip.loaders.from_snipmate").lazy_load()
- -- lua format
- require("luasnip.loaders.from_lua").lazy_load()
+ -- vscode format
+ require("luasnip.loaders.from_vscode").lazy_load()
+ -- snipmate format
+ require("luasnip.loaders.from_snipmate").lazy_load()
+ -- lua format
+ require("luasnip.loaders.from_lua").lazy_load()
end
return M