mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-27 12:16:22 +03:00
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
|
||||
# ‾‾‾‾‾‾‾‾‾
|
||||
|
||||
hook global BufCreate .*[.](js)x? %{
|
||||
hook global BufCreate .*[.]m?(js)x? %{
|
||||
set-option buffer filetype javascript
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user