diff src/testdir/test_filetype.vim @ 34276:6d04d3e04aca v9.1.0076

patch 9.1.0076: luau config file not detected Commit: https://github.com/vim/vim/commit/de7f5bde6c598d4da4ce5b30328eb458962ba60a Author: lopy <70210066+lopi-py@users.noreply.github.com> Date: Sun Feb 4 10:27:33 2024 +0100 patch 9.1.0076: luau config file not detected Problem: luau config file not detected (lopy) Solution: Detect it as jsonc (lopy) fixes: #13960 closes: #13970 Signed-off-by: lopy <70210066+lopi-py@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 04 Feb 2024 10:45:04 +0100
parents 1f7df4dae067
children d5f9c5aacad3
line wrap: on
line diff
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -351,7 +351,7 @@ def s:GetFilenameChecks(): dict<list<str
     jproperties: ['file.properties', 'file.properties_xx', 'file.properties_xx_xx', 'some.properties_xx_xx_file', 'org.eclipse.xyz.prefs'],
     json: ['file.json', 'file.jsonp', 'file.json-patch', 'file.geojson', 'file.webmanifest', 'Pipfile.lock', 'file.ipynb', '.prettierrc', '.firebaserc', '.stylelintrc', 'file.slnf'],
     json5: ['file.json5'],
-    jsonc: ['file.jsonc', '.babelrc', '.eslintrc', '.jsfmtrc', '.jshintrc', '.hintrc', '.swrc', 'jsconfig.json', 'tsconfig.json', 'tsconfig.test.json', 'tsconfig-test.json'],
+    jsonc: ['file.jsonc', '.babelrc', '.eslintrc', '.jsfmtrc', '.jshintrc', '.hintrc', '.swrc', 'jsconfig.json', 'tsconfig.json', 'tsconfig.test.json', 'tsconfig-test.json', '.luaurc'],
     jsonl: ['file.jsonl'],
     jsonnet: ['file.jsonnet', 'file.libsonnet'],
     jsp: ['file.jsp'],