2021-02-13 00:03:57 +00:00
|
|
|
-- Copyright (c) 2020-2021 hoob3rt
|
|
|
|
-- MIT license, see LICENSE for more details.
|
2021-04-11 08:20:41 +00:00
|
|
|
local Mode = require('lualine.component'):new()
|
|
|
|
local get_mode = require('lualine.utils.mode').get_mode
|
2020-12-30 14:48:51 +00:00
|
|
|
|
2021-04-11 08:20:41 +00:00
|
|
|
Mode.update_status = get_mode
|
|
|
|
|
|
|
|
return Mode
|