Skip to content

Commit 289987a

Browse files
m2mdasmkusher
authored andcommitted
Fixed typo
1 parent ee5a8ff commit 289987a

22 files changed

Lines changed: 1143 additions & 481 deletions

README.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,24 @@ autocomplete this plugin have several code inspection features,
1414
* Go to definition of a symbol. Also context aware.
1515
* Automatically add use statement of current completed word. Also added plugin
1616
command of this action.
17-
* If (Unite) plugin installed following sources are available,
17+
* If [unite.vim](https://github.com/Shougo/unite.vim/) plugin installed following sources are available,
1818
* `phpcomplete/files` : Lists PHP files of the project.
1919
* `phpcomplete/vendors` : Lists vendor directories
2020
* `phpcomplete/extends` : Lists classes that extends the class guessed from
2121
the current cursor word.
2222
* `phpcomplete/implements` : Lists classes that implements the class guessed
2323
from the current cursor word.
2424

25+
Demo videos (click on the image to goto youtube)
26+
-----------------------------------------------
27+
## Autocomplete demo video:
28+
29+
[![ScreenShot](http://img.youtube.com/vi/yZYFKslqkC8/maxresdefault.jpg)](http://www.youtube.com/watch?v=yZYFKslqkC8)
30+
31+
## Unite sources demo video:
32+
33+
[![ScreenShot](http://i1.ytimg.com/vi/Wd5G7QA3OFw/maxresdefault.jpg)](http://www.youtube.com/watch?v=Wd5G7QA3OFw)
34+
2535
Installation
2636
-------------
2737

@@ -40,15 +50,15 @@ various plugin managers are given bellow.
4050
Issue following commands.
4151

4252
```sh
43-
git clone https://github.com/Shougo/vimproc.vim.git ~/.vim/bundle
53+
git clone https://github.com/Shougo/vimproc.vim.git ~/.vim/bundle/vimproc.vim
4454
cd ~/.vim/bundle/vimproc.vim
4555
make
4656
cd ..
47-
git clone https://github.com/Shougo/unite.vim.git ~/.vim/bundle
48-
git clone https://github.com/m2mdas/phpcomplete-extended.git ~/.vim/bundle
57+
git clone https://github.com/Shougo/unite.vim.git ~/.vim/bundle/unit.vim
58+
git clone https://github.com/m2mdas/phpcomplete-extended.git ~/.vim/bundle/phpcomplete-extended
4959
```
5060

51-
## NeoBundle (prefered)
61+
## NeoBundle (preferred)
5262
Put these lines in `.vimrc` and issue `source %` command
5363

5464
```vim
@@ -122,6 +132,13 @@ Neocomplete support is built-in and my preferred autocomplete plugin. It needs
122132
vim with lua bindings. To know more about installation refer to the plugin
123133
repository.
124134

135+
## [supertab](https://github.com/ervandew/supertab)
136+
137+
Minimal configuration for supertab support,
138+
139+
autocmd FileType php setlocal omnifunc=phpcomplete_extended#CompletePHP
140+
let g:SuperTabDefaultCompletionType = "<c-x><c-o>"
141+
125142
## [YouCompleteMe](https://github.com/Valloric/YouCompleteMe)
126143

127144
If `omnifunc` set the omni completer of `YouCompleteMe` should get the completion
@@ -138,7 +155,7 @@ and vim part is responsible for providing autocomplete menu entries based on the
138155
index. For reference see
139156
[phpcomplete-extended-symfony](https://github.com/m2mdas/phpcomplete-extended-symfony)
140157
and
141-
[phpcomplete-extended-laravlel](https://github.com/m2mdas/phpcomplete-extended-laravlel) plugins.
158+
[phpcomplete-extended-laravlel](https://github.com/m2mdas/phpcomplete-extended-laravel) plugins.
142159

143160
License
144161
-------

autoload/neocomplete/sources/php.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ function! s:source.gather_candidates(context) "{{{
5151
endfunction"}}}
5252

5353
function! s:get_complete_position(context) "{{{
54-
let b:neocomplete_sources = ['php', 'buffer']
5554
return phpcomplete_extended#CompletePHP(1, "")
5655
endfunction "}}}
5756

0 commit comments

Comments
 (0)