Revert back slashcommand to slashCommand

This commit is contained in:
Zef Hemel
2025-09-03 08:14:39 +02:00
parent 554744c794
commit a7b284938f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
APIs to create [[Slash Commands]]. For simple cases it is recommended to use [[Library/Std/Slash Templates]] instead.
## slashcommand.define(spec)
## slashCommand.define(spec)
Define a custom slash command.
@@ -13,7 +13,7 @@ Supported keys in the spec:
Example:
```lua
slashcommand.define {
slashCommand.define {
name = "hello-world",
run = function()
editor.insertAtCursor("Hello |^| world!", false, true)