Get The Currnet Neovim Cursor Position With Lua

Code
local position = vim.fn.getcurpos()
local line = position[2]
local column = position[3]

print(line)
print(column)
Results
replace this

Reference

Neovim Docs: getcurpos()

Get the position of the cursor in Neovim