filetype plugin indent on au BufRead,BufNewFile *.sce set filetype=presentation_sdl au BufRead,BufNewFile *.tem set filetype=presentation_sdl au BufRead,BufNewFile *.pcl set filetype=presentation_pcl au! Syntax presentation_sdl source ~/.vim/syntax/presentation_sdl.vim au! Syntax presentation_pcl source ~/.vim/syntax/presentation_pcl.vim if exists('+omnifunc') " Do not set the option if already set since this " results in an E117 warning. if &omnifunc == "" setlocal omnifunc=syntaxcomplete#Complete endif endif " Indicates whether we should use the iskeyword option to determine " how to split words. " This is the default setting, but if you define a buffer local " variable you can override this on a per filetype. if !exists('g:omni_syntax_use_iskeyword') let g:omni_syntax_use_iskeyword = 1 endif let g:omni_syntax_group_include_pcl = 'ppclFunctions,ppclMethods' let g:omni_syntax_group_include_sdl = 'psdlClasses,psdlProperties,psdlSpecialValues,psdlPreprocessing'