mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 12:33:51 -05:00
20 lines
309 B
VimL
20 lines
309 B
VimL
if has_key(g:polyglot_is_disabled, 'opencl')
|
|
finish
|
|
endif
|
|
|
|
if exists("b:did_ftplugin") | finish | endif
|
|
|
|
if version > 600
|
|
runtime! ftplugin/c.vim
|
|
endif
|
|
|
|
" Smaller tab stops.
|
|
setlocal tabstop=4
|
|
setlocal shiftwidth=4
|
|
|
|
" Smart tabbing/indenting
|
|
setlocal smarttab
|
|
setlocal smartindent
|
|
|
|
let b:did_ftplugin = 1
|