1
1
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:
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
}