Recognize .mjs files as javascript files

.mjs is the extension for javascript modules
This commit is contained in:
Las 2019-12-03 15:05:40 +09:00 committed by GitHub
parent 0749ec9b9d
commit df9995b216
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
# Detection
# ‾‾‾‾‾‾‾‾‾
hook global BufCreate .*[.](js)x? %{
hook global BufCreate .*[.]m?(js)x? %{
set-option buffer filetype javascript
}