mydotfiles/nvim/lua/pack.d/test.lua

18 lines
379 B
Lua

-- File to test scripting
--local userinput = vim.fn.input("Test: ")
--vim.cmd('redraw')
-- Don't know how to call this API
--vim.api.nvim__redraw()
--vim.print(string.format("1: %s\n", userinput))
--if userinput == "meow" or userinput =="miauw" then
-- vim.print(":o !")
--else
-- vim.print("ùwú !")
--end
-- Concats but no new line.
--vim.print("2: " .. userinput)