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