lualine.nvim/lua/lualine/components/hostname.lua

8 lines
200 B
Lua
Raw Normal View History

2021-03-22 14:17:27 +00:00
-- Copyright (c) 2020-2021 hoob3rt
-- MIT license, see LICENSE for more details.
local HostName = require('lualine.component'):new()
2021-03-22 14:17:27 +00:00
HostName.update_status = vim.loop.os_gethostname
return HostName