fix: better file type detection#125
Conversation
|
Are we okay with the dependency? |
|
Actually not sure about it I think for such a simple function maybe we can just copy the code from plenary sources? |
Fixes missing highlighting for some file types (e.g. typescript or bash).
|
Copied the minimum amount of code that does what we want. Removed detecting based on shebang and modeline because I don't think that they're too important (also I would have to copy/reimplement more code for handling files). I still feel like it's a lot for such a simple feature. We could put the file from data folder inline in |
|
Can't push to your branch for some reason please apply this change to pass CI if possible diff --git a/_typos.toml b/_typos.toml [default.extend-words] |
|
closing in favor of #129 I can not push to your branch |
Fixes missing highlighting for some file types (e.g. typescript or bash).
Fixes: #122