mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
vim-patch:9.0.0510: Chatito files are not recognized (#20260)
Problem: Chatito files are not recognized.
Solution: Add a pattern for Chatito files. (closes vim/vim#11174)
7c046ae99b
This commit is contained in:
@@ -300,6 +300,9 @@ au BufNewFile,BufRead cfengine.conf setf cfengine
|
|||||||
" ChaiScript
|
" ChaiScript
|
||||||
au BufRead,BufNewFile *.chai setf chaiscript
|
au BufRead,BufNewFile *.chai setf chaiscript
|
||||||
|
|
||||||
|
" Chatito
|
||||||
|
au BufNewFile,BufRead *.chatito setf chatito
|
||||||
|
|
||||||
" Comshare Dimension Definition Language
|
" Comshare Dimension Definition Language
|
||||||
au BufNewFile,BufRead *.cdl setf cdl
|
au BufNewFile,BufRead *.cdl setf cdl
|
||||||
|
|
||||||
|
@@ -202,6 +202,7 @@ local extension = {
|
|||||||
return require('vim.filetype.detect').change(bufnr)
|
return require('vim.filetype.detect').change(bufnr)
|
||||||
end,
|
end,
|
||||||
chs = 'chaskell',
|
chs = 'chaskell',
|
||||||
|
chatito = 'chatito',
|
||||||
chopro = 'chordpro',
|
chopro = 'chordpro',
|
||||||
crd = 'chordpro',
|
crd = 'chordpro',
|
||||||
crdpro = 'chordpro',
|
crdpro = 'chordpro',
|
||||||
|
@@ -108,6 +108,7 @@ let s:filename_checks = {
|
|||||||
\ 'ch': ['file.chf'],
|
\ 'ch': ['file.chf'],
|
||||||
\ 'chaiscript': ['file.chai'],
|
\ 'chaiscript': ['file.chai'],
|
||||||
\ 'chaskell': ['file.chs'],
|
\ 'chaskell': ['file.chs'],
|
||||||
|
\ 'chatito': ['file.chatito'],
|
||||||
\ 'chill': ['file..ch'],
|
\ 'chill': ['file..ch'],
|
||||||
\ 'chordpro': ['file.chopro', 'file.crd', 'file.cho', 'file.crdpro', 'file.chordpro'],
|
\ 'chordpro': ['file.chopro', 'file.crd', 'file.cho', 'file.crdpro', 'file.chordpro'],
|
||||||
\ 'cl': ['file.eni'],
|
\ 'cl': ['file.eni'],
|
||||||
|
Reference in New Issue
Block a user