2021-02-13 00:03:57 +00:00
|
|
|
-- Copyright (c) 2020-2021 hoob3rt
|
|
|
|
-- MIT license, see LICENSE for more details.
|
2021-10-10 16:43:00 +00:00
|
|
|
local function location()
|
2022-07-29 10:54:31 +00:00
|
|
|
local line = vim.fn.line('.')
|
2022-09-11 18:32:09 +00:00
|
|
|
local col = vim.fn.virtcol('.')
|
2022-07-29 10:54:31 +00:00
|
|
|
return string.format('%3d:%-2d', line, col)
|
2021-09-03 18:28:20 +00:00
|
|
|
end
|
2021-04-11 08:20:41 +00:00
|
|
|
|
2021-10-10 16:43:00 +00:00
|
|
|
return location
|