From 0f56baa132db12a3e4712982cb75855e54e22d09 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 29 Apr 2023 16:36:57 +0200 Subject: [PATCH] Aggiunta impostazioni base vim. --- prepare.sh | 10 +- vim/.netrwhist | 3 + vim/after/ftplugin/cpp.vim | 2 + vim/after/ftplugin/gnuplot.vim | 167 + vim/after/ftplugin/html.vim | 2 + vim/after/ftplugin/markdown.vim | 3 + vim/after/ftplugin/php.vim | 2 + vim/after/ftplugin/ruby.vim | 2 + vim/after/ftplugin/scss.vim | 2 + vim/after/ftplugin/sh.vim | 2 + vim/after/ftplugin/vim.vim | 2 + vim/after/ftplugin/yaml.vim | 2 + vim/after/syntax/ciscoconfig.vim | 80 + vim/after/syntax/ciscoiproute.vim | 26 + vim/autoload/htmlcomplete.vim | 861 +++ vim/autoload/rails.vim | 4684 +++++++++++++++++ vim/autoload/xml/aria.vim | 232 + vim/autoload/xml/html5.vim | 791 +++ vim/compiler/cucumber.vim | 29 + vim/doc/rails.txt | 1129 ++++ vim/doc/rake.txt | 87 + vim/filetype.vim | 12 + vim/ftdetect/cucumber.vim | 2 + vim/ftdetect/thor.vim | 2 + vim/ftplugin/cucumber.vim | 132 + .../latex-suite/templates/IEEEtran.tex | 142 + .../latex-suite/templates/article.tex | 13 + .../latex-suite/templates/breve-talk.tex | 41 + .../latex-suite/templates/delega-franco.tex | 52 + .../latex-suite/templates/foldedletter.tex | 47 + vim/ftplugin/latex-suite/templates/letter.tex | 46 + vim/ftplugin/latex-suite/templates/report.tex | 9 + .../templates/report_two_column.tex | 9 + vim/ftplugin/terraform.vim | 3 + vim/ftplugin/tex.vim | 29 + vim/ftplugin/yaml.vim | 1 + vim/indent/cucumber.vim | 74 + vim/indent/html.vim | 282 + vim/plugin/let-modeline.vim | 238 + vim/plugin/libList.vim | 249 + vim/plugin/rails.vim | 340 ++ vim/plugin/rake.vim | 576 ++ vim/record/html5.vim | 1 + vim/syntax/cucumber.vim | 126 + vim/syntax/html/aria.vim | 35 + vim/syntax/html/html5.vim | 59 + vim/syntax/html/rdfa.vim | 11 + vimrc | 90 + 48 files changed, 10738 insertions(+), 1 deletion(-) create mode 100644 vim/.netrwhist create mode 100644 vim/after/ftplugin/cpp.vim create mode 100644 vim/after/ftplugin/gnuplot.vim create mode 100644 vim/after/ftplugin/html.vim create mode 100644 vim/after/ftplugin/markdown.vim create mode 100644 vim/after/ftplugin/php.vim create mode 100644 vim/after/ftplugin/ruby.vim create mode 100644 vim/after/ftplugin/scss.vim create mode 100644 vim/after/ftplugin/sh.vim create mode 100644 vim/after/ftplugin/vim.vim create mode 100644 vim/after/ftplugin/yaml.vim create mode 100644 vim/after/syntax/ciscoconfig.vim create mode 100644 vim/after/syntax/ciscoiproute.vim create mode 100644 vim/autoload/htmlcomplete.vim create mode 100644 vim/autoload/rails.vim create mode 100644 vim/autoload/xml/aria.vim create mode 100644 vim/autoload/xml/html5.vim create mode 100644 vim/compiler/cucumber.vim create mode 100644 vim/doc/rails.txt create mode 100644 vim/doc/rake.txt create mode 100644 vim/filetype.vim create mode 100644 vim/ftdetect/cucumber.vim create mode 100644 vim/ftdetect/thor.vim create mode 100644 vim/ftplugin/cucumber.vim create mode 100755 vim/ftplugin/latex-suite/templates/IEEEtran.tex create mode 100755 vim/ftplugin/latex-suite/templates/article.tex create mode 100755 vim/ftplugin/latex-suite/templates/breve-talk.tex create mode 100755 vim/ftplugin/latex-suite/templates/delega-franco.tex create mode 100755 vim/ftplugin/latex-suite/templates/foldedletter.tex create mode 100755 vim/ftplugin/latex-suite/templates/letter.tex create mode 100755 vim/ftplugin/latex-suite/templates/report.tex create mode 100755 vim/ftplugin/latex-suite/templates/report_two_column.tex create mode 100644 vim/ftplugin/terraform.vim create mode 100644 vim/ftplugin/tex.vim create mode 100644 vim/ftplugin/yaml.vim create mode 100644 vim/indent/cucumber.vim create mode 100644 vim/indent/html.vim create mode 100644 vim/plugin/let-modeline.vim create mode 100644 vim/plugin/libList.vim create mode 100644 vim/plugin/rails.vim create mode 100644 vim/plugin/rake.vim create mode 100644 vim/record/html5.vim create mode 100644 vim/syntax/cucumber.vim create mode 100644 vim/syntax/html/aria.vim create mode 100644 vim/syntax/html/html5.vim create mode 100644 vim/syntax/html/rdfa.vim create mode 100644 vimrc diff --git a/prepare.sh b/prepare.sh index 3d1e761..bc34246 100644 --- a/prepare.sh +++ b/prepare.sh @@ -38,6 +38,14 @@ fi if [[ ! -f "$HOME/.tmux.conf" ]]; then mkdir -p ${HOME}/.config/tmux/plugins git clone https://github.com/tmux-plugins/tpm ${HOME}/.config/tmux/plugins/tpm - cp "${DOTFILES}/tmux.conf" "$HOME/.tmux.conf" + ln -sf "${DOTFILES}/tmux.conf" "$HOME/.tmux.conf" echo "Please, open Tmux and run 'prefix I'." fi + +# Vim - configure vundle and install plugins. +if [[ ! -f "${HOME}/.vimrc" ]]; then + ln -sf ${DOTFILES}/vimrc ${HOME}/.vimrc + ln -sf ${DOTFILES}/vim ${HOME}/.vim + # Installing vundle and plugins. + vim +PluginInstall +qall +fi diff --git a/vim/.netrwhist b/vim/.netrwhist new file mode 100644 index 0000000..e051398 --- /dev/null +++ b/vim/.netrwhist @@ -0,0 +1,3 @@ +let g:netrw_dirhistmax =10 +let g:netrw_dirhist_cnt =1 +let g:netrw_dirhist_1='/Users/syntaxerrormmm/.docker/machine/machines' diff --git a/vim/after/ftplugin/cpp.vim b/vim/after/ftplugin/cpp.vim new file mode 100644 index 0000000..0b1d535 --- /dev/null +++ b/vim/after/ftplugin/cpp.vim @@ -0,0 +1,2 @@ +set softtabstop=2 +set shiftwidth=2 diff --git a/vim/after/ftplugin/gnuplot.vim b/vim/after/ftplugin/gnuplot.vim new file mode 100644 index 0000000..a4c5959 --- /dev/null +++ b/vim/after/ftplugin/gnuplot.vim @@ -0,0 +1,167 @@ +" Vim syntax file +" Language: Gnuplot +" Maintainer: Jim Eberle +" Last Change: Dec 21, 2006 +" URL: http://www.fastnlight.com/syntax/gnuplot.vim + +" Use :syn w/in a buffer to see language element breakdown + +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif + +" --- Statement --- +syn keyword plotStmt cd call clear exit fit if help history load +syn keyword plotStmt pause plot print pwd quit replot reread +syn keyword plotStmt reset save set shell show splot system +syn keyword plotStmt test unset update +hi def link plotStmt Statement + +" --- Option --- +syn keyword plotOption angles arrow autoscale bars boxwidth clabel +syn keyword plotOption clip cntrparam colorbox contour decimalsign +syn keyword plotOption dgrid3d dummy encoding fit format grid +syn keyword plotOption historysize isosamples key locale logscale +syn keyword plotOption mapping mouse multiplot offsets origin output +syn keyword plotOption palette parametric pm3d polar print +syn keyword plotOption samples style surface terminal ticscale +syn keyword plotOption ticslevel timestamp timefmt title view zero +syn keyword plotOption zeroaxis label tics margin +syn match plotOption "[xyz]2\?range" +syn match plotOption "[xyz]2\?data" +syn match plotOption "[xyz]2\?label" +syn match plotOption "[xyz]2\?zeroaxis" +syn match plotOption "[rtuv]range" +syn match plotOption "[blrt]margin" +syn match plotOption "\(no\)\?m\?[xyz]2\?tics" +syn match plotOption "\(no\)\?m\?cbtics" +syn match plotOption "[xyz]2\?[md]tics" +syn keyword plotOption cbtics cblabel cbrange cbdata +syn keyword plotOption cbdtics cbmtics +hi def link plotOption Identifier + +" --- Operator --- +syn match plotOp "[-+*/^|&?:]" +syn match plotOp "\*\*" +syn match plotOp "&&" +syn match plotOp "||" +hi def link plotOp Operator + +" --- Function --- +syn keyword plotFn abs abs acos arg asin atan besj0 besj1 +syn keyword plotFn besy0 besy1 ceil cos cosh erf erfc exp +syn keyword plotFn floor gamma ibeta igamma imag int lgamma +syn keyword plotFn log log10 rand real sgn sin sinh sqrt tan tanh +hi def link plotFn Function + +" --- String --- +syn region plotString start=+"+ skip=+\\\\\|\\"+ end=+"+ +syn region plotString start=+'+ skip=+\\\\\|\\'+ end=+'+ +hi def link plotString String + +" --- Number --- +syn match plotNumber "\<-\?\d\+\>" +hi def link plotNumber Number + +" --- Float --- +syn match plotFloat display contained "\d\+\.\d*\(e[-+]\=\d\+\)\=" +syn match plotFloat display contained "\.\d\+\(e[-+]\=\d\+\)\=\>" +syn match plotFloat display contained "\d\+e[-+]\>" +hi def link plotFloat Float + +" --- Constant Pair --- +syn keyword plotPair border noborder +syn keyword plotPair labels nolabels +syn keyword plotPair autotitles noautotitles +syn keyword plotPair filled nofilled +syn keyword plotPair offset nooffset +syn keyword plotPair undefined noundefined +syn keyword plotPair reverse noreverse +syn keyword plotPair ratio noratio +syn keyword plotPair head nohead +syn keyword plotPair rotate norotate +syn keyword plotPair point nopoint +syn keyword plotPair box nobox +syn keyword plotPair square nosquare +syn keyword plotPair mirror nomirror +syn keyword plotPair verbose noverbose +syn keyword plotPair altdiagonal noaltdiagonal +syn keyword plotPair ftriangles noftriangles +syn keyword plotPair hidden3d nohidden3d +syn keyword plotPair bentover nobentover +syn keyword plotPair enhanced noenhanced +syn keyword plotPair doubleclick nodoubleclick +syn keyword plotPair zoomjump nozoomjump +syn keyword plotPair zoomcoordinates nozoomcoordinates +syn keyword plotPair polardistance nopolardistance +syn keyword plotPair errorvariables noerrorvariables +syn keyword plotPair ps_allcF nops_allcF +syn keyword plotPair writeback nowriteback +hi def link plotPair plotConst + +" --- Constant --- +syn keyword plotConst pi +syn keyword plotConst degrees radians +syn keyword plotConst default restore user +syn keyword plotConst left right center top bottom outside below Left Right +syn keyword plotConst front back layerdefault +syn keyword plotConst tiny small medium large giant size +syn keyword plotConst absolute relative +syn keyword plotConst vertical horizontal +syn keyword plotConst min max fixmin fixmax fix keepfix +syn keyword plotConst on off begin end in out push pop +syn keyword plotConst zero one two +syn keyword plotConst empty solid pattern +syn keyword plotConst linear cubicspline bspline +syn keyword plotConst bdefault base both +syn keyword plotConst iso_8859_1 iso_8859_2 iso_8859_15 cp850 cp852 cp437 koi8r +syn keyword plotConst cartesian spherical cylindrical +syn keyword plotConst gray color positive negative +syn keyword plotConst fill line +syn keyword plotConst linestyle ls +syn keyword plotConst linetype lt +syn keyword plotConst linewidth lw +syn keyword plotConst pointtype pt +syn keyword plotConst pointsize ps +syn keyword plotConst textcolor tc +syn keyword plotConst xy xz yz xyz +syn keyword plotConst clipboardformat mouseformat +syn keyword plotConst trianglepattern labeloptions +syn keyword plotConst heads arrowstyle as rto +syn keyword plotConst boxes filledcurves financebars candlesticks +syn keyword plotConst boxerrorbars boxxyerrorbars xerrorbars xerrorlines +syn keyword plotConst xyerrorbars xyerrorlines yerrorbars yerrorlines +syn keyword plotConst dots fsteps histeps impulses lines linespoints steps +syn keyword plotConst points vectors +syn keyword plotConst binary matrix axis autofreq +syn keyword plotConst loadpath fontpath logfile datafile file +syn keyword plotConst scansautomatic scansbackward scansforward separator +syn keyword plotConst corners2color mean median geomean +syn keyword plotConst clip1in clip4in c1 c2 c3 c4 +syn keyword plotConst flush implicit explicit +syn keyword plotConst order auto levels discrete incremental +syn keyword plotConst closed commentschars +syn keyword plotConst data defined +syn keyword plotConst font function functions height width +syn keyword plotConst map maxcolors missing model +syn keyword plotConst rgbformulae samplen spacing +hi def link plotConst Constant + +" --- Keyword --- +syn keyword plotKW all using index every +syn keyword plotKW at by from to with +syn keyword plotKW x y z +hi def link plotKW Keyword + +" --- Comment --- +syn match plotComment "#.*" +hi def link plotComment Comment + +" --- Todo --- +syn keyword plotTodo contained TODO FIXME XXX +hi def link plotTodo Todo + +let b:current_syntax = "gnuplot" + diff --git a/vim/after/ftplugin/html.vim b/vim/after/ftplugin/html.vim new file mode 100644 index 0000000..80fa5d1 --- /dev/null +++ b/vim/after/ftplugin/html.vim @@ -0,0 +1,2 @@ +set softtabstop=2 +set sw=2 diff --git a/vim/after/ftplugin/markdown.vim b/vim/after/ftplugin/markdown.vim new file mode 100644 index 0000000..4dacf8d --- /dev/null +++ b/vim/after/ftplugin/markdown.vim @@ -0,0 +1,3 @@ +set textwidth=78 +set softtabstop=4 +set shiftwidth=4 diff --git a/vim/after/ftplugin/php.vim b/vim/after/ftplugin/php.vim new file mode 100644 index 0000000..10ce372 --- /dev/null +++ b/vim/after/ftplugin/php.vim @@ -0,0 +1,2 @@ +set sts=2 +set sw=2 diff --git a/vim/after/ftplugin/ruby.vim b/vim/after/ftplugin/ruby.vim new file mode 100644 index 0000000..0b1d535 --- /dev/null +++ b/vim/after/ftplugin/ruby.vim @@ -0,0 +1,2 @@ +set softtabstop=2 +set shiftwidth=2 diff --git a/vim/after/ftplugin/scss.vim b/vim/after/ftplugin/scss.vim new file mode 100644 index 0000000..7cc3bfc --- /dev/null +++ b/vim/after/ftplugin/scss.vim @@ -0,0 +1,2 @@ +set softtabstop=4 +set shiftwidth=4 diff --git a/vim/after/ftplugin/sh.vim b/vim/after/ftplugin/sh.vim new file mode 100644 index 0000000..0b1d535 --- /dev/null +++ b/vim/after/ftplugin/sh.vim @@ -0,0 +1,2 @@ +set softtabstop=2 +set shiftwidth=2 diff --git a/vim/after/ftplugin/vim.vim b/vim/after/ftplugin/vim.vim new file mode 100644 index 0000000..0b1d535 --- /dev/null +++ b/vim/after/ftplugin/vim.vim @@ -0,0 +1,2 @@ +set softtabstop=2 +set shiftwidth=2 diff --git a/vim/after/ftplugin/yaml.vim b/vim/after/ftplugin/yaml.vim new file mode 100644 index 0000000..0b1d535 --- /dev/null +++ b/vim/after/ftplugin/yaml.vim @@ -0,0 +1,2 @@ +set softtabstop=2 +set shiftwidth=2 diff --git a/vim/after/syntax/ciscoconfig.vim b/vim/after/syntax/ciscoconfig.vim new file mode 100644 index 0000000..929dcfa --- /dev/null +++ b/vim/after/syntax/ciscoconfig.vim @@ -0,0 +1,80 @@ +" Vim syntax file +" Language: Cisco IOS config file +" Last Change: 2008-07-16 + +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif + +setlocal iskeyword+=- + +syn match ciscoComment "^\s*!.*$" +hi def link ciscoComment Comment + +syn match ciscoIpAddr /\<\(25[0-5]\|2[0-4][0-9]\|[01]\?[0-9][0-9]\?\)\.\(25[0-5]\|2[0-4][0-9]\|[01]\?[0-9][0-9]\?\)\.\(25[0-5]\|2[0-4][0-9]\|[01]\?[0-9][0-9]\?\)\.\(25[0-5]\|2[0-4][0-9]\|[01]\?[0-9][0-9]\?\)\>/ +hi def link ciscoIpAddr Number + +syn match ciscoIfName /\<\(Loopback\|Tunnel\|Dialer\)[0-9][0-9]*\>/ +syn match ciscoIfName +\<\(Ethernet\|FastEthernet\|GigabitEthernet\)[0-9][0-9]*/[0-9][0-9]*\(/[0-9][0-9]*\)\?\(\.[0-9][0-9]*\)\?\>+ +syn match ciscoIfName +\+ +hi def link ciscoIfName Identifier + +syn match ciscoWord contained +[a-zA-Z0-9-_]*+ +hi def link ciscoWord String + + +syn region ciscoUsernames start=+^username\s+ skip=+^username\s+ end=+^\S+me=s-1 fold +syn region ciscoIpHosts start=+^ip host\s+ skip=+^ip host\s+ end=+^\S+me=s-1 fold + + +syn region ciscoInterfaces start=+^interface\s+ skip=+^\(!\n\)\?interface\s+ end=+^\S+me=s-1 fold contains=ciscoInterfaceRegion +syn region ciscoInterfaceRegion contained start=+^interface\s+ end=+^\S+me=s-1 fold contains=ciscoIpAddr,ciscoIfName,ciscoComment + + +syn region ciscoRouters start=+^router\s+ skip=+^\(!\n\)\?router\s+ end=+^\S+me=s-1 fold contains=ciscoRouterRegion +syn region ciscoRouterRegion start=+^router\s+ end=+^\S+me=s-1 contained fold contains=ciscoIpAddr,ciscoIfName,ciscoComment + + +syn region ciscoIpRoutes start=+^ip route\s+ end=+^\(ip route\)\@!+me=s-1 fold contains=ciscoIpRoute +syn match ciscoIpRoute +^ip route.*$+ contained skipwhite contains=ciscoIpAddr,ciscoNumber,ciscoIfName + + +syn region ciscoIpAccessLists start=+^ip access-list\s+ skip=+^\(!\n\)\?ip access-list\s+ end=+^\S+me=s-1 fold contains=ciscoIpAccessList +syn region ciscoIpAccessList contained start=+^ip access-list\s+ end=+^\S+me=s-1 fold contains=ciscoIpAccessListNamed,ciscoIpAddr,ciscoIfName,ciscoComment,ciscoAclKeywords,ciscoAclOperator +syn match ciscoIpAccessListNamed +^ip access-list \(standard\|extended\) + contained nextgroup=ciscoWord skipwhite +syn keyword ciscoAclKeywords contained skipwhite host any +syn keyword ciscoAclOperator contained skipwhite eq ne +hi def link ciscoAclKeywords Keyword +hi def link ciscoAclOperator Special + +syn region ciscoAccessLists start=+^access-list\s+ skip=+^access-list\s+ end=+^\S+me=s-1 fold contains=ciscoAccessList +syn region ciscoAccessList start=+^access-list \z(\d\+\)\ + skip=+^access-list \z1 + end=+^\S+me=s-1 contained fold contains=ciscoIpAddr,ciscoIfName + + +syn region ciscoRouteMaps start=+^route-map\s+ skip=+^\(!\n\)\?route-map\s+ end=+^\S+me=s-1 fold contains=ciscoRouteMap +syn region ciscoRouteMap contained start=+^route-map\s+ end=+^\S+me=s-1 fold contains=ciscoIpAddr,ciscoIfName,ciscoComment + + +syn region ciscoCryptoIsakmp start=+^crypto isakmp\s+ end=+^\S+me=s-1 fold + +syn region ciscoCryptoIsakmpKeys start=+^crypto isakmp key\s+ skip=+^crypto isakmp key\s+ end=+^\S+me=s-1 fold + +syn region ciscoCryptoIpsecTses start=+^crypto ipsec transform-set\s+ skip=+^crypto ipsec transform-set\s+ end=+^\S+me=s-1 fold contains=ciscoCryptoIpsecTs +syn match ciscoCryptoIpsecTs contained +^crypto ipsec transform-set + nextgroup=ciscoWord skipwhite + +syn region ciscoCryptoMaps start=+^crypto map\s+ skip=+^crypto map\s+ end=+^\S+me=s-1 fold contains=ciscoCryptoMap +syn region ciscoCryptoMap start=+^crypto map \z(\S\+\)\ + skip=+^crypto map \z1 + end=+^\S+me=s-1 contained fold contains=ciscoCryptoMapEntry +syn region ciscoCryptoMapEntry contained start=+^crypto map\s+ end=+^\S+me=s-1 fold contains=ciscoCryptoMapName,ciscoIpAddr +syn match ciscoCryptoMapName contained +^crypto map + nextgroup=ciscoWord skipwhite + + + + + +set foldmethod=syntax + +let b:current_syntax = "ciscoconfig" + +" vim: set ts=4 diff --git a/vim/after/syntax/ciscoiproute.vim b/vim/after/syntax/ciscoiproute.vim new file mode 100644 index 0000000..4e4023e --- /dev/null +++ b/vim/after/syntax/ciscoiproute.vim @@ -0,0 +1,26 @@ +" Vim syntax file +" Language: Cisco IOS "show ip route" +" Last Change: 2008-03-13 + +if version < 600 + syntax clear +elseif exists("b:current_syntax") + finish +endif + +syn match ciscoIpAddr /\<\(25[0-5]\|2[0-4][0-9]\|[01]\?[0-9][0-9]\?\)\.\(25[0-5]\|2[0-4][0-9]\|[01]\?[0-9][0-9]\?\)\.\(25[0-5]\|2[0-4][0-9]\|[01]\?[0-9][0-9]\?\)\.\(25[0-5]\|2[0-4][0-9]\|[01]\?[0-9][0-9]\?\)\>/ +hi def link ciscoIpAddr Number + +syn match ciscoIfName /\<\(Loopback\|Tunnel\|Dialer\)[0-9][0-9]*\>/ +syn match ciscoIfName +\<\(Ethernet\|FastEthernet\|ATM\)[0-9][0-9]*/[0-9][0-9]*\(/[0-9][0-9]*\)\?\(\.[0-9][0-9]*\)\?\>+ +hi def link ciscoIfName Identifier + + +syn region ciscoNetwork start=+^.* is \(variably \)\?subnetted+ end=+^.* is \(variably \)\?subnetted+me=s-1 fold contains=ciscoIpAddr,ciscoIfName + + +set foldmethod=syntax + +let b:current_syntax = "ciscoiproute" + +" vim: set ts=4 diff --git a/vim/autoload/htmlcomplete.vim b/vim/autoload/htmlcomplete.vim new file mode 100644 index 0000000..6da9be2 --- /dev/null +++ b/vim/autoload/htmlcomplete.vim @@ -0,0 +1,861 @@ +" Vim completion script +" Language: HTML and XHTML +" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl ) +" Last Change: 2006 Oct 19 +" Modified: othree +" Changes: Add HTML5, WAI-ARIA support +" Last Change: 2010 Sep 25 + +if !exists('g:aria_attributes_complete') + let g:aria_attributes_complete = 1 +endif + +function! htmlcomplete#CompleteTags(findstart, base) + if a:findstart + " locate the start of the word + let line = getline('.') + let start = col('.') - 1 + let curline = line('.') + let compl_begin = col('.') - 2 + while start >= 0 && line[start - 1] =~ '\(\k\|[!:.-]\)' + let start -= 1 + endwhile + " Handling of entities {{{ + if start >= 0 && line[start - 1] =~ '&' + let b:entitiescompl = 1 + let b:compl_context = '' + return start + endif + " }}} + " Handling of