0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

Update runtime files.

This commit is contained in:
Bram Moolenaar
2013-08-03 18:35:36 +02:00
parent f40f4ab8df
commit 9d98fe9cae
32 changed files with 676 additions and 642 deletions

View File

@@ -3,8 +3,8 @@
" Author: John Wellesz <John.wellesz (AT) teaser (DOT) fr>
" URL: http://www.2072productions.com/vim/indent/php.vim
" Home: https://github.com/2072/PHP-Indenting-for-VIm
" Last Change: 2013 May 10th
" Version: 1.37
" Last Change: 2013 August 2nd
" Version: 1.38
"
"
" Type :help php-indent for available options
@@ -303,7 +303,7 @@ function! FindTheSwitchIndent (lnum) " {{{
endfunction "}}}
let s:SynPHPMatchGroups = {'phpParent':1, 'Delimiter':1, 'Define':1, 'Storageclass':1, 'Structure':1, 'Exception':1}
function! IslinePHP (lnum, tofind) " {{{
let cline = getline(a:lnum)
@@ -319,7 +319,7 @@ function! IslinePHP (lnum, tofind) " {{{
let synname = synIDattr(synID(a:lnum, coltotest, 0), "name")
if synname =~ '^php' || synname=="Delimiter" || synname =~? '^javaScript'
if get(s:SynPHPMatchGroups, synname) || synname =~ '^php' || synname =~? '^javaScript'
return synname
else
return ""