mirror of
https://github.com/neovim/neovim.git
synced 2026-08-14 19:39:33 +00:00
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
a1e2198a2c
Co-authored-by: Bogdan Barbu <l4b.bogdan.barbu@gmail.com>
11 lines
200 B
VimL
11 lines
200 B
VimL
" 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
|