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