English 中文(简体)
Vim PHP Short tag syntax
原标题:Vim PHP short tag syntax highlighting
  • 时间:2011-04-08 19:16:45
  •  标签:
  • vim

我很麻烦地把我的要人弄得正确的辛迪加,凸显了短角。

let php_sql_query=1
let php_htmlInStrings=1
let php_noShortTags=0
let php_folding=0
let php_baselib=1
let php_asp_tags=0
let php_parent_error_close=1
let php_parent_error_open=1
"let php_sync_method=10  " Sync only 10 lines backwards
let php_alt_comparisons=1
let php_alt_assignByReference=1

是否所有文件都已放入我的圆顶。 我找不到任何帮助,但从0到1的转变没有效果。

Output from :scriptnames

 1: /usr/share/vim/vimrc
 2: /usr/share/vim/vim72/debian.vim
 3: /usr/share/vim/vim72/syntax/syntax.vim
 4: /usr/share/vim/vim72/syntax/synload.vim
 5: /usr/share/vim/vim72/syntax/syncolor.vim
 6: /usr/share/vim/vim72/filetype.vim
 7: /usr/share/vim/vim72/ftplugin.vim
 8: /usr/share/vim/vim72/colors/elflord.vim
 9: /etc/vim/toggle.vim
10: /etc/vim/plugin/NERD_tree.vim
11: /home/rwalsh/.vim/plugin/camelcasemotion.vim
12: /usr/share/vim/vim72/plugin/getscriptPlugin.vim
13: /usr/share/vim/vim72/plugin/gzip.vim
14: /usr/share/vim/vim72/plugin/matchparen.vim
15: /usr/share/vim/vim72/plugin/netrwPlugin.vim
16: /usr/share/vim/vim72/plugin/rrhelper.vim
17: /usr/share/vim/vim72/plugin/spellfile.vim
18: /usr/share/vim/vim72/plugin/tarPlugin.vim
19: /usr/share/vim/vim72/plugin/tohtml.vim
20: /usr/share/vim/vim72/plugin/vimballPlugin.vim
21: /usr/share/vim/vim72/plugin/zipPlugin.vim
22: /usr/share/vim/vim72/syntax/php.vim
23: /usr/share/vim/vim72/syntax/html.vim
24: /usr/share/vim/vim72/syntax/javascript.vim
25: /usr/share/vim/vim72/syntax/vb.vim
26: /usr/share/vim/vim72/syntax/css.vim
27: /usr/share/vim/vim72/syntax/sql.vim
28: /usr/share/vim/vim72/syntax/sqloracle.vim
29: /usr/share/vim/vim72/ftplugin/php.vim
30: /usr/share/vim/vim72/ftplugin/html.vim
31: /etc/vim/nerdtree_plugin/exec_menuitem.vim
32: /etc/vim/nerdtree_plugin/fs_menu.vim
33: /home/rwalsh/.vim/autoload/camelcasemotion.vim

我正在兴旺地(第22条)将予以注意。 我用了一个屏幕(下)显示,如何用长标(第60条)和短标(第61条、第62条、第89-92条)来突出它。

https://i.stack.imgur.com/YLYEn.jpg”rel=“nofollow”

最佳回答

红色登盖上的用户发现,VIM s php sytntax只检查了php_noShortTag。 简言之,对它发表评论,或从我的档案中删除。

问题回答

暂无回答




相关问题
Autoupdate VIM Plugins?

Is it possible to update vim plugins automatically?

how to unindent in vim without leaving edit mode?

I m writing a lot of python code recently, and i used the tab-to-space mode in vim. I was just wondering how would i unindent in vim without leaving edit mode for example after i finished if...: block....

Scrolling inside Vim in Mac s Terminal

I ve been googling around trying to figure out if it s possible to use my mouse wheel to scroll while inside Vim in Mac s Terminal, with no luck. It seems as if only X11 or iTerm support this. Before ...

Vim - Deleting XML Comments

How do I delete comments in XML? If the opening and the closing comment tags are on the same line, I use :g/^<!--.*-->$/d to delete the comment. How to delete the comments that are spread ...

Limiting a match in vim to certain filetypes?

I have the following in my .vimrc to highlight lines longer than 80 chars: highlight OverLength ctermbg=red ctermfg=white guibg=#592929 match OverLength /\%81v.*/ This works quite well. However, the ...

Profiling Vim startup time

I’ve got a lot of plugins enabled when using Vim – I have collected plugins over the years. I’m a bit fed up with how long Vim takes to start now, so I’d like to profile its startup and see which of ...

热门标签