Files
cms-website/.deps_siteforge_v812/pygments/__pycache__/modeline.cpython-312.pyc
T

20 lines
1.5 KiB
Plaintext
Raw Normal View History

Ë
èÅÙjðãó^—dZddlZdgZejdej«Zd„Zdd„Zy)zÙ
pygments.modeline
~~~~~~~~~~~~~~~~~
A simple modeline parser (based on pymodeline).
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
éNÚget_filetype_from_bufferze
(?: vi | vim | ex ) (?: [<=>]? \d* )? :
.* (?: ft | filetype | syn | syntax ) = ( [^:\s]+ )
cóT—tj|«}|r|jd«Sy)Né)Ú modeline_reÚsearchÚgroup)ÚlÚms úUC:\Users\30997\AppData\Local\Temp\pip-target-6g32zz5s\lib\python\pygments/modeline.pyÚget_filetype_from_liner s(€Ü×ј1Ó€AÙØ�w‰w�q‹zÐð ócóÒ—|j«}|d| dz
d…D]}t|«}|sŒ|cSt|dd«D]%}|t|«ksŒt||«}|sŒ#|cSy)zL
Scan the buffer for modelines and return filetype if one is found.
éÿÿÿÿrN)Ú
splitlinesr ÚrangeÚlen)ÚbufÚ max_linesÚlinesÚlineÚretÚis r rrsy€ð
�N‰NÓ €EØ�b˜)˜ A™ bÐ(Ô)ˆÜ$ TÓ*ˆÚ ØŠJð*ô�9˜b "Ö
%ˆØ Œs�5‹z‹>Ü(¨¨q©Ó2ˆCÚØ’
ð &ð r