Recognize .mjs files as javascript files
.mjs is the extension for javascript modules
This commit is contained in:
parent
0749ec9b9d
commit
df9995b216
|
@ -1,7 +1,7 @@
|
||||||
# Detection
|
# Detection
|
||||||
# ‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
hook global BufCreate .*[.](js)x? %{
|
hook global BufCreate .*[.]m?(js)x? %{
|
||||||
set-option buffer filetype javascript
|
set-option buffer filetype javascript
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user