FollieHiyuki-dotfiles/home/.config/nvim/after/ftplugin/json.vim

16 lines
333 B
VimL
Raw Normal View History

2021-07-03 20:19:46 -04: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