Added webdev to eclim
This commit is contained in:
parent
e2bba82ace
commit
4f8025c31a
196
vim/bundle/eclim/autoload/eclim/dltk/buildpath.vim
Normal file
196
vim/bundle/eclim/autoload/eclim/dltk/buildpath.vim
Normal file
|
@ -0,0 +1,196 @@
|
||||||
|
" Author: Eric Van Dewoestine
|
||||||
|
"
|
||||||
|
" Description: {{{
|
||||||
|
" see http://eclim.org/vim/php/buildpath.html
|
||||||
|
"
|
||||||
|
" License:
|
||||||
|
"
|
||||||
|
" Copyright (C) 2005 - 2013 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 <http://www.gnu.org/licenses/>.
|
||||||
|
"
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" Script Variables {{{
|
||||||
|
let s:command_variables = '-command dltk_buildpath_variables'
|
||||||
|
let s:command_variable_create =
|
||||||
|
\ '-command dltk_buildpath_variable_create -n "<name>" -p "<path>"'
|
||||||
|
let s:command_variable_delete =
|
||||||
|
\ '-command dltk_buildpath_variable_delete -n "<name>"'
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" NewBuildPathEntry(template) {{{
|
||||||
|
" Adds a new entry to the current .buildpath file.
|
||||||
|
function! eclim#dltk#buildpath#NewBuildPathEntry(arg, template)
|
||||||
|
let args = split(a:arg)
|
||||||
|
let cline = line('.')
|
||||||
|
let ccol = col('.')
|
||||||
|
for arg in args
|
||||||
|
call s:MoveToInsertPosition()
|
||||||
|
let line = line('.')
|
||||||
|
call append(line, split(substitute(a:template, '<arg>', arg, 'g'), '\n'))
|
||||||
|
call cursor(line + 1, 1)
|
||||||
|
endfor
|
||||||
|
call cursor(cline + 1, ccol)
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" MoveToInsertPosition() {{{
|
||||||
|
" If necessary moves the cursor to a valid insert position.
|
||||||
|
function! s:MoveToInsertPosition()
|
||||||
|
let start = search('<buildpath\s*>', 'wn')
|
||||||
|
let end = search('</buildpath\s*>', 'wn')
|
||||||
|
if line('.') < start || line('.') >= end
|
||||||
|
call cursor(end - 1, 1)
|
||||||
|
else
|
||||||
|
let start = search('<buildpathentry\s*>', 'n')
|
||||||
|
let end = search('</buildpathentry\s*>', 'cn')
|
||||||
|
if end > start
|
||||||
|
call cursor(end, 1)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" GetVariableNames() {{{
|
||||||
|
" Gets a list of all variable names.
|
||||||
|
function! eclim#dltk#buildpath#GetVariableNames()
|
||||||
|
let variables = eclim#Execute(s:command_variables)
|
||||||
|
if type(variables) != g:LIST_TYPE
|
||||||
|
return []
|
||||||
|
endif
|
||||||
|
return map(variables, "v:val.name")
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" VariableList() {{{
|
||||||
|
" Lists all the variables currently available.
|
||||||
|
function! eclim#dltk#buildpath#VariableList()
|
||||||
|
let variables = eclim#Execute(s:command_variables)
|
||||||
|
if type(variables) != g:LIST_TYPE
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if len(variables) == 0
|
||||||
|
call eclim#util#Echo("No variables.")
|
||||||
|
endif
|
||||||
|
|
||||||
|
let pad = 0
|
||||||
|
for variable in variables
|
||||||
|
let pad = len(variable.name) > pad ? len(variable.name) : pad
|
||||||
|
endfor
|
||||||
|
|
||||||
|
let output = []
|
||||||
|
for variable in variables
|
||||||
|
call add(output, eclim#util#Pad(variable.name, pad) . ' - ' . variable.path)
|
||||||
|
endfor
|
||||||
|
|
||||||
|
call eclim#util#Echo(join(output, "\n"))
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" VariableCreate(name, path) {{{
|
||||||
|
" Create or update a variable.
|
||||||
|
function! eclim#dltk#buildpath#VariableCreate(name, path)
|
||||||
|
let path = substitute(fnamemodify(a:path, ':p'), '\', '/', 'g')
|
||||||
|
if has('win32unix')
|
||||||
|
let path = eclim#cygwin#WindowsPath(path)
|
||||||
|
endif
|
||||||
|
let command = s:command_variable_create
|
||||||
|
let command = substitute(command, '<name>', a:name, '')
|
||||||
|
let command = substitute(command, '<path>', path, '')
|
||||||
|
|
||||||
|
let result = eclim#Execute(command)
|
||||||
|
if result != '0'
|
||||||
|
call eclim#util#Echo(result)
|
||||||
|
endif
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" VariableDelete(name) {{{
|
||||||
|
" Delete a variable.
|
||||||
|
function! eclim#dltk#buildpath#VariableDelete(name)
|
||||||
|
let command = s:command_variable_delete
|
||||||
|
let command = substitute(command, '<name>', a:name, '')
|
||||||
|
|
||||||
|
let result = eclim#Execute(command)
|
||||||
|
if result != '0'
|
||||||
|
call eclim#util#Echo(result)
|
||||||
|
endif
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" CommandCompleteVar(argLead, cmdLine, cursorPos) {{{
|
||||||
|
" Custom command completion for classpath var relative files.
|
||||||
|
function! eclim#dltk#buildpath#CommandCompleteVar(argLead, cmdLine, cursorPos)
|
||||||
|
let cmdTail = strpart(a:cmdLine, a:cursorPos)
|
||||||
|
let argLead = substitute(a:argLead, cmdTail . '$', '', '')
|
||||||
|
|
||||||
|
let vars = eclim#dltk#buildpath#GetVariableNames()
|
||||||
|
call filter(vars, 'v:val =~ "^' . argLead . '"')
|
||||||
|
|
||||||
|
return vars
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" CommandCompleteVarPath(argLead, cmdLine, cursorPos) {{{
|
||||||
|
" Custom command completion for classpath var relative files.
|
||||||
|
function! eclim#dltk#buildpath#CommandCompleteVarPath(argLead, cmdLine, cursorPos)
|
||||||
|
let cmdLine = strpart(a:cmdLine, 0, a:cursorPos)
|
||||||
|
let args = eclim#util#ParseCmdLine(cmdLine)
|
||||||
|
let argLead = cmdLine =~ '\s$' ? '' : args[len(args) - 1]
|
||||||
|
|
||||||
|
let vars = eclim#Execute(s:command_variables)
|
||||||
|
|
||||||
|
" just the variable name
|
||||||
|
if argLead !~ '/'
|
||||||
|
let var_names = deepcopy(vars)
|
||||||
|
call filter(var_names, 'v:val.name =~ "^' . argLead . '"')
|
||||||
|
if len(var_names) > 0
|
||||||
|
call map(var_names,
|
||||||
|
\ "isdirectory(v:val.path) ? v:val.name . '/' : v:val.name")
|
||||||
|
endif
|
||||||
|
return var_names
|
||||||
|
endif
|
||||||
|
|
||||||
|
" variable name + path
|
||||||
|
let var = substitute(argLead, '\(.\{-}\)/.*', '\1', '')
|
||||||
|
let var_dir = ""
|
||||||
|
for cv in vars
|
||||||
|
if cv.name =~ '^' . var
|
||||||
|
let var_dir = cv.path
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
endfor
|
||||||
|
if var_dir == ''
|
||||||
|
return []
|
||||||
|
endif
|
||||||
|
|
||||||
|
let var_dir = escape(substitute(var_dir, '\', '/', 'g'), ' ')
|
||||||
|
let argLead = substitute(argLead, var, var_dir, '')
|
||||||
|
let files = eclim#util#CommandCompleteFile(argLead, a:cmdLine, a:cursorPos)
|
||||||
|
let replace = escape(var_dir, '\')
|
||||||
|
call map(files, "substitute(v:val, '" . replace . "', '" . var . "', '')")
|
||||||
|
|
||||||
|
return files
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" CommandCompleteVarAndDir(argLead, cmdLine, cursorPos) {{{
|
||||||
|
" Custom command completion for classpath var relative files.
|
||||||
|
function! eclim#dltk#buildpath#CommandCompleteVarAndDir(argLead, cmdLine, cursorPos)
|
||||||
|
let cmdLine = strpart(a:cmdLine, 0, a:cursorPos)
|
||||||
|
let args = eclim#util#ParseCmdLine(cmdLine)
|
||||||
|
let argLead = cmdLine =~ '\s$' ? '' : args[len(args) - 1]
|
||||||
|
|
||||||
|
" complete dirs for first arg
|
||||||
|
if cmdLine =~ '^' . args[0] . '\s*' . escape(argLead, '~.\') . '$'
|
||||||
|
return eclim#dltk#buildpath#CommandCompleteVar(argLead, a:cmdLine, a:cursorPos)
|
||||||
|
endif
|
||||||
|
|
||||||
|
return eclim#util#CommandCompleteDir(argLead, a:cmdLine, a:cursorPos)
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" vim:ft=vim:fdm=marker
|
124
vim/bundle/eclim/autoload/eclim/dltk/interpreter.vim
Normal file
124
vim/bundle/eclim/autoload/eclim/dltk/interpreter.vim
Normal file
|
@ -0,0 +1,124 @@
|
||||||
|
" Author: Eric Van Dewoestine
|
||||||
|
"
|
||||||
|
" Description: {{{
|
||||||
|
" see http://eclim.org/vim/ruby/index.html
|
||||||
|
"
|
||||||
|
" 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 <http://www.gnu.org/licenses/>.
|
||||||
|
"
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" Script Variables {{{
|
||||||
|
let s:command_interpreters = '-command dltk_interpreters -l <nature>'
|
||||||
|
let s:command_interpreter_addremove =
|
||||||
|
\ '-command dltk_<action>_interpreter -l <nature> -p "<path>"'
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
function eclim#dltk#interpreter#GetInterpreters(nature) " {{{
|
||||||
|
let command = s:command_interpreters
|
||||||
|
let command = substitute(command, '<nature>', a:nature, '')
|
||||||
|
let interpreters = eclim#Execute(command)
|
||||||
|
if type(interpreters) != g:LIST_TYPE || len(interpreters) == 0
|
||||||
|
return []
|
||||||
|
endif
|
||||||
|
|
||||||
|
return interpreters
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
function eclim#dltk#interpreter#ListInterpreters(nature) " {{{
|
||||||
|
let command = s:command_interpreters
|
||||||
|
let command = substitute(command, '<nature>', a:nature, '')
|
||||||
|
let interpreters = eclim#Execute(command)
|
||||||
|
if type(interpreters) != g:LIST_TYPE
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
if len(interpreters) == 0
|
||||||
|
call eclim#util#Echo("No interpreters.")
|
||||||
|
endif
|
||||||
|
|
||||||
|
let pad = 0
|
||||||
|
for interpreter in interpreters
|
||||||
|
if interpreter.default
|
||||||
|
let interpreter.name .= ' (default)'
|
||||||
|
endif
|
||||||
|
let pad = len(interpreter.name) > pad ? len(interpreter.name) : pad
|
||||||
|
endfor
|
||||||
|
|
||||||
|
let output = []
|
||||||
|
let nature = ''
|
||||||
|
for interpreter in interpreters
|
||||||
|
if interpreter.nature != nature
|
||||||
|
let nature = interpreter.nature
|
||||||
|
call add(output, 'Nature: ' . interpreter.nature)
|
||||||
|
endif
|
||||||
|
let name = interpreter.name
|
||||||
|
if interpreter.default
|
||||||
|
let name .= ' (default)'
|
||||||
|
endif
|
||||||
|
let name = eclim#util#Pad(interpreter.name, pad)
|
||||||
|
call add(output, ' ' . name . ' - ' . interpreter.path)
|
||||||
|
endfor
|
||||||
|
call eclim#util#Echo(join(output, "\n"))
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
function eclim#dltk#interpreter#AddInterpreter(nature, type, path) " {{{
|
||||||
|
return s:InterpreterAddRemove(a:nature, a:type, a:path, 'add')
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
function eclim#dltk#interpreter#RemoveInterpreter(nature, path) " {{{
|
||||||
|
return s:InterpreterAddRemove(a:nature, '', a:path, 'remove')
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
function s:InterpreterAddRemove(nature, type, path, action) " {{{
|
||||||
|
let path = a:path
|
||||||
|
let path = substitute(path, '\ ', ' ', 'g')
|
||||||
|
let path = substitute(path, '\', '/', 'g')
|
||||||
|
let command = s:command_interpreter_addremove
|
||||||
|
let command = substitute(command, '<action>', a:action, '')
|
||||||
|
let command = substitute(command, '<nature>', a:nature, '')
|
||||||
|
let command = substitute(command, '<path>', path, '')
|
||||||
|
if a:action == 'add'
|
||||||
|
let command .= ' -t ' . a:type
|
||||||
|
endif
|
||||||
|
let result = eclim#Execute(command)
|
||||||
|
if result != '0'
|
||||||
|
call eclim#util#Echo(result)
|
||||||
|
return 1
|
||||||
|
endif
|
||||||
|
return 0
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
function! eclim#dltk#interpreter#CommandCompleteInterpreterAdd(argLead, cmdLine, cursorPos) " {{{
|
||||||
|
let cmdLine = strpart(a:cmdLine, 0, a:cursorPos)
|
||||||
|
let args = eclim#util#ParseCmdLine(cmdLine)[1:]
|
||||||
|
let argLead = cmdLine =~ '\s$' ? '' : args[len(args) - 1]
|
||||||
|
|
||||||
|
if argLead == '-' && args[0] == '-'
|
||||||
|
return ['-n']
|
||||||
|
endif
|
||||||
|
|
||||||
|
if len(args) == 0 ||
|
||||||
|
\ len(args) == 3 ||
|
||||||
|
\ (len(args) == 1 && argLead !~ '^-\|^$') ||
|
||||||
|
\ (len(args) == 2 && argLead == '')
|
||||||
|
return eclim#util#CommandCompleteFile(a:argLead, a:cmdLine, a:cursorPos)
|
||||||
|
endif
|
||||||
|
|
||||||
|
return []
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" vim:ft=vim:fdm=marker
|
41
vim/bundle/eclim/autoload/eclim/php/complete.vim
Normal file
41
vim/bundle/eclim/autoload/eclim/php/complete.vim
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
" Author: Eric Van Dewoestine
|
||||||
|
"
|
||||||
|
" Description: {{{
|
||||||
|
" see http://eclim.org/vim/php/complete.html
|
||||||
|
"
|
||||||
|
" License:
|
||||||
|
"
|
||||||
|
" Copyright (C) 2005 - 2013 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 <http://www.gnu.org/licenses/>.
|
||||||
|
"
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" Script Varables {{{
|
||||||
|
let s:complete_command =
|
||||||
|
\ '-command php_complete -p "<project>" -f "<file>" -o <offset> -e <encoding>'
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" CodeComplete(findstart, base) {{{
|
||||||
|
" Handles php code completion.
|
||||||
|
function! eclim#php#complete#CodeComplete(findstart, base)
|
||||||
|
if !eclim#php#util#IsPhpCode(line('.'))
|
||||||
|
return eclim#html#complete#CodeComplete(a:findstart, a:base)
|
||||||
|
endif
|
||||||
|
|
||||||
|
return eclim#lang#CodeComplete(
|
||||||
|
\ s:complete_command, a:findstart, a:base, {'temp': 0})
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" vim:ft=vim:fdm=marker
|
132
vim/bundle/eclim/autoload/eclim/php/search.vim
Normal file
132
vim/bundle/eclim/autoload/eclim/php/search.vim
Normal file
|
@ -0,0 +1,132 @@
|
||||||
|
" 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 <http://www.gnu.org/licenses/>.
|
||||||
|
"
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" Script Varables {{{
|
||||||
|
let s:search = '-command php_search'
|
||||||
|
let s:buildpaths = '-command dltk_buildpaths -p "<project>"'
|
||||||
|
let s:options_map = {
|
||||||
|
\ '-a': ['split', 'vsplit', 'edit', 'tabnew', 'lopen'],
|
||||||
|
\ '-s': ['all', 'project'],
|
||||||
|
\ '-i': [],
|
||||||
|
\ '-p': [],
|
||||||
|
\ '-t': ['class', 'function', 'constant'],
|
||||||
|
\ '-x': ['all', 'declarations', 'references'],
|
||||||
|
\ }
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
function! eclim#php#search#Search(argline) " {{{
|
||||||
|
return eclim#lang#Search(s:search, g:EclimPhpSearchSingleResult, a:argline)
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
function! eclim#php#search#FindInclude(argline) " {{{
|
||||||
|
if !eclim#project#util#IsCurrentFileInProject(1)
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
|
let file = substitute(getline('.'),
|
||||||
|
\ ".*\\<\\(require\\|include\\)\\(_once\\)\\?\\s*[(]\\?['\"]\\([^'\"]*\\)['\"].*", '\3', '')
|
||||||
|
|
||||||
|
let project = eclim#project#util#GetCurrentProjectName()
|
||||||
|
let command = s:buildpaths
|
||||||
|
let command = substitute(command, '<project>', project, '')
|
||||||
|
let paths = eclim#Execute(command)
|
||||||
|
if type(paths) != g:LIST_TYPE
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
|
let results = split(globpath(expand('%:h') . ',' . join(paths, ','), file), '\n')
|
||||||
|
|
||||||
|
if !empty(results)
|
||||||
|
call eclim#util#SetLocationList(eclim#util#ParseLocationEntries(results))
|
||||||
|
|
||||||
|
let [action_args, argline] = eclim#util#ExtractCmdArgs(a:argline, '-a:')
|
||||||
|
let action = len(action_args) == 2 ? action_args[1] : g:EclimPhpSearchSingleResult
|
||||||
|
|
||||||
|
" single result in another file.
|
||||||
|
if len(results) == 1 && action != "lopen"
|
||||||
|
let entry = getloclist(0)[0]
|
||||||
|
call eclim#util#GoToBufferWindowOrOpen(bufname(entry.bufnr), action)
|
||||||
|
call eclim#display#signs#Update()
|
||||||
|
|
||||||
|
" multiple results and user specified an action other than lopen
|
||||||
|
elseif len(results) && len(action_args) && action != 'lopen'
|
||||||
|
let locs = getloclist(0)
|
||||||
|
let files = map(copy(locs), 'printf(' .
|
||||||
|
\ '"%s|%s col %s| %s", ' .
|
||||||
|
\ 'bufname(v:val.bufnr), v:val.lnum, v:val.col, v:val.text)')
|
||||||
|
let response = eclim#util#PromptList(
|
||||||
|
\ 'Please choose the file to ' . action,
|
||||||
|
\ files, g:EclimHighlightInfo)
|
||||||
|
if response == -1
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let entry = locs[response]
|
||||||
|
let name = substitute(bufname(entry.bufnr), '\', '/', 'g')
|
||||||
|
call eclim#util#GoToBufferWindowOrOpen(name, action)
|
||||||
|
call eclim#display#signs#Update()
|
||||||
|
call cursor(entry.lnum, entry.col)
|
||||||
|
|
||||||
|
else
|
||||||
|
exec 'lopen ' . g:EclimLocationListHeight
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
call eclim#util#EchoInfo("File not found.")
|
||||||
|
endif
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
function! eclim#php#search#SearchContext(argline) " {{{
|
||||||
|
if getline('.')[col('.') - 1] == '$'
|
||||||
|
call cursor(line('.'), col('.') + 1)
|
||||||
|
let cnum = eclim#util#GetCurrentElementColumn()
|
||||||
|
call cursor(line('.'), col('.') - 1)
|
||||||
|
else
|
||||||
|
let cnum = eclim#util#GetCurrentElementColumn()
|
||||||
|
endif
|
||||||
|
|
||||||
|
if getline('.') =~ "\\<\\(require\\|include\\)\\(_once\\)\\?\\s*[(]\\?['\"][^'\"]*\\%" . cnum . "c"
|
||||||
|
call eclim#php#search#FindInclude(a:argline)
|
||||||
|
return
|
||||||
|
elseif getline('.') =~ '\<\(class\|function\)\s\+\%' . cnum . 'c'
|
||||||
|
call eclim#php#search#Search('-x references')
|
||||||
|
return
|
||||||
|
elseif getline('.') =~ "\\<define\\s*(['\"]\\%" . cnum . "c"
|
||||||
|
call eclim#util#EchoInfo("TODO: Search constant references")
|
||||||
|
return
|
||||||
|
"elseif getline('.') =~ '\<var\s\+[$]\?\%' . cnum . 'c'
|
||||||
|
" call eclim#util#EchoInfo("TODO: Search var references")
|
||||||
|
" return
|
||||||
|
endif
|
||||||
|
|
||||||
|
call eclim#php#search#Search(a:argline . ' -x declarations')
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
function! eclim#php#search#CommandCompleteSearch(argLead, cmdLine, cursorPos) " {{{
|
||||||
|
return eclim#util#CommandCompleteOptions(
|
||||||
|
\ a:argLead, a:cmdLine, a:cursorPos, s:options_map)
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
function! eclim#php#search#CommandCompleteSearchContext(argLead, cmdLine, cursorPos) " {{{
|
||||||
|
let options_map = {'-a': s:options_map['-a']}
|
||||||
|
return eclim#util#CommandCompleteOptions(
|
||||||
|
\ a:argLead, a:cmdLine, a:cursorPos, options_map)
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" vim:ft=vim:fdm=marker
|
117
vim/bundle/eclim/autoload/eclim/php/util.vim
Normal file
117
vim/bundle/eclim/autoload/eclim/php/util.vim
Normal file
|
@ -0,0 +1,117 @@
|
||||||
|
" Author: Eric Van Dewoestine
|
||||||
|
"
|
||||||
|
" Description: {{{
|
||||||
|
" see http://eclim.org/vim/php/validate.html
|
||||||
|
"
|
||||||
|
" 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 <http://www.gnu.org/licenses/>.
|
||||||
|
"
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" Script Variables {{{
|
||||||
|
let s:update_command = '-command php_src_update -p "<project>" -f "<file>"'
|
||||||
|
let s:html_validate_command = '-command html_validate -p "<project>" -f "<file>"'
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
function! eclim#php#util#IsPhpCode(lnum) " {{{
|
||||||
|
" Determines if the code under the cursor is php code (in a php block).
|
||||||
|
|
||||||
|
let pos = getpos('.')
|
||||||
|
try
|
||||||
|
let phpstart = searchpos('<?\(php\|=\)\?', 'bcW')
|
||||||
|
while phpstart[0]
|
||||||
|
let synname = synIDattr(synIDtrans(synID(phpstart[0], phpstart[1], 1)), "name")
|
||||||
|
if synname !~ '\(Comment\|String\)'
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
let phpstart = searchpos('<?\(php\|=\)\?', 'bW')
|
||||||
|
endwhile
|
||||||
|
|
||||||
|
if phpstart[0] > 0
|
||||||
|
call setpos('.', pos)
|
||||||
|
let phpend = searchpos('?>', 'bW')
|
||||||
|
while phpend[0] > phpstart[0]
|
||||||
|
let synname = synIDattr(synIDtrans(synID(phpend[0], phpend[1], 1)), "name")
|
||||||
|
if synname !~ '\(Comment\|String\)'
|
||||||
|
break
|
||||||
|
endif
|
||||||
|
let phpend = searchpos('?>', 'bW')
|
||||||
|
endwhile
|
||||||
|
endif
|
||||||
|
|
||||||
|
return phpstart[0] > 0 && phpstart[0] <= a:lnum && (phpend[0] == 0 || phpend[0] < phpstart[0])
|
||||||
|
finally
|
||||||
|
call setpos('.', pos)
|
||||||
|
endtry
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
function! eclim#php#util#UpdateSrcFile(on_save) " {{{
|
||||||
|
" Updates the src file on the server w/ the changes made to the current file.
|
||||||
|
|
||||||
|
let validate = !a:on_save || (
|
||||||
|
\ g:EclimPhpValidate &&
|
||||||
|
\ (!exists('g:EclimFileTypeValidate') || g:EclimFileTypeValidate))
|
||||||
|
|
||||||
|
let project = eclim#project#util#GetCurrentProjectName()
|
||||||
|
if project != ""
|
||||||
|
let file = eclim#project#util#GetProjectRelativeFilePath()
|
||||||
|
let command = s:update_command
|
||||||
|
let command = substitute(command, '<project>', project, '')
|
||||||
|
let command = substitute(command, '<file>', file, '')
|
||||||
|
if validate && !eclim#util#WillWrittenBufferClose()
|
||||||
|
let command = command . ' -v'
|
||||||
|
if eclim#project#problems#IsProblemsList()
|
||||||
|
let command = command . ' -b'
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
let result = eclim#Execute(command)
|
||||||
|
if type(result) != g:LIST_TYPE
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
|
let html_validate = exists('b:EclimPhpHtmlValidate') ?
|
||||||
|
\ b:EclimPhpHtmlValidate : g:EclimPhpHtmlValidate
|
||||||
|
if validate && html_validate && !eclim#util#WillWrittenBufferClose()
|
||||||
|
let command = s:html_validate_command
|
||||||
|
let command = substitute(command, '<project>', project, '')
|
||||||
|
let command = substitute(command, '<file>', file, '')
|
||||||
|
let result_html = eclim#Execute(command)
|
||||||
|
if type(result_html) == g:LIST_TYPE
|
||||||
|
let result += result_html
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
if type(result) == g:LIST_TYPE && len(result) > 0
|
||||||
|
let errors = eclim#util#ParseLocationEntries(
|
||||||
|
\ result, g:EclimValidateSortResults)
|
||||||
|
call eclim#util#SetLocationList(errors)
|
||||||
|
else
|
||||||
|
call eclim#util#ClearLocationList()
|
||||||
|
endif
|
||||||
|
|
||||||
|
call eclim#project#problems#ProblemsUpdate('save')
|
||||||
|
elseif !a:on_save
|
||||||
|
call eclim#project#util#IsCurrentFileInProject()
|
||||||
|
endif
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
function! eclim#php#util#CommandCompleteProject(argLead, cmdLine, cursorPos) " {{{
|
||||||
|
return eclim#project#util#CommandCompleteProjectByNature(
|
||||||
|
\ a:argLead, a:cmdLine, a:cursorPos, 'php')
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" vim:ft=vim:fdm=marker
|
|
@ -1,460 +0,0 @@
|
||||||
1.0.0 archive/changes.txt /*1.0.0*
|
|
||||||
1.1.0 archive/changes.txt /*1.1.0*
|
|
||||||
1.1.1 archive/changes.txt /*1.1.1*
|
|
||||||
1.1.2 archive/changes.txt /*1.1.2*
|
|
||||||
1.2.0 archive/changes.txt /*1.2.0*
|
|
||||||
1.2.1 archive/changes.txt /*1.2.1*
|
|
||||||
1.2.2 archive/changes.txt /*1.2.2*
|
|
||||||
1.2.3 archive/changes.txt /*1.2.3*
|
|
||||||
1.3.0 archive/changes.txt /*1.3.0*
|
|
||||||
1.3.1 archive/changes.txt /*1.3.1*
|
|
||||||
1.3.2 archive/changes.txt /*1.3.2*
|
|
||||||
1.3.3 archive/changes.txt /*1.3.3*
|
|
||||||
1.3.4 archive/changes.txt /*1.3.4*
|
|
||||||
1.3.5 archive/changes.txt /*1.3.5*
|
|
||||||
1.4.0 archive/changes.txt /*1.4.0*
|
|
||||||
1.4.1 archive/changes.txt /*1.4.1*
|
|
||||||
1.4.2 archive/changes.txt /*1.4.2*
|
|
||||||
1.4.3 archive/changes.txt /*1.4.3*
|
|
||||||
1.4.4 archive/changes.txt /*1.4.4*
|
|
||||||
1.4.5 archive/changes.txt /*1.4.5*
|
|
||||||
1.4.6 archive/changes.txt /*1.4.6*
|
|
||||||
1.4.7 archive/changes.txt /*1.4.7*
|
|
||||||
1.4.8 archive/changes.txt /*1.4.8*
|
|
||||||
1.4.9 archive/changes.txt /*1.4.9*
|
|
||||||
1.5.0 archive/changes.txt /*1.5.0*
|
|
||||||
1.5.1 archive/changes.txt /*1.5.1*
|
|
||||||
1.5.2 archive/changes.txt /*1.5.2*
|
|
||||||
1.5.3 archive/changes.txt /*1.5.3*
|
|
||||||
1.5.4 archive/changes.txt /*1.5.4*
|
|
||||||
1.5.5 archive/changes.txt /*1.5.5*
|
|
||||||
1.5.6 archive/changes.txt /*1.5.6*
|
|
||||||
1.5.7 archive/changes.txt /*1.5.7*
|
|
||||||
1.5.8 archive/changes.txt /*1.5.8*
|
|
||||||
1.6.0 archive/changes.txt /*1.6.0*
|
|
||||||
1.6.1 archive/changes.txt /*1.6.1*
|
|
||||||
1.6.2 archive/changes.txt /*1.6.2*
|
|
||||||
1.6.3 archive/changes.txt /*1.6.3*
|
|
||||||
1.7.0 archive/changes.txt /*1.7.0*
|
|
||||||
1.7.1 archive/changes.txt /*1.7.1*
|
|
||||||
1.7.10 changes.txt /*1.7.10*
|
|
||||||
1.7.11 changes.txt /*1.7.11*
|
|
||||||
1.7.12 changes.txt /*1.7.12*
|
|
||||||
1.7.13 changes.txt /*1.7.13*
|
|
||||||
1.7.14 changes.txt /*1.7.14*
|
|
||||||
1.7.16 changes.txt /*1.7.16*
|
|
||||||
1.7.17 changes.txt /*1.7.17*
|
|
||||||
1.7.18 changes.txt /*1.7.18*
|
|
||||||
1.7.19 changes.txt /*1.7.19*
|
|
||||||
1.7.2 archive/changes.txt /*1.7.2*
|
|
||||||
1.7.3 changes.txt /*1.7.3*
|
|
||||||
1.7.4 changes.txt /*1.7.4*
|
|
||||||
1.7.5 changes.txt /*1.7.5*
|
|
||||||
1.7.6 changes.txt /*1.7.6*
|
|
||||||
1.7.7 changes.txt /*1.7.7*
|
|
||||||
1.7.8 changes.txt /*1.7.8*
|
|
||||||
1.7.9 changes.txt /*1.7.9*
|
|
||||||
2.2.0 changes.txt /*2.2.0*
|
|
||||||
2.2.1 changes.txt /*2.2.1*
|
|
||||||
2.2.2 changes.txt /*2.2.2*
|
|
||||||
2.2.3 changes.txt /*2.2.3*
|
|
||||||
2.2.4 changes.txt /*2.2.4*
|
|
||||||
2.2.5 changes.txt /*2.2.5*
|
|
||||||
2.2.6 changes.txt /*2.2.6*
|
|
||||||
2.2.7 changes.txt /*2.2.7*
|
|
||||||
2.3.0 changes.txt /*2.3.0*
|
|
||||||
2.3.1 changes.txt /*2.3.1*
|
|
||||||
2.3.2 changes.txt /*2.3.2*
|
|
||||||
2.3.3 changes.txt /*2.3.3*
|
|
||||||
2.3.4 changes.txt /*2.3.4*
|
|
||||||
2.4.0 changes.txt /*2.4.0*
|
|
||||||
404 404.txt /*404*
|
|
||||||
:AndroidReload vim/java/android.txt /*:AndroidReload*
|
|
||||||
:Ant vim/java/ant.txt /*:Ant*
|
|
||||||
:AntDoc vim/java/ant.txt /*:AntDoc*
|
|
||||||
:AntUserDoc vim/java/ant.txt /*:AntUserDoc*
|
|
||||||
:BrowserOpen vim/html/index.txt /*:BrowserOpen*
|
|
||||||
:Buffers vim/core/util.txt /*:Buffers*
|
|
||||||
:BuffersToggle vim/core/util.txt /*:BuffersToggle*
|
|
||||||
:CCallHierarchy vim/c/inspection.txt /*:CCallHierarchy*
|
|
||||||
:CProjectConfigs vim/c/project.txt /*:CProjectConfigs*
|
|
||||||
:CSearch vim/c/search.txt /*:CSearch*
|
|
||||||
:CSearchContext vim/c/search.txt /*:CSearchContext*
|
|
||||||
:Checkstyle vim/java/validate.txt /*:Checkstyle*
|
|
||||||
:DiffLastSaved vim/core/util.txt /*:DiffLastSaved*
|
|
||||||
:DjangoContextOpen vim/python/django.txt /*:DjangoContextOpen*
|
|
||||||
:DjangoFind vim/python/django.txt /*:DjangoFind*
|
|
||||||
:DjangoManage vim/python/django.txt /*:DjangoManage*
|
|
||||||
:DjangoTemplateOpen vim/python/django.txt /*:DjangoTemplateOpen*
|
|
||||||
:DjangoViewOpen vim/python/django.txt /*:DjangoViewOpen*
|
|
||||||
:DtdDefinition vim/xml/index.txt /*:DtdDefinition*
|
|
||||||
:EclimDisable vim/core/eclim.txt /*:EclimDisable*
|
|
||||||
:EclimEnable vim/core/eclim.txt /*:EclimEnable*
|
|
||||||
:EclimHelp vim/core/eclim.txt /*:EclimHelp*
|
|
||||||
:EclimHelpGrep vim/core/eclim.txt /*:EclimHelpGrep*
|
|
||||||
:History vim/core/history.txt /*:History*
|
|
||||||
:HistoryClear vim/core/history.txt /*:HistoryClear*
|
|
||||||
:HistoryDiffNext vim/core/history.txt /*:HistoryDiffNext*
|
|
||||||
:HistoryDiffPrev vim/core/history.txt /*:HistoryDiffPrev*
|
|
||||||
:IvyRepo vim/java/classpath.txt /*:IvyRepo*
|
|
||||||
:JUnit vim/java/unittests.txt /*:JUnit*
|
|
||||||
:JUnitFindTest vim/java/unittests.txt /*:JUnitFindTest*
|
|
||||||
:JUnitImpl vim/java/unittests.txt /*:JUnitImpl*
|
|
||||||
:JUnitResult vim/java/unittests.txt /*:JUnitResult*
|
|
||||||
:Java vim/java/java.txt /*:Java*
|
|
||||||
:JavaCallHierarchy vim/java/inspection.txt /*:JavaCallHierarchy*
|
|
||||||
:JavaClasspath vim/java/java.txt /*:JavaClasspath*
|
|
||||||
:JavaConstructor vim/java/methods.txt /*:JavaConstructor*
|
|
||||||
:JavaCorrect vim/java/validate.txt /*:JavaCorrect*
|
|
||||||
:JavaDelegate vim/java/methods.txt /*:JavaDelegate*
|
|
||||||
:JavaDocComment vim/java/javadoc.txt /*:JavaDocComment*
|
|
||||||
:JavaDocPreview vim/java/javadoc.txt /*:JavaDocPreview*
|
|
||||||
:JavaDocSearch vim/java/javadoc.txt /*:JavaDocSearch*
|
|
||||||
:JavaFormat vim/java/format.txt /*:JavaFormat*
|
|
||||||
:JavaGet vim/java/methods.txt /*:JavaGet*
|
|
||||||
:JavaGetSet vim/java/methods.txt /*:JavaGetSet*
|
|
||||||
:JavaHierarchy vim/java/inspection.txt /*:JavaHierarchy*
|
|
||||||
:JavaImpl vim/java/methods.txt /*:JavaImpl*
|
|
||||||
:JavaImport vim/java/import.txt /*:JavaImport*
|
|
||||||
:JavaImportOrganize vim/java/import.txt /*:JavaImportOrganize*
|
|
||||||
:JavaListInstalls vim/java/java.txt /*:JavaListInstalls*
|
|
||||||
:JavaMove vim/java/refactor.txt /*:JavaMove*
|
|
||||||
:JavaRename vim/java/refactor.txt /*:JavaRename*
|
|
||||||
:JavaSearch vim/java/search.txt /*:JavaSearch*
|
|
||||||
:JavaSearchContext vim/java/search.txt /*:JavaSearchContext*
|
|
||||||
:JavaSet vim/java/methods.txt /*:JavaSet*
|
|
||||||
:Javadoc vim/java/javadoc.txt /*:Javadoc*
|
|
||||||
:Jps vim/java/java.txt /*:Jps*
|
|
||||||
:LocateFile vim/core/locate.txt /*:LocateFile*
|
|
||||||
:LocationListClear vim/core/util.txt /*:LocationListClear*
|
|
||||||
:Maven vim/java/maven.txt /*:Maven*
|
|
||||||
:MavenRepo vim/java/classpath.txt /*:MavenRepo*
|
|
||||||
:Mvn vim/java/maven.txt /*:Mvn*
|
|
||||||
:MvnRepo vim/java/classpath.txt /*:MvnRepo*
|
|
||||||
:NewJarEntry_java vim/java/classpath.txt /*:NewJarEntry_java*
|
|
||||||
:NewLibEntry_dltk vim/dltk/buildpath.txt /*:NewLibEntry_dltk*
|
|
||||||
:NewLibEntry_dltk_php vim/php/buildpath.txt /*:NewLibEntry_dltk_php*
|
|
||||||
:NewLibEntry_dltk_ruby vim/ruby/buildpath.txt /*:NewLibEntry_dltk_ruby*
|
|
||||||
:NewProjectEntry_dltk vim/dltk/buildpath.txt /*:NewProjectEntry_dltk*
|
|
||||||
:NewProjectEntry_dltk_php vim/php/buildpath.txt /*:NewProjectEntry_dltk_php*
|
|
||||||
:NewProjectEntry_dltk_ruby vim/ruby/buildpath.txt /*:NewProjectEntry_dltk_ruby*
|
|
||||||
:NewProjectEntry_java vim/java/classpath.txt /*:NewProjectEntry_java*
|
|
||||||
:NewSrcEntry_dltk vim/dltk/buildpath.txt /*:NewSrcEntry_dltk*
|
|
||||||
:NewSrcEntry_dltk_php vim/php/buildpath.txt /*:NewSrcEntry_dltk_php*
|
|
||||||
:NewSrcEntry_dltk_ruby vim/ruby/buildpath.txt /*:NewSrcEntry_dltk_ruby*
|
|
||||||
:NewSrcEntry_java vim/java/classpath.txt /*:NewSrcEntry_java*
|
|
||||||
:NewSrcEntry_pydev vim/python/path.txt /*:NewSrcEntry_pydev*
|
|
||||||
:NewVarEntry_java vim/java/classpath.txt /*:NewVarEntry_java*
|
|
||||||
:Only vim/core/util.txt /*:Only*
|
|
||||||
:OpenUrl vim/core/util.txt /*:OpenUrl*
|
|
||||||
:PhpSearch vim/php/search.txt /*:PhpSearch*
|
|
||||||
:PhpSearchContext vim/php/search.txt /*:PhpSearchContext*
|
|
||||||
:PingEclim vim/core/eclim.txt /*:PingEclim*
|
|
||||||
:ProjectBuild vim/core/project.txt /*:ProjectBuild*
|
|
||||||
:ProjectCD vim/core/project.txt /*:ProjectCD*
|
|
||||||
:ProjectClose vim/core/project.txt /*:ProjectClose*
|
|
||||||
:ProjectCreate vim/core/project.txt /*:ProjectCreate*
|
|
||||||
:ProjectDelete vim/core/project.txt /*:ProjectDelete*
|
|
||||||
:ProjectGrep vim/core/project.txt /*:ProjectGrep*
|
|
||||||
:ProjectGrepAdd vim/core/project.txt /*:ProjectGrepAdd*
|
|
||||||
:ProjectImport vim/core/project.txt /*:ProjectImport*
|
|
||||||
:ProjectInfo vim/core/project.txt /*:ProjectInfo*
|
|
||||||
:ProjectLCD vim/core/project.txt /*:ProjectLCD*
|
|
||||||
:ProjectLGrep vim/core/project.txt /*:ProjectLGrep*
|
|
||||||
:ProjectLGrepAdd vim/core/project.txt /*:ProjectLGrepAdd*
|
|
||||||
:ProjectList vim/core/project.txt /*:ProjectList*
|
|
||||||
:ProjectMove vim/core/project.txt /*:ProjectMove*
|
|
||||||
:ProjectNatureAdd vim/core/project.txt /*:ProjectNatureAdd*
|
|
||||||
:ProjectNatureRemove vim/core/project.txt /*:ProjectNatureRemove*
|
|
||||||
:ProjectNatures vim/core/project.txt /*:ProjectNatures*
|
|
||||||
:ProjectOpen vim/core/project.txt /*:ProjectOpen*
|
|
||||||
:ProjectProblems vim/core/project.txt /*:ProjectProblems*
|
|
||||||
:ProjectRefresh vim/core/project.txt /*:ProjectRefresh*
|
|
||||||
:ProjectRefreshAll vim/core/project.txt /*:ProjectRefreshAll*
|
|
||||||
:ProjectRename vim/core/project.txt /*:ProjectRename*
|
|
||||||
:ProjectSettings vim/core/project.txt /*:ProjectSettings*
|
|
||||||
:ProjectTab vim/core/project.txt /*:ProjectTab*
|
|
||||||
:ProjectTodo vim/core/project.txt /*:ProjectTodo*
|
|
||||||
:ProjectTree vim/core/project.txt /*:ProjectTree*
|
|
||||||
:ProjectTreeToggle vim/core/project.txt /*:ProjectTreeToggle*
|
|
||||||
:ProjectsTree vim/core/project.txt /*:ProjectsTree*
|
|
||||||
:PythonInterpreter vim/python/path.txt /*:PythonInterpreter*
|
|
||||||
:PythonInterpreterAdd vim/python/path.txt /*:PythonInterpreterAdd*
|
|
||||||
:PythonInterpreterList vim/python/path.txt /*:PythonInterpreterList*
|
|
||||||
:PythonInterpreterRemove vim/python/path.txt /*:PythonInterpreterRemove*
|
|
||||||
:PythonSearch vim/python/search.txt /*:PythonSearch*
|
|
||||||
:PythonSearchContext vim/python/search.txt /*:PythonSearchContext*
|
|
||||||
:QuickFixClear vim/core/util.txt /*:QuickFixClear*
|
|
||||||
:RefactorRedo vim/refactoring.txt /*:RefactorRedo*
|
|
||||||
:RefactorUndo vim/refactoring.txt /*:RefactorUndo*
|
|
||||||
:RefactorUndoPeek vim/refactoring.txt /*:RefactorUndoPeek*
|
|
||||||
:RubyInterpreterAdd vim/ruby/buildpath.txt /*:RubyInterpreterAdd*
|
|
||||||
:RubyInterpreterList vim/ruby/buildpath.txt /*:RubyInterpreterList*
|
|
||||||
:RubyInterpreterRemove vim/ruby/buildpath.txt /*:RubyInterpreterRemove*
|
|
||||||
:RubySearch vim/ruby/search.txt /*:RubySearch*
|
|
||||||
:RubySearchContext vim/ruby/search.txt /*:RubySearchContext*
|
|
||||||
:ScalaImport vim/scala/import.txt /*:ScalaImport*
|
|
||||||
:ScalaSearch vim/scala/search.txt /*:ScalaSearch*
|
|
||||||
:ShutdownEclim vim/core/eclim.txt /*:ShutdownEclim*
|
|
||||||
:Sign vim/core/util.txt /*:Sign*
|
|
||||||
:SignClearAll vim/core/util.txt /*:SignClearAll*
|
|
||||||
:SignClearUser vim/core/util.txt /*:SignClearUser*
|
|
||||||
:Signs vim/core/util.txt /*:Signs*
|
|
||||||
:SwapWords vim/core/util.txt /*:SwapWords*
|
|
||||||
:Tcd vim/core/util.txt /*:Tcd*
|
|
||||||
:Todo vim/core/project.txt /*:Todo*
|
|
||||||
:Validate_ant vim/java/ant.txt /*:Validate_ant*
|
|
||||||
:Validate_c vim/c/validate.txt /*:Validate_c*
|
|
||||||
:Validate_css vim/html/index.txt /*:Validate_css*
|
|
||||||
:Validate_dtd vim/xml/index.txt /*:Validate_dtd*
|
|
||||||
:Validate_groovy vim/groovy/validate.txt /*:Validate_groovy*
|
|
||||||
:Validate_html vim/html/index.txt /*:Validate_html*
|
|
||||||
:Validate_java vim/java/validate.txt /*:Validate_java*
|
|
||||||
:Validate_javascript vim/javascript/index.txt /*:Validate_javascript*
|
|
||||||
:Validate_log4j vim/java/logging.txt /*:Validate_log4j*
|
|
||||||
:Validate_php vim/php/validate.txt /*:Validate_php*
|
|
||||||
:Validate_python vim/python/validate.txt /*:Validate_python*
|
|
||||||
:Validate_ruby vim/ruby/validate.txt /*:Validate_ruby*
|
|
||||||
:Validate_scala vim/scala/validate.txt /*:Validate_scala*
|
|
||||||
:Validate_webxml vim/java/webxml.txt /*:Validate_webxml*
|
|
||||||
:Validate_xml vim/xml/index.txt /*:Validate_xml*
|
|
||||||
:Validate_xsd vim/xml/index.txt /*:Validate_xsd*
|
|
||||||
:VariableCreate vim/java/classpath.txt /*:VariableCreate*
|
|
||||||
:VariableDelete vim/java/classpath.txt /*:VariableDelete*
|
|
||||||
:VariableList vim/java/classpath.txt /*:VariableList*
|
|
||||||
:VimSettings vim/core/eclim.txt /*:VimSettings*
|
|
||||||
:WorkspaceSettings vim/core/eclim.txt /*:WorkspaceSettings*
|
|
||||||
:XmlFormat vim/xml/index.txt /*:XmlFormat*
|
|
||||||
:XsdDefinition vim/xml/index.txt /*:XsdDefinition*
|
|
||||||
FeedKeys eclimd.txt /*FeedKeys*
|
|
||||||
archive-changes archive/changes.txt /*archive-changes*
|
|
||||||
archive-news archive/news.txt /*archive-news*
|
|
||||||
changes changes.txt /*changes*
|
|
||||||
cheatsheet cheatsheet.txt /*cheatsheet*
|
|
||||||
classpath-ivy vim/java/classpath.txt /*classpath-ivy*
|
|
||||||
classpath-maven vim/java/classpath.txt /*classpath-maven*
|
|
||||||
classpath-maven-pom vim/java/classpath.txt /*classpath-maven-pom*
|
|
||||||
classpath-src-javadocs vim/java/classpath.txt /*classpath-src-javadocs*
|
|
||||||
coding-style development/gettingstarted.txt /*coding-style*
|
|
||||||
com.android.ide.eclipse.adt.sdk vim/java/android.txt /*com.android.ide.eclipse.adt.sdk*
|
|
||||||
contribute contribute.txt /*contribute*
|
|
||||||
css vim/html/index.txt /*css*
|
|
||||||
development-architecture development/architecture.txt /*development-architecture*
|
|
||||||
development-commands development/commands.txt /*development-commands*
|
|
||||||
development-gettingstarted development/gettingstarted.txt /*development-gettingstarted*
|
|
||||||
development-index development/index.txt /*development-index*
|
|
||||||
development-patches development/gettingstarted.txt /*development-patches*
|
|
||||||
development-plugins development/plugins.txt /*development-plugins*
|
|
||||||
dtd vim/xml/index.txt /*dtd*
|
|
||||||
eclim#web#SearchEngine vim/core/util.txt /*eclim#web#SearchEngine*
|
|
||||||
eclim#web#WordLookup vim/core/util.txt /*eclim#web#WordLookup*
|
|
||||||
eclim-gvim-embedded-focus eclimd.txt /*eclim-gvim-embedded-focus*
|
|
||||||
eclim-gvim-embedded-shortcuts eclimd.txt /*eclim-gvim-embedded-shortcuts*
|
|
||||||
eclim_encoding faq.txt /*eclim_encoding*
|
|
||||||
eclim_full_headless faq.txt /*eclim_full_headless*
|
|
||||||
eclim_memory faq.txt /*eclim_memory*
|
|
||||||
eclim_proxy faq.txt /*eclim_proxy*
|
|
||||||
eclim_troubleshoot faq.txt /*eclim_troubleshoot*
|
|
||||||
eclim_workspace faq.txt /*eclim_workspace*
|
|
||||||
eclimd eclimd.txt /*eclimd*
|
|
||||||
eclimd-extdir eclimd.txt /*eclimd-extdir*
|
|
||||||
eclimd-headed eclimd.txt /*eclimd-headed*
|
|
||||||
eclimd-headless eclimd.txt /*eclimd-headless*
|
|
||||||
eclimd-multiworkspace eclimd.txt /*eclimd-multiworkspace*
|
|
||||||
eclimd_options_windows faq.txt /*eclimd_options_windows*
|
|
||||||
eclimrc eclimd.txt /*eclimrc*
|
|
||||||
faq faq.txt /*faq*
|
|
||||||
features features.txt /*features*
|
|
||||||
g:EclimAntCompilerAdditionalErrorFormat vim/java/ant.txt /*g:EclimAntCompilerAdditionalErrorFormat*
|
|
||||||
g:EclimAntErrorsEnabled vim/java/ant.txt /*g:EclimAntErrorsEnabled*
|
|
||||||
g:EclimAntValidate vim/java/ant.txt /*g:EclimAntValidate*
|
|
||||||
g:EclimBrowser vim/core/eclim.txt /*g:EclimBrowser*
|
|
||||||
g:EclimBuffersDeleteOnTabClose vim/core/util.txt /*g:EclimBuffersDeleteOnTabClose*
|
|
||||||
g:EclimBuffersSort vim/core/util.txt /*g:EclimBuffersSort*
|
|
||||||
g:EclimBuffersSortDirection vim/core/util.txt /*g:EclimBuffersSortDirection*
|
|
||||||
g:EclimBuffersTabTracking vim/core/util.txt /*g:EclimBuffersTabTracking*
|
|
||||||
g:EclimCCallHierarchyDefaultAction vim/c/inspection.txt /*g:EclimCCallHierarchyDefaultAction*
|
|
||||||
g:EclimCSearchSingleResult vim/c/search.txt /*g:EclimCSearchSingleResult*
|
|
||||||
g:EclimCValidate vim/c/validate.txt /*g:EclimCValidate*
|
|
||||||
g:EclimCompletionMethod vim/code_completion.txt /*g:EclimCompletionMethod*
|
|
||||||
g:EclimCssValidate vim/html/index.txt /*g:EclimCssValidate*
|
|
||||||
g:EclimDjangoAdmin vim/python/django.txt /*g:EclimDjangoAdmin*
|
|
||||||
g:EclimDjangoFindAction vim/python/django.txt /*g:EclimDjangoFindAction*
|
|
||||||
g:EclimDjangoStaticPaths vim/python/django.txt /*g:EclimDjangoStaticPaths*
|
|
||||||
g:EclimDjangoStaticPattern vim/python/django.txt /*g:EclimDjangoStaticPattern*
|
|
||||||
g:EclimDtdValidate vim/xml/index.txt /*g:EclimDtdValidate*
|
|
||||||
g:EclimGroovyValidate vim/groovy/validate.txt /*g:EclimGroovyValidate*
|
|
||||||
g:EclimHighlightDebug vim/core/eclim.txt /*g:EclimHighlightDebug*
|
|
||||||
g:EclimHighlightError vim/core/eclim.txt /*g:EclimHighlightError*
|
|
||||||
g:EclimHighlightInfo vim/core/eclim.txt /*g:EclimHighlightInfo*
|
|
||||||
g:EclimHighlightTrace vim/core/eclim.txt /*g:EclimHighlightTrace*
|
|
||||||
g:EclimHighlightWarning vim/core/eclim.txt /*g:EclimHighlightWarning*
|
|
||||||
g:EclimHistoryDiffOrientation vim/core/history.txt /*g:EclimHistoryDiffOrientation*
|
|
||||||
g:EclimHtmlValidate vim/html/index.txt /*g:EclimHtmlValidate*
|
|
||||||
g:EclimJavaCallHierarchyDefaultAction vim/java/inspection.txt /*g:EclimJavaCallHierarchyDefaultAction*
|
|
||||||
g:EclimJavaCompleteCaseSensitive vim/java/complete.txt /*g:EclimJavaCompleteCaseSensitive*
|
|
||||||
g:EclimJavaDocSearchSingleResult vim/java/javadoc.txt /*g:EclimJavaDocSearchSingleResult*
|
|
||||||
g:EclimJavaHierarchyDefaultAction vim/java/inspection.txt /*g:EclimJavaHierarchyDefaultAction*
|
|
||||||
g:EclimJavaSearchMapping vim/java/search.txt /*g:EclimJavaSearchMapping*
|
|
||||||
g:EclimJavaSearchSingleResult vim/java/search.txt /*g:EclimJavaSearchSingleResult*
|
|
||||||
g:EclimJavaValidate vim/java/validate.txt /*g:EclimJavaValidate*
|
|
||||||
g:EclimJavascriptLintConf vim/javascript/index.txt /*g:EclimJavascriptLintConf*
|
|
||||||
g:EclimJavascriptValidate vim/javascript/index.txt /*g:EclimJavascriptValidate*
|
|
||||||
g:EclimKeepLocalHistory vim/core/history.txt /*g:EclimKeepLocalHistory*
|
|
||||||
g:EclimLocateFileCaseInsensitive vim/core/locate.txt /*g:EclimLocateFileCaseInsensitive*
|
|
||||||
g:EclimLocateFileDefaultAction vim/core/locate.txt /*g:EclimLocateFileDefaultAction*
|
|
||||||
g:EclimLocateFileFuzzy vim/core/locate.txt /*g:EclimLocateFileFuzzy*
|
|
||||||
g:EclimLocateFileScope vim/core/locate.txt /*g:EclimLocateFileScope*
|
|
||||||
g:EclimLog4jValidate vim/java/logging.txt /*g:EclimLog4jValidate*
|
|
||||||
g:EclimLogLevel vim/core/eclim.txt /*g:EclimLogLevel*
|
|
||||||
g:EclimLoggingDisabled vim/java/logging.txt /*g:EclimLoggingDisabled*
|
|
||||||
g:EclimMakeLCD vim/core/eclim.txt /*g:EclimMakeLCD*
|
|
||||||
g:EclimMenus vim/core/eclim.txt /*g:EclimMenus*
|
|
||||||
g:EclimOnlyExclude vim/core/util.txt /*g:EclimOnlyExclude*
|
|
||||||
g:EclimOnlyExcludeFixed vim/core/util.txt /*g:EclimOnlyExcludeFixed*
|
|
||||||
g:EclimOpenUrlInVimAction vim/core/util.txt /*g:EclimOpenUrlInVimAction*
|
|
||||||
g:EclimOpenUrlInVimPatterns vim/core/util.txt /*g:EclimOpenUrlInVimPatterns*
|
|
||||||
g:EclimPhpSearchSingleResult vim/php/search.txt /*g:EclimPhpSearchSingleResult*
|
|
||||||
g:EclimPhpValidate vim/php/validate.txt /*g:EclimPhpValidate*
|
|
||||||
g:EclimProjectProblemsQuickFixOpen vim/core/project.txt /*g:EclimProjectProblemsQuickFixOpen*
|
|
||||||
g:EclimProjectProblemsUpdateOnSave vim/core/project.txt /*g:EclimProjectProblemsUpdateOnSave*
|
|
||||||
g:EclimProjectStatusLine vim/core/project.txt /*g:EclimProjectStatusLine*
|
|
||||||
g:EclimProjectTabTreeAutoOpen vim/core/project.txt /*g:EclimProjectTabTreeAutoOpen*
|
|
||||||
g:EclimProjectTreeActions vim/core/project.txt /*g:EclimProjectTreeActions*
|
|
||||||
g:EclimProjectTreeAutoOpen vim/core/project.txt /*g:EclimProjectTreeAutoOpen*
|
|
||||||
g:EclimProjectTreeAutoOpenProjects vim/core/project.txt /*g:EclimProjectTreeAutoOpenProjects*
|
|
||||||
g:EclimProjectTreeExpandPathOnOpen vim/core/project.txt /*g:EclimProjectTreeExpandPathOnOpen*
|
|
||||||
g:EclimProjectTreePathEcho vim/core/project.txt /*g:EclimProjectTreePathEcho*
|
|
||||||
g:EclimProjectTreeSharedInstance vim/core/project.txt /*g:EclimProjectTreeSharedInstance*
|
|
||||||
g:EclimPromptListStartIndex vim/core/eclim.txt /*g:EclimPromptListStartIndex*
|
|
||||||
g:EclimPythonSearchSingleResult vim/python/search.txt /*g:EclimPythonSearchSingleResult*
|
|
||||||
g:EclimPythonValidate vim/python/validate.txt /*g:EclimPythonValidate*
|
|
||||||
g:EclimRefactorDiffOrientation vim/refactoring.txt /*g:EclimRefactorDiffOrientation*
|
|
||||||
g:EclimRefactorDiffOrientation_java vim/java/refactor.txt /*g:EclimRefactorDiffOrientation_java*
|
|
||||||
g:EclimRubySearchSingleResult vim/ruby/search.txt /*g:EclimRubySearchSingleResult*
|
|
||||||
g:EclimRubyValidate vim/ruby/validate.txt /*g:EclimRubyValidate*
|
|
||||||
g:EclimScalaSearchSingleResult vim/scala/search.txt /*g:EclimScalaSearchSingleResult*
|
|
||||||
g:EclimScalaValidate vim/scala/validate.txt /*g:EclimScalaValidate*
|
|
||||||
g:EclimShowCurrentError vim/core/eclim.txt /*g:EclimShowCurrentError*
|
|
||||||
g:EclimSignLevel vim/core/eclim.txt /*g:EclimSignLevel*
|
|
||||||
g:EclimTodoSearchExtensions vim/core/project.txt /*g:EclimTodoSearchExtensions*
|
|
||||||
g:EclimTodoSearchPattern vim/core/project.txt /*g:EclimTodoSearchPattern*
|
|
||||||
g:EclimWebXmlValidate vim/java/webxml.txt /*g:EclimWebXmlValidate*
|
|
||||||
g:EclimXmlValidate vim/xml/index.txt /*g:EclimXmlValidate*
|
|
||||||
g:EclimXsdValidate vim/xml/index.txt /*g:EclimXsdValidate*
|
|
||||||
g:HtmlDjangoCompleteEndTag vim/python/django.txt /*g:HtmlDjangoCompleteEndTag*
|
|
||||||
g:HtmlDjangoUserBodyElements vim/python/django.txt /*g:HtmlDjangoUserBodyElements*
|
|
||||||
g:HtmlDjangoUserFilters vim/python/django.txt /*g:HtmlDjangoUserFilters*
|
|
||||||
g:HtmlDjangoUserTags vim/python/django.txt /*g:HtmlDjangoUserTags*
|
|
||||||
gettinghelp gettinghelp.txt /*gettinghelp*
|
|
||||||
gettingstarted gettingstarted.txt /*gettingstarted*
|
|
||||||
gettingstarted-android gettingstarted.txt /*gettingstarted-android*
|
|
||||||
gettingstarted-coding gettingstarted.txt /*gettingstarted-coding*
|
|
||||||
gettingstarted-create gettingstarted.txt /*gettingstarted-create*
|
|
||||||
gettingstarted-maven gettingstarted.txt /*gettingstarted-maven*
|
|
||||||
gvim-embedded eclimd.txt /*gvim-embedded*
|
|
||||||
html vim/html/index.txt /*html*
|
|
||||||
htmldjango vim/python/django.txt /*htmldjango*
|
|
||||||
index index.txt /*index*
|
|
||||||
install install.txt /*install*
|
|
||||||
install-headless install.txt /*install-headless*
|
|
||||||
install-source install.txt /*install-source*
|
|
||||||
installer install.txt /*installer*
|
|
||||||
installer-automated install.txt /*installer-automated*
|
|
||||||
installer-issues install.txt /*installer-issues*
|
|
||||||
installer-proxy install.txt /*installer-proxy*
|
|
||||||
log4j vim/java/logging.txt /*log4j*
|
|
||||||
org.eclim.java.checkstyle.config vim/java/validate.txt /*org.eclim.java.checkstyle.config*
|
|
||||||
org.eclim.java.checkstyle.onvalidate vim/java/validate.txt /*org.eclim.java.checkstyle.onvalidate*
|
|
||||||
org.eclim.java.checkstyle.properties vim/java/validate.txt /*org.eclim.java.checkstyle.properties*
|
|
||||||
org.eclim.java.import.exclude vim/java/import.txt /*org.eclim.java.import.exclude*
|
|
||||||
org.eclim.java.import.package_separation_level vim/java/import.txt /*org.eclim.java.import.package_separation_level*
|
|
||||||
org.eclim.java.junit.envvars vim/java/unittests.txt /*org.eclim.java.junit.envvars*
|
|
||||||
org.eclim.java.junit.jvmargs vim/java/unittests.txt /*org.eclim.java.junit.jvmargs*
|
|
||||||
org.eclim.java.junit.output_dir vim/java/unittests.txt /*org.eclim.java.junit.output_dir*
|
|
||||||
org.eclim.java.junit.sysprops vim/java/unittests.txt /*org.eclim.java.junit.sysprops*
|
|
||||||
org.eclim.java.logging.impl vim/java/logging.txt /*org.eclim.java.logging.impl*
|
|
||||||
org.eclim.java.logging.template vim/java/logging.txt /*org.eclim.java.logging.template*
|
|
||||||
org.eclim.java.run.mainclass vim/java/java.txt /*org.eclim.java.run.mainclass*
|
|
||||||
org.eclim.project.version vim/core/eclim.txt /*org.eclim.project.version*
|
|
||||||
org.eclim.user.email vim/core/eclim.txt /*org.eclim.user.email*
|
|
||||||
org.eclim.user.name vim/core/eclim.txt /*org.eclim.user.name*
|
|
||||||
org.eclipse.jdt.core.compiler.source vim/java/validate.txt /*org.eclipse.jdt.core.compiler.source*
|
|
||||||
org.eclipse.jdt.ui.importorder vim/java/import.txt /*org.eclipse.jdt.ui.importorder*
|
|
||||||
pid eclimd.txt /*pid*
|
|
||||||
relatedprojects relatedprojects.txt /*relatedprojects*
|
|
||||||
troubleshooting faq.txt /*troubleshooting*
|
|
||||||
ts_completion faq.txt /*ts_completion*
|
|
||||||
ts_exception faq.txt /*ts_exception*
|
|
||||||
ts_ftplugin faq.txt /*ts_ftplugin*
|
|
||||||
ts_incompatible_plugins faq.txt /*ts_incompatible_plugins*
|
|
||||||
ts_signs_misplaced faq.txt /*ts_signs_misplaced*
|
|
||||||
ts_workspace faq.txt /*ts_workspace*
|
|
||||||
uninstall install.txt /*uninstall*
|
|
||||||
uninstall-automated install.txt /*uninstall-automated*
|
|
||||||
vim-c-complete vim/c/complete.txt /*vim-c-complete*
|
|
||||||
vim-c-index vim/c/index.txt /*vim-c-index*
|
|
||||||
vim-c-inspection vim/c/inspection.txt /*vim-c-inspection*
|
|
||||||
vim-c-project vim/c/project.txt /*vim-c-project*
|
|
||||||
vim-c-search vim/c/search.txt /*vim-c-search*
|
|
||||||
vim-c-validate vim/c/validate.txt /*vim-c-validate*
|
|
||||||
vim-code_completion vim/code_completion.txt /*vim-code_completion*
|
|
||||||
vim-core-eclim vim/core/eclim.txt /*vim-core-eclim*
|
|
||||||
vim-core-history vim/core/history.txt /*vim-core-history*
|
|
||||||
vim-core-index vim/core/index.txt /*vim-core-index*
|
|
||||||
vim-core-locate vim/core/locate.txt /*vim-core-locate*
|
|
||||||
vim-core-project vim/core/project.txt /*vim-core-project*
|
|
||||||
vim-core-util vim/core/util.txt /*vim-core-util*
|
|
||||||
vim-dltk-buildpath vim/dltk/buildpath.txt /*vim-dltk-buildpath*
|
|
||||||
vim-groovy-complete vim/groovy/complete.txt /*vim-groovy-complete*
|
|
||||||
vim-groovy-index vim/groovy/index.txt /*vim-groovy-index*
|
|
||||||
vim-groovy-validate vim/groovy/validate.txt /*vim-groovy-validate*
|
|
||||||
vim-html-index vim/html/index.txt /*vim-html-index*
|
|
||||||
vim-index vim/index.txt /*vim-index*
|
|
||||||
vim-java-android vim/java/android.txt /*vim-java-android*
|
|
||||||
vim-java-ant vim/java/ant.txt /*vim-java-ant*
|
|
||||||
vim-java-classpath vim/java/classpath.txt /*vim-java-classpath*
|
|
||||||
vim-java-complete vim/java/complete.txt /*vim-java-complete*
|
|
||||||
vim-java-format vim/java/format.txt /*vim-java-format*
|
|
||||||
vim-java-import vim/java/import.txt /*vim-java-import*
|
|
||||||
vim-java-index vim/java/index.txt /*vim-java-index*
|
|
||||||
vim-java-inspection vim/java/inspection.txt /*vim-java-inspection*
|
|
||||||
vim-java-java vim/java/java.txt /*vim-java-java*
|
|
||||||
vim-java-javadoc vim/java/javadoc.txt /*vim-java-javadoc*
|
|
||||||
vim-java-logging vim/java/logging.txt /*vim-java-logging*
|
|
||||||
vim-java-maven vim/java/maven.txt /*vim-java-maven*
|
|
||||||
vim-java-methods vim/java/methods.txt /*vim-java-methods*
|
|
||||||
vim-java-refactor vim/java/refactor.txt /*vim-java-refactor*
|
|
||||||
vim-java-search vim/java/search.txt /*vim-java-search*
|
|
||||||
vim-java-unittests vim/java/unittests.txt /*vim-java-unittests*
|
|
||||||
vim-java-validate vim/java/validate.txt /*vim-java-validate*
|
|
||||||
vim-java-webxml vim/java/webxml.txt /*vim-java-webxml*
|
|
||||||
vim-javascript-index vim/javascript/index.txt /*vim-javascript-index*
|
|
||||||
vim-php-buildpath vim/php/buildpath.txt /*vim-php-buildpath*
|
|
||||||
vim-php-complete vim/php/complete.txt /*vim-php-complete*
|
|
||||||
vim-php-index vim/php/index.txt /*vim-php-index*
|
|
||||||
vim-php-search vim/php/search.txt /*vim-php-search*
|
|
||||||
vim-php-validate vim/php/validate.txt /*vim-php-validate*
|
|
||||||
vim-python-complete vim/python/complete.txt /*vim-python-complete*
|
|
||||||
vim-python-django vim/python/django.txt /*vim-python-django*
|
|
||||||
vim-python-index vim/python/index.txt /*vim-python-index*
|
|
||||||
vim-python-path vim/python/path.txt /*vim-python-path*
|
|
||||||
vim-python-search vim/python/search.txt /*vim-python-search*
|
|
||||||
vim-python-validate vim/python/validate.txt /*vim-python-validate*
|
|
||||||
vim-refactoring vim/refactoring.txt /*vim-refactoring*
|
|
||||||
vim-ruby-buildpath vim/ruby/buildpath.txt /*vim-ruby-buildpath*
|
|
||||||
vim-ruby-complete vim/ruby/complete.txt /*vim-ruby-complete*
|
|
||||||
vim-ruby-index vim/ruby/index.txt /*vim-ruby-index*
|
|
||||||
vim-ruby-search vim/ruby/search.txt /*vim-ruby-search*
|
|
||||||
vim-ruby-validate vim/ruby/validate.txt /*vim-ruby-validate*
|
|
||||||
vim-scala-complete vim/scala/complete.txt /*vim-scala-complete*
|
|
||||||
vim-scala-import vim/scala/import.txt /*vim-scala-import*
|
|
||||||
vim-scala-index vim/scala/index.txt /*vim-scala-index*
|
|
||||||
vim-scala-search vim/scala/search.txt /*vim-scala-search*
|
|
||||||
vim-scala-validate vim/scala/validate.txt /*vim-scala-validate*
|
|
||||||
vim-settings vim/settings.txt /*vim-settings*
|
|
||||||
vim-validation vim/validation.txt /*vim-validation*
|
|
||||||
vim-xml-index vim/xml/index.txt /*vim-xml-index*
|
|
||||||
xml vim/xml/index.txt /*xml*
|
|
||||||
xml-validation vim/xml/index.txt /*xml-validation*
|
|
||||||
xsd vim/xml/index.txt /*xsd*
|
|
84
vim/bundle/eclim/ftplugin/eclipse_buildpath.vim
Normal file
84
vim/bundle/eclim/ftplugin/eclipse_buildpath.vim
Normal file
|
@ -0,0 +1,84 @@
|
||||||
|
" Author: Eric Van Dewoestine
|
||||||
|
"
|
||||||
|
" Description: {{{
|
||||||
|
" see http://eclim.org/vim/php/buildpath.html
|
||||||
|
"
|
||||||
|
" License:
|
||||||
|
"
|
||||||
|
" Copyright (C) 2005 - 2013 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 <http://www.gnu.org/licenses/>.
|
||||||
|
"
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" Script Variables {{{
|
||||||
|
let s:entry_src =
|
||||||
|
\ "\t<buildpathentry kind=\"src\" path=\"<arg>\"/>"
|
||||||
|
let s:entry_lib =
|
||||||
|
\ "\t<buildpathentry external=\"true\" kind=\"lib\" path=\"<arg>\"/>"
|
||||||
|
let s:entry_project =
|
||||||
|
\ "\t<buildpathentry combineaccessrules=\"false\" kind=\"prj\" path=\"<arg>\"/>"
|
||||||
|
let s:entry_var =
|
||||||
|
\ "\t<buildpathentry kind=\"var\" path=\"<arg>\"/>"
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" load any xml related functionality
|
||||||
|
runtime! ftplugin/xml.vim
|
||||||
|
runtime! indent/xml.vim
|
||||||
|
|
||||||
|
augroup eclim_xml
|
||||||
|
autocmd! BufWritePost <buffer>
|
||||||
|
autocmd BufWritePost <buffer> call eclim#project#util#ProjectUpdate()
|
||||||
|
augroup END
|
||||||
|
|
||||||
|
let b:EclimRefreshDisabled = 1
|
||||||
|
|
||||||
|
" Command Declarations {{{
|
||||||
|
if !exists(":NewSrcEntry")
|
||||||
|
command -nargs=+ -complete=customlist,eclim#project#util#CommandCompleteProjectRelative -buffer
|
||||||
|
\ NewSrcEntry :call eclim#dltk#buildpath#NewBuildPathEntry
|
||||||
|
\ (substitute('<args>', '\', '/', 'g') , s:entry_src)
|
||||||
|
endif
|
||||||
|
if !exists(":NewLibEntry")
|
||||||
|
command -nargs=+ -complete=dir -buffer
|
||||||
|
\ NewLibEntry :call eclim#dltk#buildpath#NewBuildPathEntry
|
||||||
|
\ (substitute('<args>', '\', '/', 'g') , s:entry_lib)
|
||||||
|
endif
|
||||||
|
if !exists(":NewProjectEntry")
|
||||||
|
command -nargs=+ -complete=customlist,eclim#dltk#util#CommandCompleteProject -buffer
|
||||||
|
\ NewProjectEntry :call eclim#dltk#buildpath#NewBuildPathEntry('<args>', s:entry_project)
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Disabled until org.eclipse.dltk.internal.core.BuildpathEntry.elementDecode
|
||||||
|
" starts supporting kind="var"
|
||||||
|
"if !exists(":NewVarEntry")
|
||||||
|
" command -nargs=+ -complete=customlist,eclim#dltk#buildpath#CommandCompleteVarPath -buffer
|
||||||
|
" \ NewVarEntry
|
||||||
|
" \ :call eclim#dltk#buildpath#NewBuildPathEntry('<args>', s:entry_var)
|
||||||
|
"endif
|
||||||
|
"if !exists(":VariableList")
|
||||||
|
" command -buffer VariableList :call eclim#dltk#buildpath#VariableList()
|
||||||
|
"endif
|
||||||
|
"if !exists(":VariableCreate")
|
||||||
|
" command -nargs=+ -buffer -complete=customlist,eclim#dltk#buildpath#CommandCompleteVarAndDir
|
||||||
|
" \ VariableCreate :call eclim#dltk#buildpath#VariableCreate(<f-args>)
|
||||||
|
"endif
|
||||||
|
"if !exists(":VariableDelete")
|
||||||
|
" command -nargs=1 -buffer -complete=customlist,eclim#dltk#buildpath#CommandCompleteVar
|
||||||
|
" \ VariableDelete :call eclim#dltk#buildpath#VariableDelete('<args>')
|
||||||
|
"endif
|
||||||
|
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" vim:ft=vim:fdm=marker
|
61
vim/bundle/eclim/ftplugin/php.vim
Normal file
61
vim/bundle/eclim/ftplugin/php.vim
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
" 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 <http://www.gnu.org/licenses/>.
|
||||||
|
"
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" 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 <buffer>
|
||||||
|
autocmd BufWritePost <buffer> 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('<args>')
|
||||||
|
endif
|
||||||
|
|
||||||
|
if !exists(":PhpSearchContext")
|
||||||
|
command -buffer -nargs=*
|
||||||
|
\ -complete=customlist,eclim#php#search#CommandCompleteSearchContext
|
||||||
|
\ PhpSearchContext :call eclim#php#search#SearchContext('<args>')
|
||||||
|
endif
|
||||||
|
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" vim:ft=vim:fdm=marker
|
61
vim/bundle/eclim/indent/php.vim
Normal file
61
vim/bundle/eclim/indent/php.vim
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
" Author: Eric Van Dewoestine
|
||||||
|
"
|
||||||
|
" Description: {{{
|
||||||
|
" Php indent file using IndentAnything.
|
||||||
|
"
|
||||||
|
" License:
|
||||||
|
"
|
||||||
|
" Copyright (C) 2005 - 2011 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 <http://www.gnu.org/licenses/>.
|
||||||
|
"
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
if &indentexpr =~ 'EclimGetPhpHtmlIndent' ||
|
||||||
|
\ (!exists('b:disableOverride') && exists('g:EclimPhpIndentDisabled'))
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
unlet! b:did_indent
|
||||||
|
source $VIMRUNTIME/indent/php.vim
|
||||||
|
let b:did_indent = 1
|
||||||
|
|
||||||
|
let b:disableOverride = 1
|
||||||
|
runtime! indent/html.vim
|
||||||
|
|
||||||
|
setlocal indentexpr=EclimGetPhpHtmlIndent(v:lnum)
|
||||||
|
setlocal indentkeys=0{,0},0),:,!^F,o,O,e,*<Return>,=?>,=<?,=*/,<>>,<bs>,{,}
|
||||||
|
|
||||||
|
" EclimGetPhpHtmlIndent(lnum) {{{
|
||||||
|
function! EclimGetPhpHtmlIndent(lnum)
|
||||||
|
if ! eclim#php#util#IsPhpCode(a:lnum)
|
||||||
|
return EclimGetHtmlIndent(a:lnum)
|
||||||
|
endif
|
||||||
|
|
||||||
|
let indent = GetPhpIndent()
|
||||||
|
" default php indent pushes first line of php code to left margin and
|
||||||
|
" indents all following php code relative to that. So just make sure that
|
||||||
|
" the first line of php after the opening php tag is indented at the same
|
||||||
|
" level as the opening tag.
|
||||||
|
if indent <= 0
|
||||||
|
let phpstart = search('<?php', 'bcnW')
|
||||||
|
let prevline = prevnonblank(a:lnum - 1)
|
||||||
|
if prevline == phpstart
|
||||||
|
return indent + indent(phpstart)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
return indent
|
||||||
|
endfunction " }}}
|
||||||
|
|
||||||
|
" vim:ft=vim:fdm=marker
|
28
vim/bundle/eclim/plugin/ftdetect_dltk.vim
Normal file
28
vim/bundle/eclim/plugin/ftdetect_dltk.vim
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
" Author: Eric Van Dewoestine
|
||||||
|
"
|
||||||
|
" Description: {{{
|
||||||
|
" Vim file type detection script for eclim.
|
||||||
|
"
|
||||||
|
" License:
|
||||||
|
"
|
||||||
|
" Copyright (C) 2005 - 2011 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 <http://www.gnu.org/licenses/>.
|
||||||
|
"
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
autocmd BufRead .buildpath
|
||||||
|
\ call EclimSetXmlFileType({'buildpath': 'eclipse_buildpath'})
|
||||||
|
|
||||||
|
" vim:ft=vim:fdm=marker
|
45
vim/bundle/eclim/plugin/settings_php.vim
Normal file
45
vim/bundle/eclim/plugin/settings_php.vim
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
" 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 <http://www.gnu.org/licenses/>.
|
||||||
|
"
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" Global Varables {{{
|
||||||
|
call eclim#AddVimSetting(
|
||||||
|
\ 'Lang/Php', 'g:EclimPhpValidate', 1,
|
||||||
|
\ 'Sets whether or not to validate php files on save.',
|
||||||
|
\ '\(0\|1\)')
|
||||||
|
|
||||||
|
call eclim#AddVimSetting(
|
||||||
|
\ 'Lang/Php', 'g:EclimPhpHtmlValidate', 1,
|
||||||
|
\ "When php validation is enabled, this sets whether or not to validate\n" .
|
||||||
|
\ "html content in your php files on save.",
|
||||||
|
\ '\(0\|1\)')
|
||||||
|
|
||||||
|
call eclim#AddVimSetting(
|
||||||
|
\ 'Lang/Php', 'g:EclimPhpSyntasticEnabled', 0,
|
||||||
|
\ "Only enable this if you want both eclim and syntastic to validate your php files.\n" .
|
||||||
|
\ "If you want to use syntastic instead of eclim, simply disable PhpValidate.",
|
||||||
|
\ '\(0\|1\)')
|
||||||
|
|
||||||
|
call eclim#AddVimSetting(
|
||||||
|
\ 'Lang/Php', 'g:EclimPhpSearchSingleResult', g:EclimDefaultFileOpenAction,
|
||||||
|
\ 'Sets the command to use when opening a single result from a php search.')
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
" vim:ft=vim:fdm=marker
|
27
vim/bundle/eclim/syntax/eclipse_buildpath.vim
Normal file
27
vim/bundle/eclim/syntax/eclipse_buildpath.vim
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
" Author: Eric Van Dewoestine
|
||||||
|
"
|
||||||
|
" Description: {{{
|
||||||
|
" Syntax file for eclipse .projectOptions files.
|
||||||
|
"
|
||||||
|
" License:
|
||||||
|
"
|
||||||
|
" Copyright (C) 2005 - 2009 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 <http://www.gnu.org/licenses/>.
|
||||||
|
"
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
runtime! syntax/xml.vim
|
||||||
|
|
||||||
|
" vim:ft=vim:fdm=marker
|
2
vimrc
2
vimrc
|
@ -20,4 +20,4 @@ setlocal completeopt-=preview
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
let g:Powerline_symbols = 'fancy'
|
let g:Powerline_symbols = 'fancy'
|
||||||
set rtp+=$HOME/.local/lib/python2.7/site-packages/powerline/bindings/vim/
|
set rtp+=$HOME/.local/lib/python2.7/site-packages/powerline/bindings/vim/
|
||||||
let g:EclimJavascriptValidate = 0
|
let b:EclimPhpHtmlValidate = 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user