summaryrefslogtreecommitdiff
path: root/lua/aotrix/personal_commands.lua
blob: 16364d2457b93716a6396faeb0305dd8971474cb (plain)
1
2
3
4
5
6
7
8
9
10
11
return {
    createCommand = function(COMMANDS)
        local selectedCommand = vim.fn.input('Enter a command: ')
        local selectedDescription = "Say a nice word"
        COMMANDS.Flower = {
            command = function() return selectedCommand end,
            description = function() return selectedDescription end
        }
        return COMMANDS.Flower
    end
}