mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 09:56:31 +00:00
vim-patch:8.1.2345: .cjs files are not recognized as Javascript
Problem: .cjs files are not recognized as Javascript.
Solution: Add the *.cjs pattern. (closes vim/vim#5268)
c1faf3dc38
This commit is contained in:
@@ -223,7 +223,7 @@ let s:filename_checks = {
|
||||
\ 'jam': ['file.jpl', 'file.jpr'],
|
||||
\ 'java': ['file.java', 'file.jav'],
|
||||
\ 'javacc': ['file.jj', 'file.jjt'],
|
||||
\ 'javascript': ['file.js', 'file.javascript', 'file.es', 'file.mjs'],
|
||||
\ 'javascript': ['file.js', 'file.javascript', 'file.es', 'file.mjs', 'file.cjs'],
|
||||
\ 'javascriptreact': ['file.jsx'],
|
||||
\ 'jess': ['file.clp'],
|
||||
\ 'jgraph': ['file.jgr'],
|
||||
|
Reference in New Issue
Block a user