remove precognition and screenkey

This commit is contained in:
MFlossmann 2024-07-12 15:18:11 +02:00
parent af8acafeee
commit 3c8c644ffd
6 changed files with 0 additions and 121 deletions

View file

@ -10,8 +10,6 @@
# https://github.com/AstroNvim/AstroNvim/blob/v4.7.7/lua/astronvim/plugins/configs/heirline.lua
config = ''
local status = require("astroui.status")
local screenkey = require("screenkey")
vim.g.screenkey_statusline_component = true
require("heirline").setup({
opts = {
@ -34,20 +32,6 @@
status.component.lsp(),
status.component.virtual_env(),
status.component.treesitter(),
{
provider = function()
local keys = screenkey.get_keys()
if keys == nil or keys == "" then
return
end
return " " .. keys
end,
update = {
"User",
pattern = "Screenkey*",
callback = vim.schedule_wrap(function() vim.cmd("redrawstatus") end),
},
},
status.component.nav(),
status.component.mode { surround = { separator = "right" } },
},