lualine.nvim/lua/lualine/components/hostname.lua

12 lines
283 B
Lua
Raw Permalink Normal View History

2021-03-22 14:17:27 +00:00
-- Copyright (c) 2020-2021 hoob3rt
-- MIT license, see LICENSE for more details.
local modules = require('lualine_require').lazy_require {
utils = 'lualine.utils.utils',
}
local function hostname()
return modules.utils.stl_escape(vim.loop.os_gethostname())
end
2021-03-22 14:17:27 +00:00
return hostname