summaryrefslogtreecommitdiffstats
path: root/lua/core/cmds.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lua/core/cmds.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/core/cmds.lua b/lua/core/cmds.lua
new file mode 100644
index 0000000..03ff87f
--- /dev/null
+++ b/lua/core/cmds.lua
@@ -0,0 +1,6 @@
+local function cmd(name, exec, opts)
+ opts = opts or {}
+ vim.api.nvim_create_user_command(name, exec, opts)
+end
+
+cmd('Colorscheme', 'Telescope colorscheme')