mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
20 lines
347 B
VimL
20 lines
347 B
VimL
if polyglot#init#is_disabled(expand('<sfile>:p'), 'opencl', 'ftplugin/opencl.vim')
|
|
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
|