Skip to content

Commit 2012f1d

Browse files
authored
Merge pull request #84 from jghauser/load-papis-before-checkhealth
fix(health): force start papis
2 parents 8e9b676 + a2b3bf3 commit 2012f1d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lua/papis/health.lua

+4
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ local M = {}
8181

8282
---Main function called by checkhealth
8383
M.check = function()
84+
-- make sure papis.nvim is started as checkhealth can be called outside
85+
-- configured filetypes
86+
require("papis").start()
87+
8488
if not health then
8589
health = vim.health
8690
end

0 commit comments

Comments
 (0)