diff options
author | Ferdinand Thiessen <rpm@fthiessen.de> | 2022-07-19 16:43:35 +0300 |
---|---|---|
committer | Ferdinand Thiessen <rpm@fthiessen.de> | 2022-07-19 16:51:53 +0300 |
commit | d8abe1d5f995902fe5815d11e10295b51404cb86 (patch) | |
tree | 28c9c1e43fe5ca1946e4e45c24caaeb37aa1c902 | |
parent | df288591d9480481b9ed3b17dc429a2ff167bfbf (diff) |
Add filetype mapping for txt to plaintext
This reduces the console output as everytime a txt file is loaded
a exception is printed out that no matching language mapping is found
for txt.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
-rw-r--r-- | src/helpers/mappings.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/mappings.js b/src/helpers/mappings.js index bbee0ac8c..b209495a2 100644 --- a/src/helpers/mappings.js +++ b/src/helpers/mappings.js @@ -89,6 +89,7 @@ const extensionHighlight = { ml: 'ocaml', rs: 'rust', sci: 'scilab', + txt: 'plaintext', vb: 'vbnet', vbs: 'vbscript', } |