aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-02-04 10:57:36 +0100
committerChristian Clason <c.clason@uni-graz.at>2024-02-04 11:14:40 +0100
commit1d5f86f6949b54445e51be67acf918bf2e15105c (patch)
tree751caa5780283e11f9278d14a834b60db3cef9de /runtime/lua
parent21df0cdb886c09fccafb392949c690ca4af03987 (diff)
downloadrneovim-1d5f86f6949b54445e51be67acf918bf2e15105c.tar.gz
rneovim-1d5f86f6949b54445e51be67acf918bf2e15105c.tar.bz2
rneovim-1d5f86f6949b54445e51be67acf918bf2e15105c.zip
vim-patch:9.1.0076: luau config file not detected
Problem: luau config file not detected (lopy) Solution: Detect it as jsonc (lopy) fixes: vim/vim#13960 closes: vim/vim#13970 https://github.com/vim/vim/commit/de7f5bde6c598d4da4ce5b30328eb458962ba60a Co-authored-by: lopy <70210066+lopi-py@users.noreply.github.com>
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/filetype.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index fbcca2dcfd..7fa92d1664 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -1341,6 +1341,7 @@ local filename = {
['.hintrc'] = 'jsonc',
['.jsfmtrc'] = 'jsonc',
['.jshintrc'] = 'jsonc',
+ ['.luaurc'] = 'jsonc',
['.swrc'] = 'jsonc',
['.justfile'] = 'just',
Kconfig = 'kconfig',