Conflict with UTI declaration when MacVim is installed
godDLL opened this issue · comments
When MacVim is installed it registers an org.vim.markdown-file
UTI to handle .markdown
filename extension (not net.daringfireball.markdown
). Subsequently the system treats .markdown
files as that, which breaks QLMarkdown for these files (the system Text.qlgenerator is getting the files instead).
Can easily be fixed by appending the above UTI to LSItemContentTypes
in the bundle's Info.plist
.
Bug originally noticed when installing QLColorCode [http://code.google.com/p/qlcolorcode/issues/detail?id=50] and traced back here with the help of the person responsible for it. He also says that only public.plain-text
is necessary in the UTTypeConformsTo
section of the Info.plist
.
Followup:
I'm in contact with MacVim's maintainer, and he's working through the issue. This won't cure the situation for versions of MacVim prior to the one where this will be fixed.
More on UTIs [http://boredzo.org/blog/archives/2009-09-22/how-not-to-use-utis].
Work around a conflict with MacVim. Closed by 2553150.
OK, I have added a workaround to the bundle properties for QLMarkdown. A new build is imminent.
I don't know if you are being told this enough so I'll say this: you're awesome!