mirror of
https://github.com/sayanarijit/xplr.git
synced 2024-09-20 23:37:37 +03:00
Mime wildcard
This commit is contained in:
parent
4be0a23d4f
commit
7ed89a4aff
@ -76,11 +76,17 @@ Type: mapping of mime-type and mapping of mime-subtype and [NodeType Config](#no
|
||||
|
||||
Properties related to files with specific mime types are defined here.
|
||||
|
||||
It is possible to use the wildcard `*` to match all mime subtypes. It will be
|
||||
overwritten by the more specific sub types that are defined.
|
||||
|
||||
Example:
|
||||
|
||||
```lua
|
||||
xplr.config.node_types.mime_essence = {
|
||||
application = {
|
||||
-- application/*
|
||||
["*"] = { meta = { icon = "a" } }
|
||||
|
||||
-- application/pdf
|
||||
pdf = { meta = { icon = "" } },
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user