" Author: Eric Van Dewoestine " " License: {{{ " " Copyright (C) 2005 - 2014 Eric Van Dewoestine " " This program is free software: you can redistribute it and/or modify " it under the terms of the GNU General Public License as published by " the Free Software Foundation, either version 3 of the License, or " (at your option) any later version. " " This program is distributed in the hope that it will be useful, " but WITHOUT ANY WARRANTY; without even the implied warranty of " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the " GNU General Public License for more details. " " You should have received a copy of the GNU General Public License " along with this program. If not, see . " " }}} " Options {{{ exec 'setlocal ' . g:EclimCompletionMethod . '=eclim#php#complete#CodeComplete' call eclim#lang#DisableSyntasticIfValidationIsEnabled('php') " }}} " Autocmds {{{ augroup eclim_html_validate autocmd! augroup END augroup eclim_php autocmd! BufWritePost autocmd BufWritePost call eclim#php#util#UpdateSrcFile(1) augroup END " }}} " Command Declarations {{{ command! -nargs=0 -buffer Validate :call eclim#php#util#UpdateSrcFile(0) if !exists(":PhpSearch") command -buffer -nargs=* \ -complete=customlist,eclim#php#search#CommandCompleteSearch \ PhpSearch :call eclim#php#search#Search('') endif if !exists(":PhpSearchContext") command -buffer -nargs=* \ -complete=customlist,eclim#php#search#CommandCompleteSearchContext \ PhpSearchContext :call eclim#php#search#SearchContext('') endif " }}} " vim:ft=vim:fdm=marker