Update slashcommand.md
This commit is contained in:
@@ -13,10 +13,10 @@ Supported keys in the spec:
|
||||
Example:
|
||||
|
||||
```lua
|
||||
slashCommand.define {
|
||||
slashcommand.define {
|
||||
name = "hello-world",
|
||||
run = function()
|
||||
editor.insertAtCursor("Hello |^| world!", false, true)
|
||||
editor.insertAtCursor("Hello |^| world!", false, true)
|
||||
end
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user