From 7eacdb787ff6da6ec5764b2df8d8ca234497e493 Mon Sep 17 00:00:00 2001 From: Shadman Date: Mon, 12 Apr 2021 18:04:43 +0600 Subject: [PATCH] fix: hostname component not working (#170) --- lua/lualine/components/hostname.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lualine/components/hostname.lua b/lua/lualine/components/hostname.lua index 897ce12..5ac4112 100644 --- a/lua/lualine/components/hostname.lua +++ b/lua/lualine/components/hostname.lua @@ -2,6 +2,6 @@ -- MIT license, see LICENSE for more details. local HostName = require('lualine.component'):new() -HostName.update_status = vim.loop.os_gethostname() +HostName.update_status = vim.loop.os_gethostname return HostName