Skip to content

Commit 4314fc1

Browse files
committed
fix: Breaking changes in treesitter api
1 parent eab68b1 commit 4314fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neominimap/health.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ local check_treesitter = function(health)
3838
health.info("TreeSitter integration is enabled")
3939
if lualib_available("nvim-treesitter") then
4040
health.ok("TreeSitter is installed")
41-
local parsers = require("nvim-treesitter.parsers").available_parsers()
41+
local parsers = require("nvim-treesitter").get_available()
4242
if #parsers > 0 then
4343
health.ok("TreeSitter parsers are installed: " .. table.concat(parsers, ", "))
4444
else

0 commit comments

Comments
 (0)