a8e788a215
subrepo: subdir: "dotfiles/.vim/plugged/vim-prettier" merged: "5e6cca21" upstream: origin: "https://github.com/prettier/vim-prettier.git" branch: "master" commit: "5e6cca21" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
8 lines
197 B
VimL
8 lines
197 B
VimL
" Backwards compatable version of shiftwidth()
|
|
function! prettier#utils#shim#shiftwidth() abort
|
|
if exists('*shiftwidth')
|
|
return shiftwidth()
|
|
else
|
|
return &shiftwidth
|
|
endif
|
|
endfunction
|