Skip to content

Commit

Permalink
fix(health): force start papis
Browse files Browse the repository at this point in the history
required so `checkhealth papis` works when called outside a configured
filetype buffer
  • Loading branch information
jghauser committed Jul 2, 2024
1 parent 8e9b676 commit a2b3bf3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lua/papis/health.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ local M = {}

---Main function called by checkhealth
M.check = function()
-- make sure papis.nvim is started as checkhealth can be called outside
-- configured filetypes
require("papis").start()

if not health then
health = vim.health
end
Expand Down

0 comments on commit a2b3bf3

Please sign in to comment.