lualine.nvim/lua/lualine/components/location.lua

10 lines
240 B
Lua
Raw Permalink Normal View History

-- Copyright (c) 2020-2021 hoob3rt
-- MIT license, see LICENSE for more details.
local function location()
local line = vim.fn.line('.')
local col = vim.fn.virtcol('.')
return string.format('%3d:%-2d', line, col)
end
return location