Debian Codegraph @

lua/lualine/components/location.lua

raw
1 -- Copyright (c) 2020-2021 hoob3rt
2 -- MIT license, see LICENSE for more details.
3 local function location()
4 local line = vim.fn.line('.')
5 local col = vim.fn.charcol('.')
6 return string.format('%3d:%-2d', line, col)
7 end
8
9 return location