From 9e54a0e753578e10910a842d631cffde32d1f133 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 14 Apr 2006 20:42:25 +0000 Subject: updated for version 7.0d04 --- runtime/indent/vhdl.vim | 52 ------------------------------------------------- 1 file changed, 52 deletions(-) (limited to 'runtime/indent') diff --git a/runtime/indent/vhdl.vim b/runtime/indent/vhdl.vim index 8176673a81..c6f01988da 100644 --- a/runtime/indent/vhdl.vim +++ b/runtime/indent/vhdl.vim @@ -17,36 +17,6 @@ setlocal indentkeys=!^F,o,O,e,0(,0) setlocal indentkeys+==~if,=~then,=~elsif,=~else setlocal indentkeys+==~begin,=~is,=~select -" count repeat -"function! CountWrapper(cmd) -" let i = v:count1 -" if a:cmd[0] == ":" -" while i > 0 -" execute a:cmd -" let i = i - 1 -" endwhile -" else -" execute "normal! gv\" -" execute "normal ".i.a:cmd -" let curcol = col(".") -" let curline = line(".") -" normal! gv -" call cursor(curline, curcol) -" endif -"endfunction - -" explore motion -" keywords: "architecture", "block", "configuration", "component", "entity", "function", "package", "procedure", "process", "record", "units" -"let b:vhdl_explore = '\%(architecture\|block\|configuration\|component\|entity\|function\|package\|procedure\|process\|record\|units\)' -"noremap [[ :cal CountWrapper(':cal search("\\%(--.*\\)\\@\\c\\\\%^","bW")') -"noremap ]] :cal CountWrapper(':cal search("\\%(--.*\\)\\@\\c\\\\%$","W")') -"noremap [] :cal CountWrapper(':cal search("\\%(--.*\\)\\@\\c\\\\%^","bW")') -"noremap ][ :cal CountWrapper(':cal search("\\%(--.*\\)\\@\\c\\\\%$","W")') -"vnoremap [[ :cal CountWrapper('[[') -"vnoremap ]] :cal CountWrapper(']]') -"vnoremap [] :cal CountWrapper('[]') -"vnoremap ][ :cal CountWrapper('][') - " constants " not a comment let s:NC = '\%(--.*\)\@:\:\:\,'. -" \ s:NE.'\:\:\,'. -" \ s:NE.'\:\,'. -" \ s:NE.'\:\,'. -" \ s:NE.'\:\,'. -" \ s:NE.'\:\,'. -" \ s:NE.'\:\,'. -" \ s:NE.'\:\,'. -" \ s:NE.'\:\,'. -" \ s:NE.'\:\,'. -" \ s:NE.'\:\,'. -" \ s:NE.'\:\,'. -" \ s:NE.'\:\,'. -" \ s:NE.'\:\,'. -" \ s:NE.'\:\,'. -" \ s:NE.'\:\' -"endif - " only define indent function once if exists("*GetVHDLindent") finish -- cgit v1.2.3