mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
vim-patch:9.0.1415: Crystal files are not recognized
Problem: Crystal files are not recognized.
Solution: Add a pattern for Crystal files. (Amaan Qureshi, closes vim/vim#12175)
7c4516fe93
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
This commit is contained in:
@@ -265,6 +265,7 @@ local extension = {
|
|||||||
end,
|
end,
|
||||||
cql = 'cqlang',
|
cql = 'cqlang',
|
||||||
crm = 'crm',
|
crm = 'crm',
|
||||||
|
cr = 'crystal',
|
||||||
csx = 'cs',
|
csx = 'cs',
|
||||||
cs = 'cs',
|
cs = 'cs',
|
||||||
csc = 'csc',
|
csc = 'csc',
|
||||||
|
@@ -133,6 +133,7 @@ let s:filename_checks = {
|
|||||||
\ 'cqlang': ['file.cql'],
|
\ 'cqlang': ['file.cql'],
|
||||||
\ 'crm': ['file.crm'],
|
\ 'crm': ['file.crm'],
|
||||||
\ 'crontab': ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'],
|
\ 'crontab': ['crontab', 'crontab.file', '/etc/cron.d/file', 'any/etc/cron.d/file'],
|
||||||
|
\ 'crystal': ['file.cr'],
|
||||||
\ 'cs': ['file.cs', 'file.csx'],
|
\ 'cs': ['file.cs', 'file.csx'],
|
||||||
\ 'csc': ['file.csc'],
|
\ 'csc': ['file.csc'],
|
||||||
\ 'csdl': ['file.csdl'],
|
\ 'csdl': ['file.csdl'],
|
||||||
|
Reference in New Issue
Block a user