mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
vim-patch:9.0.1408: QMLdir files are not recognized
Problem: QMLdir files are not recognized.
Solution: Add a pattern for QMLdir files. (Amaan Qureshi, closes vim/vim#12161)
1505bef5c4
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
This commit is contained in:
@@ -1593,6 +1593,7 @@ local filename = {
|
||||
['.pythonstartup'] = 'python',
|
||||
['.pythonrc'] = 'python',
|
||||
SConstruct = 'python',
|
||||
qmldir = 'qmldir',
|
||||
['.Rprofile'] = 'r',
|
||||
['Rprofile'] = 'r',
|
||||
['Rprofile.site'] = 'r',
|
||||
|
@@ -472,6 +472,7 @@ let s:filename_checks = {
|
||||
\ 'pyrex': ['file.pyx', 'file.pxd'],
|
||||
\ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi', 'SConstruct'],
|
||||
\ 'ql': ['file.ql', 'file.qll'],
|
||||
\ 'qmldir': ['qmldir'],
|
||||
\ 'quake': ['anybaseq2/file.cfg', 'anyid1/file.cfg', 'quake3/file.cfg', 'baseq2/file.cfg', 'id1/file.cfg', 'quake1/file.cfg', 'some-baseq2/file.cfg', 'some-id1/file.cfg', 'some-quake1/file.cfg'],
|
||||
\ 'quarto': ['file.qmd'],
|
||||
\ 'r': ['file.r', '.Rprofile', 'Rprofile', 'Rprofile.site'],
|
||||
|
Reference in New Issue
Block a user