Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lua/cellular-automaton/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ M.start_animation = function(animation_name)
-- Make sure nvim treesitter parser exists for current buffer
local filetype = vim.bo.filetype
local function raise_if_parser_missing()
vim.treesitter.language.inspect(filetype)
vim.treesitter.language.inspect(vim.treesitter.language.get_lang(filetype) or filetype)
end
local success, err = pcall(raise_if_parser_missing)
if not success then
Expand Down
Loading