晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。 林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。 见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝) 既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。 南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。
| DIR:/proc/thread-self/root/proc/thread-self/root/usr/share/vim/vim80/syntax/ |
| Current File : //proc/thread-self/root/proc/thread-self/root/usr/share/vim/vim80/syntax/diva.vim |
" Vim syntax file
" Language: SKILL for Diva
" Maintainer: Toby Schaffer <jtschaff@eos.ncsu.edu>
" Last Change: 2001 May 09
" Comments: SKILL is a Lisp-like programming language for use in EDA
" tools from Cadence Design Systems. It allows you to have
" a programming environment within the Cadence environment
" that gives you access to the complete tool set and design
" database. These items are for Diva verification rules decks.
" Don't remove any old syntax stuff hanging around! We need stuff
" from skill.vim.
if !exists("did_skill_syntax_inits")
runtime! syntax/skill.vim
endif
syn keyword divaDRCKeywords area enc notch ovlp sep width
syn keyword divaDRCKeywords app diffNet length lengtha lengthb
syn keyword divaDRCKeywords notParallel only_perp opposite parallel
syn keyword divaDRCKeywords sameNet shielded with_perp
syn keyword divaDRCKeywords edge edgea edgeb fig figa figb
syn keyword divaDRCKeywords normalGrow squareGrow message raw
syn keyword divaMeasKeywords perimeter length bends_all bends_full
syn keyword divaMeasKeywords bends_part corners_all corners_full
syn keyword divaMeasKeywords corners_part angles_all angles_full
syn keyword divaMeasKeywords angles_part fig_count butting coincident
syn keyword divaMeasKeywords over not_over outside inside enclosing
syn keyword divaMeasKeywords figure one_net two_net three_net grounded
syn keyword divaMeasKeywords polarized limit keep ignore
syn match divaCtrlFunctions "(ivIf\>"hs=s+1
syn match divaCtrlFunctions "\<ivIf("he=e-1
syn match divaCtrlFunctions "(switch\>"hs=s+1
syn match divaCtrlFunctions "\<switch("he=e-1
syn match divaCtrlFunctions "(and\>"hs=s+1
syn match divaCtrlFunctions "\<and("he=e-1
syn match divaCtrlFunctions "(or\>"hs=s+1
syn match divaCtrlFunctions "\<or("he=e-1
syn match divaCtrlFunctions "(null\>"hs=s+1
syn match divaCtrlFunctions "\<null("he=e-1
syn match divaExtFunctions "(save\(Interconnect\|Property\|Parameter\|Recognition\)\>"hs=s+1
syn match divaExtFunctions "\<save\(Interconnect\|Property\|Parameter\|Recognition\)("he=e-1
syn match divaExtFunctions "(\(save\|measure\|attach\|multiLevel\|calculate\)Parasitic\>"hs=s+1
syn match divaExtFunctions "\<\(save\|measure\|attach\|multiLevel\|calculate\)Parasitic("he=e-1
syn match divaExtFunctions "(\(calculate\|measure\)Parameter\>"hs=s+1
syn match divaExtFunctions "\<\(calculate\|measure\)Parameter("he=e-1
syn match divaExtFunctions "(measure\(Resistance\|Fringe\)\>"hs=s+1
syn match divaExtFunctions "\<measure\(Resistance\|Fringe\)("he=e-1
syn match divaExtFunctions "(extract\(Device\|MOS\)\>"hs=s+1
syn match divaExtFunctions "\<extract\(Device\|MOS\)("he=e-1
syn match divaDRCFunctions "(checkAllLayers\>"hs=s+1
syn match divaDRCFunctions "\<checkAllLayers("he=e-1
syn match divaDRCFunctions "(checkLayer\>"hs=s+1
syn match divaDRCFunctions "\<checkLayer("he=e-1
syn match divaDRCFunctions "(drc\>"hs=s+1
syn match divaDRCFunctions "\<drc("he=e-1
syn match divaDRCFunctions "(drcAntenna\>"hs=s+1
syn match divaDRCFunctions "\<drcAntenna("he=e-1
syn match divaFunctions "(\(drcExtract\|lvs\)Rules\>"hs=s+1
syn match divaFunctions "\<\(drcExtract\|lvs\)Rules("he=e-1
syn match divaLayerFunctions "(saveDerived\>"hs=s+1
syn match divaLayerFunctions "\<saveDerived("he=e-1
syn match divaLayerFunctions "(copyGraphics\>"hs=s+1
syn match divaLayerFunctions "\<copyGraphics("he=e-1
syn match divaChkFunctions "(dubiousData\>"hs=s+1
syn match divaChkFunctions "\<dubiousData("he=e-1
syn match divaChkFunctions "(offGrid\>"hs=s+1
syn match divaChkFunctions "\<offGrid("he=e-1
syn match divaLVSFunctions "(compareDeviceProperty\>"hs=s+1
syn match divaLVSFunctions "\<compareDeviceProperty("he=e-1
syn match divaLVSFunctions "(ignoreTerminal\>"hs=s+1
syn match divaLVSFunctions "\<ignoreTerminal("he=e-1
syn match divaLVSFunctions "(parameterMatchType\>"hs=s+1
syn match divaLVSFunctions "\<parameterMatchType("he=e-1
syn match divaLVSFunctions "(\(permute\|prune\|remove\)Device\>"hs=s+1
syn match divaLVSFunctions "\<\(permute\|prune\|remove\)Device("he=e-1
syn match divaGeomFunctions "(geom\u\a\+\(45\|90\)\=\>"hs=s+1
syn match divaGeomFunctions "\<geom\u\a\+\(45\|90\)\=("he=e-1
" Define the default highlighting.
" Only when an item doesn't have highlighting yet
hi def link divaDRCKeywords Statement
hi def link divaMeasKeywords Statement
hi def link divaCtrlFunctions Conditional
hi def link divaExtFunctions Function
hi def link divaDRCFunctions Function
hi def link divaFunctions Function
hi def link divaLayerFunctions Function
hi def link divaChkFunctions Function
hi def link divaLVSFunctions Function
hi def link divaGeomFunctions Function
let b:current_syntax = "diva"
" vim:ts=4
|