Skip to content

Commit

Permalink
fix(ts): Fix TS injections on mac os
Browse files Browse the repository at this point in the history
Closes #727
  • Loading branch information
kristijanhusak committed May 17, 2024
1 parent fa0e810 commit 4bbe8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/orgmode/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ function Config:setup_ts_predicates()
if not text or vim.trim(text) == '' then
return
end
metadata['injection.language'] = utils.detect_filetype(text) or text
metadata['injection.language'] = utils.detect_filetype(text) or text:lower()
end, { force = true })
end

Expand Down

0 comments on commit 4bbe8ea

Please sign in to comment.