1
0
forked from aniani/vim

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>
This commit is contained in:
lopy
2024-02-04 10:27:33 +01:00
committed by Christian Brabandt
parent 7c5aeaffa2
commit de7f5bde6c
3 changed files with 6 additions and 1 deletions

View File

@@ -1244,6 +1244,9 @@ au BufNewFile,BufRead *.lua setf lua
" Luau
au BufNewFile,BufRead *.luau setf luau
" Luau config
au BufNewFile,BufRead .luaurc setf jsonc
" Luacheck
au BufNewFile,BufRead .luacheckrc setf lua