fix: hostname component not working (#170)
This commit is contained in:
parent
3e94f2786f
commit
7eacdb787f
|
@ -2,6 +2,6 @@
|
||||||
-- MIT license, see LICENSE for more details.
|
-- MIT license, see LICENSE for more details.
|
||||||
local HostName = require('lualine.component'):new()
|
local HostName = require('lualine.component'):new()
|
||||||
|
|
||||||
HostName.update_status = vim.loop.os_gethostname()
|
HostName.update_status = vim.loop.os_gethostname
|
||||||
|
|
||||||
return HostName
|
return HostName
|
||||||
|
|
Loading…
Reference in New Issue