We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82eef18 commit 4492155Copy full SHA for 4492155
lua/papis/health.lua
@@ -96,6 +96,16 @@ reports["papis-storage"] = function()
96
health.error(string.format("The '%s' executable was not found in path.", yq))
97
end
98
99
+
100
+---Creates a report for completion
101
+reports["completion"] = function()
102
+ local yaml_parser = vim.api.nvim_get_runtime_file('parser/yaml.so', true)
103
104
+ health.start("Completion")
105
+ if not vim.tbl_isempty(yaml_parser) then
106
+ health.ok("The treesitter 'yaml' parser was found.")
107
+ else
108
+ health.error("The treesitter 'yaml' parser was not found.")
109
110
111
0 commit comments