ciaranm / securemodelines

A secure alternative to Vim modelines
107 stars 29 forks source link

Add syn #10

Closed Diablo-D3 closed 12 years ago

Diablo-D3 commented 12 years ago

Syn should be safe to use for securemodelines

ciaranm commented 12 years ago

Why is syn useful in a modeline?

Diablo-D3 commented 12 years ago

vim sometimes misdetects the wrong filetype, such as OpenCL files (.cl) as Common Lisp.

ciaranm commented 12 years ago

You should use filetype (ft) for that, not syn.