fix: hostname component not working (#170)

This commit is contained in:
Shadman 2021-04-12 18:04:43 +06:00 committed by GitHub
parent 3e94f2786f
commit 7eacdb787f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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