We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0c9896 commit 23c719aCopy full SHA for 23c719a
lua/orgmode/utils/treesitter/install.lua
@@ -73,6 +73,10 @@ function M.get_version_info()
73
result.parser_locations = parser_locations.parser_locations
74
result.installed_in_orgmode_dir = parser_locations.installed_in_orgmode_dir
75
76
+ if not result.installed_in_orgmode_dir then
77
+ return result
78
+ end
79
+
80
local installed_version = M.get_installed_version()
81
result.installed_version = installed_version
82
result.outdated = vim.version.lt(installed_version, required_version)
0 commit comments