summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/extra/numb.lua
blob: 17d9f6b3a22135d255784ecbd3c75f32e5ec686b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local M = {}
local Log = require "core.log"

M.config = function()
  local status_ok, numb = pcall(require, "numb")
  if not status_ok then
    Log:get_default().error "Failed to load numb"
    return
  end

  numb.setup {
    show_numbers = true, -- Enable 'number' for the window while peeking
    show_cursorline = true, -- Enable 'cursorline' for the window while peeking
  }
end

return M