Commit Graph

49 Commits

Author SHA1 Message Date
Daniel Hahler
dd33e38631 Add auto-goto command/function
This adds g:jedi#goto_command, and uses `<Leader>d` by default for it -
the old default for `g:jedi#goto_definitions_command`, which is now
empty.

It will try `script.goto_definitions()` first, and falls back to
`script.goto_assignments()` for builtins.

Closes https://github.com/davidhalter/jedi-vim/pull/407
2015-05-10 18:07:42 +02:00
petobens
4095d0efef Add variable to control the height of the buffer showing documentation 2015-05-02 10:34:43 +02:00
Daniel Hahler
83d398bc5d auto-config: set completeopt only if it's the default
The setting is also moved from "ftplugin" to "plugin", which allows for
easier customization, e.g. via a FileType plugin.

Ref: https://github.com/davidhalter/jedi-vim/issues/374#issuecomment-97621368
2015-04-30 02:37:36 +02:00
Daniel Hahler
8f7f07fb58 Support for force_py_version = "auto"
This will call `python` to look up its major version number.
2015-04-29 23:11:43 +02:00
Martin Stone
c22e2bcdf5 Add linux packages to docs. 2015-04-02 15:33:27 +01:00
petobens
733ba775b0 Improve 'winwidth' split option documentation 2015-02-17 16:04:14 -03:00
petobens
b71ef1176c Add 'winwidth' split option 2015-02-15 19:11:38 -03:00
Dave Halter
18b9f08336 Merge pull request #346 from wilywampa/callsigs_showmode
Document 'showmode' requirement for command line call signatures
2015-01-06 10:22:47 +01:00
Jacob Niehus
74d51815a5 Document 'showmode' requirement for command line call signatures 2015-01-04 20:47:34 -07:00
Mathieu Louis
2bccea9b5d Fix completion function name 2015-01-02 12:15:06 +01:00
Dave Halter
48c9420136 Merge pull request #315 from wilywampa/master
Add option to show call signatures in command line
2014-12-19 14:14:59 +01:00
Jochen Van de Velde
409da304b4 Correct doc for g:jedi#auto_close_doc (fixes #331) 2014-12-18 22:25:16 +01:00
Jacob Niehus
cfd71a6b54 Add option to show call signatures in command line 2014-12-06 14:47:45 -07:00
Dave Halter
0ce1af78b2 Merge pull request #336 from davidhalter/dev
Merge the dangling dev branch stuff back into master
2014-12-06 16:10:47 +01:00
Beau
8fded9837e Use newer Vundle syntax
Vundle has deprecated the `Bundle` syntax, replacing it with `Plugin`.

