sponsor Vim development Vim logo Vim Book Ad

smcl.vim : vim syntax file for SMCL files

 script karma  Rating 4/1, Downloaded by 675  Comments, bugs, improvements  Vim wiki

created by
Jeffrey Pitblado
 
script type
syntax
 
description
smcl.vim is a syntax file for Stata's smcl- and hlp-files

This syntax file will help identify:

* most smcl codes
* errors in parens, brackets, ...
 
install details
I keep smcl.vim in $HOME/.vim/syntax/ and associate smcl- and hlp-files in$HOME/.vim/filetypes.vim using the following:

augroup filetypedetect
        autocmd! BufRead,BufNewFile *.hlp       set filetype=smcl
        autocmd! BufRead,BufNewFile *.ihlp      set filetype=smcl
        autocmd! BufRead,BufNewFile *.smcl    set filetype=smcl
augrougp END
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
smcl.vim 1.1.1 2006-04-15 6.0 Jeffrey Pitblado 'syntax clear' only under version control
check for 'b:current_syntax', removed 'did_smcl_syntax_inits'
smcl.vim 1.0.0 2006-04-13 6.0 Jeffrey Pitblado Initial upload
ip used for rating: 3.144.77.71

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github