This repository has been archived on 2022-08-21. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/home/.config/nvim/after/ftplugin/json.vim

16 lines
333 B
VimL
Raw Normal View History

2021-07-04 02:19:46 +02:00
setlocal autoindent
setlocal conceallevel=0
setlocal expandtab
setlocal foldmethod=syntax
setlocal formatoptions=tcq2l
setlocal shiftwidth=4
setlocal softtabstop=4
setlocal tabstop=8
let s:bufname = expand('%:e')
if s:bufname && s:bufname ==# 'jsonschema'
setlocal shiftwidth=2
setlocal softtabstop=2
setlocal tabstop=4
endif