mirror of
https://github.com/neovim/neovim.git
synced 2026-08-19 02:24:46 -05:00
vim-patch:9.2.0920: filetype: json-ld files are not recognized
Problem: filetype: json-ld files are not recognized
Solution: Detect *.jsonld files as jsonld filetype, include
filetype, indent and syntax plugins (Bogdan Barbu).
Reference:
https://www.w3.org/TR/json-ld11/
closes: vim/vim#20954
https://github.com/vim/vim/commit/a1e2198a2ca8bbddcad69ade8629f371bcb4cf1f
Co-authored-by: Bogdan Barbu <l4b.bogdan.barbu@gmail.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
" Vim filetype plugin
|
||||
" Language: JSON-LD
|
||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
" Last Change: 2026 Aug 06
|
||||
|
||||
if exists('b:did_ftplugin')
|
||||
finish
|
||||
endif
|
||||
|
||||
runtime! ftplugin/json.vim
|
||||
Reference in New Issue
Block a user