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-12 12:04:43 +00:00
|
|
|
HostName.update_status = vim.loop.os_gethostname
|
2021-04-11 08:20:41 +00:00
|
|
|
|
|
|
|
return HostName
|