Skip to content

Commit

Permalink
fix: parsing in nightly (#28)
Browse files Browse the repository at this point in the history
Closes #28.
  • Loading branch information
luckasRanarison committed Jul 31, 2024
1 parent 9baed3c commit 79b2a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/tailwind-tools/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ M.get_class_nodes = function(bufnr, all)

if not parser then return log.warn("No parser available for " .. ft) end

if all and vim.version().minor == 10 then parser:parse(true) end
if all and vim.version().minor >= 10 then parser:parse(true) end

parser:for_each_tree(function(tree, lang_tree)
local root = tree:root()
Expand Down

0 comments on commit 79b2a48

Please sign in to comment.