Closed gdmsl closed 1 year ago
Hi all,
I am using nvim-treesitter and I notice that there is an error when trying to parse Unitful literals.
An example is the code is (on line 27), after using Unitful
using Unitful
const A = 1.0u"kg"
which gives (using the tree-sitter playground in neovim)
const_statement [26, 0] - [320, 36] variable_declaration [26, 6] - [26, 14] identifier [26, 6] - [26, 7] coefficient_expression [26, 10] - [26, 14] float_literal [26, 10] - [26, 13] identifier [26, 13] - [26, 14] ERROR [26, 14] - [320, 18]
Hi all,
I am using nvim-treesitter and I notice that there is an error when trying to parse Unitful literals.
An example is the code is (on line 27), after
using Unitful
which gives (using the tree-sitter playground in neovim)