We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0ce943 commit a75d2f2Copy full SHA for a75d2f2
lua/vsnip/treesitter.lua
@@ -40,7 +40,7 @@ function M.get_ft_at_cursor ( bufnr )
40
local parent_language = parent_language_tree:lang()
41
local parent_filetype = get_parser_filetype( parent_language )
42
43
- if parent_filetype ~= "" and parent_filetype ~= filetype then
+ if parent_filetype ~= "" then
44
filetype = filetype .. "." .. parent_filetype .. "/" .. filetype
45
end
46
0 commit comments