Lines Matching +refs:vhdl +refs:function +refs:name
23 \ let s:name = expand("<afile>") |
24 \ let s:short = substitute(s:name, '\~$', '', '') |
25 \ if s:name != s:short && s:short != "" |
28 \ unlet! s:name s:short
44 " file name matches ft_ignore_pat.
166 " This function checks for the kind of assembly that is wanted by the user, or
418 " This function checks if one of the first ten lines start with a '@'. In
460 " This function checks for valid cl syntax in the first five lines.
869 " Cproto files have a comment in the first line and a function prototype in
1213 " This function checks if one of the first five lines start with a dot. In
1439 " This function checks for an assembly comment the first ten lines.
1465 " This function checks for valid Pascal syntax in the first ten lines.
1471 if line =~ '^\s*\(program\|unit\|procedure\|function\|const\|type\|var\)\>'
1720 func! SetFileTypeSH(name)
1724 if a:name =~ '\<csh\>'
1728 elseif a:name =~ '\<tcsh\>'
1732 elseif a:name =~ '\<ksh\>'
1740 elseif exists("g:bash_is_sh") || a:name =~ '\<bash\>' || a:name =~ '\<bash2\>'
1748 elseif a:name =~ '\<sh\>'
1763 func! SetFileTypeShell(name)
1780 exe "setf " . a:name
2132 au BufNewFile,BufRead *.hdl,*.vhd,*.vhdl,*.vbe,*.vst setf vhdl
2133 au BufNewFile,BufRead *.vhdl_[0-9]* call s:StarSetf('vhdl')
2336 " when there are no matching file name extensions.