mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.4721: cooklang files are not recognized (#18058)
Problem: Cooklang files are not recognized.
Solution: recognize *.cook files. (Goc Dundar, closes vim/vim#10120)
36951ed1da
This commit is contained in:
parent
3280dc2b60
commit
61bd5426f4
@ -390,6 +390,9 @@ au BufNewFile,BufRead *.cfm,*.cfi,*.cfc setf cf
|
||||
" Configure scripts
|
||||
au BufNewFile,BufRead configure.in,configure.ac setf config
|
||||
|
||||
" Cooklang
|
||||
au BufNewFile,BufRead *.cook setf cook
|
||||
|
||||
" CUDA Compute Unified Device Architecture
|
||||
au BufNewFile,BufRead *.cu,*.cuh setf cuda
|
||||
|
||||
|
@ -95,6 +95,7 @@ local extension = {
|
||||
clj = "clojure",
|
||||
cljc = "clojure",
|
||||
cljs = "clojure",
|
||||
cook = "cook",
|
||||
cmake = "cmake",
|
||||
cmod = "cmod",
|
||||
lib = "cobol",
|
||||
|
@ -116,6 +116,7 @@ let s:filename_checks = {
|
||||
\ 'conf': ['auto.master'],
|
||||
\ 'config': ['configure.in', 'configure.ac', '/etc/hostname.file'],
|
||||
\ 'context': ['tex/context/any/file.tex', 'file.mkii', 'file.mkiv', 'file.mkvi', 'file.mkxl', 'file.mklx'],
|
||||
\ 'cook': ['file.cook'],
|
||||
\ 'cpp': ['file.cxx', 'file.c++', 'file.hh', 'file.hxx', 'file.hpp', 'file.ipp', 'file.moc', 'file.tcc', 'file.inl', 'file.tlh'],
|
||||
\ 'crm': ['file.crm'],
|
||||
\ 'crontab': ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'],
|
||||
|
Loading…
Reference in New Issue
Block a user