From 10b28c4175f6c9c1ca40e4d201f554359bc20aff Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 16 Mar 2014 14:52:12 +0100 Subject: Add opencl support --- ftplugin/opencl.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ftplugin/opencl.vim (limited to 'ftplugin') diff --git a/ftplugin/opencl.vim b/ftplugin/opencl.vim new file mode 100644 index 00000000..d89946fd --- /dev/null +++ b/ftplugin/opencl.vim @@ -0,0 +1,15 @@ +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 -- cgit v1.2.3