mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-24 20:41:31 +01:00
vim: add json comment highlighting
This commit is contained in:
parent
8236f71189
commit
81a84dacd2
|
@ -61,6 +61,11 @@ autocmd FileType vue setlocal shiftwidth=2 softtabstop=2 expandtab
|
|||
autocmd FileType go setlocal noexpandtab makeprg=go\ build
|
||||
autocmd FileType rust set makeprg=cargo\ build
|
||||
|
||||
syntax match jsonComment "//.*"
|
||||
syntax match jsonComment "\(/\*\)\|\(\*/\)"
|
||||
hi def link jsonComment Comment
|
||||
|
||||
|
||||
au BufRead dvc.yaml let b:ale_fix_on_save=0
|
||||
au BufRead *.dvc let b:ale_fix_on_save=0
|
||||
au BufRead *.dvc set filetype=yaml
|
||||
|
|
Loading…
Reference in New Issue
Block a user