I've also added the abbreviated GitHub syntax (simply `username/repo`,
no need to pass the full git URL).
2014-11-18 12:12:38 +00:00
MadAnd
a6f711fbbc Fix typo 2014-09-06 15:53:22 +03:00
Matthew Tylee Atkinson
43eaec0aee Documentation about the need for +conceal
* Make README link to the text file point to the file (not the repo)
* Replace the one 'Jedi-Vim' with 'jedi-vim' in README
* Minor grammar tweak to VIM >= 7.3 requirement in the docs
* Explain the need for `+conceal` in the docs
* Update last-changed date on first line of the docs
* Hint at the need for `+conceal` in the README
2014-07-29 23:16:50 +01:00
Markus Koller
ee46c28669 Fix typo in jedi-vim.txt (closes #242) 2014-01-09 11:18:25 +01:00
David Halter
90f0bff2de merge documentation change of #231 of @tndoan and resolve authors conflict 2013-12-23 20:49:51 +01:00
David Halter
d43768c7b5 merge master to dev 2013-12-23 20:47:20 +01:00
Chris Lasher
1388f46137 Fixes goto_definitions_command documentation. 2013-12-22 21:09:41 -08:00
Asa Jay
b1205ce779 Load only default/forced py_version, changed names and variable type
1. Changed pycmd: renamed to py_version, changed type, resulting in
...#force_py_version = <int> (2 or 3)
2. Changed structure of initialization, changes broke functionality
(<sfile> behaviour changes inside a function)
3. Cleaned up.
2013-12-15 17:01:28 +01:00
Asa Jay
3ad63c9458 Implemented: force python 2 or 3 with ability to switch during runtime
Simultaneous python2 and python3 support, switchable during runtime
calling a function as well as setting a variable in .vimrc! Closes
issues #200 and #210 (which gave the idea for this commit, thank you
@Shtucer).
2013-12-13 20:51:24 +01:00
tndoan
c1ff868cb4 add the recommendation of version for Vim to enjoy the full feature of Jedi-Vim 2013-12-12 19:57:48 +08:00
nagev
e324a34c69 Update jedi-vim.txt
correction in help text for jedi#goto_definitions_command
2013-12-11 15:43:18 +00:00
justinmk
bd68a98848 fix doc tag reference 2013-12-05 19:08:57 -05:00
David Halter
eceba1e675 resolve merge conflict in authors 2013-09-28 19:48:20 +04:30
David Halter
4508fc22f8 switch to the MIT license - fixes #184 2013-09-28 19:47:37 +04:30
LittleQ
27d35b4fc0 fixed wrong title in doc 2013-09-15 00:54:10 +08:00
LittleQ
ec405fa3b2 fixed type and set default value to 1 to avoid testing error 2013-09-15 00:20:20 +08:00
LittleQ
1c24594c70 added split support for goto action 2013-09-14 23:33:40 +08:00
David Halter
32a1593d10 completions_enable documenation 2013-08-24 21:27:06 +04:30
David Halter
9d2259a63d make it possible to disable commands 2013-08-24 21:08:03 +04:30
David Halter
11681e2aa7 typo 2013-08-24 20:51:01 +04:30
David Halter
6fa00cd548 Pyimport in now mentioned in documentation. 2013-08-24 20:50:04 +04:30
David Halter
6e360a4f15 mention contributing in docs 2013-08-24 20:13:26 +04:30
David Halter
1e08c815e5 mention testing in docs 2013-08-24 20:11:12 +04:30
David Halter
0fe47ce214 reformat docs that I messed up 2013-08-24 15:55:37 +04:30
David Halter
99b53f200f update jedi-vim doc with new functions 2013-08-20 16:16:29 +04:30
rogererens
bf62eebca4 Update jedi-vim.txt
fix github URLs for submodule commands
2013-06-25 02:54:59 +03:00
Patrice Peterson
354f8da568 Minor capitalization and awkward wording fixes
- Replace all occurences of Jedi-Vim/Jedi with jedi-vim/jedi
- Capitalize first letter on bullet points
- oh god how do i english
- Fix wrong description of g:jedi#auto_close_doc option
2013-03-02 05:17:09 +01:00
Patrice Peterson
31611335b4 Out of beta, yay 2013-03-02 04:58:47 +01:00
Patrice Peterson
a8726171bf Add license section 2013-03-01 21:11:50 +01:00
Patrice Peterson
4c0652064a Added blurb about configuration in .vimrc
I don't know if this should even be in there because it seems kind of
like a bug.
2013-03-01 20:57:04 +01:00
Patrice Peterson
0d27821064 Add usage section and goto/find_def explanation
The usage section feels sort of superfluous. I don't know. >:(

The distinction between jedi#goto() and jedi#fund_definition() was a bit
unclear, so I expanded it a bit.
2013-03-01 20:57:04 +01:00
Patrice Peterson
93e49bb888 Add install, intro, and features sections 2013-03-01 20:57:04 +01:00
Patrice Peterson
84a982ee26 Document keybindings and options
All keybindings and options have at least a short description added to
them.

With this commit the general structure of a Vim help file is in place.
2013-03-01 20:57:04 +01:00
Patrice Peterson
4bc8a44453 Cosmetic and formatting fixes
- Remove images in introduction
- Replace all occurences of VIM with Vim
- Use Vim code blocks
- Surround all keybindings with <>
2013-03-01 20:57:04 +01:00
Patrice Peterson
e6ef96412e Add vimdoc documentation
For now, this is just the README.rst file with appropriate sections. The
content of the file itself is completely unchanged.

Section name suggestions are taken from Steve Losh's Learn Vimscript the
Hard Way [1]. Formatting suggestions are taken from Vim's own
documentation on writing help files (:help help-writing).

The spiffy header was created using the figlet program [2] and the
starwars.flf font found in the figlet fonts database [3].

[1] http://learnvimscriptthehardway.stevelosh.com/chapters/54.html
[2] http://www.figlet.org
[3] http://www.figlet.org/fonts/starwars.flf
2013-03-01 20:57:04 +01:00