vim-patch:9.0.1319: PRQL files are not recognized (#22319)

Problem:    PRQL files are not recognized.
Solution:   Add a filetype pattern for PRQL files. (Matthias Queitsch,
            closes vim/vim#12018)

9de960ace0

Co-authored-by: Matthias Queitsch <matthias.queitsch@mailbox.org>
This commit is contained in:
Christian Clason 2023-02-19 01:27:32 +01:00 committed by GitHub
parent 53841df58d
commit 2f64137974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -810,6 +810,7 @@ local extension = {
pdb = 'prolog', pdb = 'prolog',
pml = 'promela', pml = 'promela',
proto = 'proto', proto = 'proto',
prql = 'prql',
['psd1'] = 'ps1', ['psd1'] = 'ps1',
['psm1'] = 'ps1', ['psm1'] = 'ps1',
['ps1'] = 'ps1', ['ps1'] = 'ps1',

View File

@ -550,6 +550,7 @@ let s:filename_checks = {
\ 'spyce': ['file.spy', 'file.spi'], \ 'spyce': ['file.spy', 'file.spi'],
\ 'sql': ['file.tyb', 'file.typ', 'file.tyc', 'file.pkb', 'file.pks'], \ 'sql': ['file.tyb', 'file.typ', 'file.tyc', 'file.pkb', 'file.pks'],
\ 'sqlj': ['file.sqlj'], \ 'sqlj': ['file.sqlj'],
\ 'prql': ['file.prql'],
\ 'sqr': ['file.sqr', 'file.sqi'], \ 'sqr': ['file.sqr', 'file.sqi'],
\ 'squid': ['squid.conf'], \ 'squid': ['squid.conf'],
\ 'squirrel': ['file.nut'], \ 'squirrel': ['file.nut'],