summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/ts_utils.lua
diff options
context:
space:
mode:
authorRobert Jackson <rjackson@linkedin.com>2021-11-03 11:56:23 -0400
committerSantos Gallegos <stsewd@protonmail.com>2021-11-11 21:11:15 -0500
commitda5920f2bf5cd453c19258adba1df35a6793af84 (patch)
treeefbbf3a9d4fbe5178ee771ff22d153c6f49de015 /lua/nvim-treesitter/ts_utils.lua
parent89b3b77033d3e0f36729332d3a43e61f21c95048 (diff)
Ensure `ft_to_lang` supports multipart filetypes.
This allows a given parser to directly implement a multipart filetype (like `glimmer` parser does for `html.handlebars`). If an exact match for the current filetype is found in the lookup table, it will be used; otherwise we look for just the first segment.
Diffstat (limited to 'lua/nvim-treesitter/ts_utils.lua')
0 files changed, 0 insertions, 0 deletions