951 Commits

Author SHA1 Message Date
Artem Nezvigin
5b1a253e9b Fix new tabs overriding default syntax rules
Calling `syntax on` will override existing syntax rules with default
ones. This ends up adding a bunch of syntax rules that users have
disabled.

See `:help syntax` for this snippet:

    The ":syntax enable" command will keep your current color settings. This
    allows using ":highlight" commands to set your preferred colors before or
    after using this command.  If you want Vim to overrule your settings with
    the defaults, use: `:syntax on`

Calling `:syntax enable` doesn't appear to work either. It does the same thing
as `:syntax on`. So the solution implemented here is to conditionally set the
filetype and syntax rules when they aren't already set.
2013-03-02 11:14:57 -08:00
David Halter
8c482c72db Merge pull request #108 from runiq/vimdoc
Add vimdoc help file
2013-03-01 22:26:59 -08: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
David Halter
c1026023f2 Merge pull request #107 from runiq/silent-dot-mappings
Silence dot completion mappings
2013-03-01 07:35:44 -08:00
Patrice Peterson
15605d77d6 Silence dot completion mappings
I find the long line that pops up in the command-line whenever I press
`.` a bit distracting, and it would potentially overwrite other useful
information displayed in there. This change silences the dot completion
commands.
2013-03-01 13:06:00 +01:00
David Halter
a763f12b4e default encoding for VIM compiled with -multibyte, fixes #100 2013-02-24 08:57:36 +04:30
David Halter
d0b0413e7b Merge branch 'dev' of github.com:davidhalter/jedi-vim into dev 2013-02-24 08:50:02 +04:30
David Halter
7d1d5bd492 Merge pull request #101 from ricobl/tabnew-drop
Improved opening file in existing or new tab.
2013-02-23 11:37:55 -08:00
Enrico
7577ddc7a7 Removed has_gui variable. 2013-02-23 16:16:59 -03:00
Enrico
61f457b666 Used tab drop only when gui is available. 2013-02-23 15:57:09 -03:00
Enrico
f9ea25ec4e Improved opening file in existing or new tab. 2013-02-22 10:48:56 -03:00
David Halter
6a4d7c40ca Merge pull request #89 from ethinx/issue80
Fix #80 "Not an editor command: Python << PYTHONEOF"
2013-02-05 02:18:20 -08:00
York Wong
ed8dcf6f5d Fix #80 "Not an editor command: Python << PYTHONEOF" 2013-02-05 17:35:45 +08:00
David Halter
c2cbe4133e Merge branch 'dev' of github.com:davidhalter/jedi-vim into dev 2013-01-25 14:28:59 +01:00
David Halter
1d14abfff8 updated AUTHORS.txt, added @mattn, @ming13, @hattya, @flupke, @lilix, @strycore, @ganwell, @todesschaf, @Tinche 2013-01-25 14:28:48 +01:00
David Halter
fdcc192def Merge pull request #83 from andviro/master
fix for #81
2013-01-25 01:37:24 -08:00
Andrew Rodionoff
d5ba11971b removed unneeded ignores 2013-01-25 13:21:03 +04:00
Andrew Rodionoff
70f4c16ae3 fixed find related names 2013-01-25 12:04:17 +04:00
David Halter
bf7a5b82bb Merge remote-tracking branch 'origin/master' into dev 2013-01-22 06:56:40 +01:00
David Halter
f2354d3700 Merge pull request #79 from ganwell/master
Selecting the first completion menu line
2013-01-21 21:56:00 -08:00
Jean-Louis Fuchs
f234bf4376 Select first line of completion popup. Improves typing flow and saves one keypress. 2013-01-21 18:08:19 +01:00
Danilo Bargen
5a5c383aa6 Added note about installation on arch 2013-01-17 14:39:32 +01:00
David Halter
2b0e66b565 set the cursor to the right position, messed that up in the previous commit, #65 2013-01-14 16:15:06 +01:00
David Halter
69e4cead81 turn syntax highlighting on again if it's turned off by renaming (possible vim bug). 2013-01-14 15:37:59 +01:00
David Halter
ef1011d8c6 Merge pull request #71 from ming13/readme-syntax-highlighting
Use VimL syntax highlighting in the readme file
0.5.0
2013-01-11 06:28:25 -08:00
Artur Dryomov
a25c32ea24 Restore colons in the readme file. 2013-01-11 17:25:07 +03:00
Artur Dryomov
412f018bdb Use VimL syntax highlighting in the readme file. 2013-01-11 15:44:05 +03:00
David Halter
098cdb3eb8 Don't map <C-c> if a mapping already exists, fixes #69 2013-01-11 11:03:19 +01:00
David Halter
3c55a4bed6 Python alias works now 2013-01-07 00:28:37 +01:00
David Halter
7b60d00dbc also check for py3k in ftplugin 2013-01-07 00:00:16 +01:00
David Halter
30ea569cd8 python -> Python 2013-01-06 23:59:10 +01:00
David Halter
b63454ebd4 add a Python command that is able to execute python3 and python2 2013-01-06 23:55:24 +01:00
Danilo Bargen
c92233e42f Check for +python3 as well (refs #66) 2013-01-06 14:26:44 +01:00
Danilo Bargen
1f9572695e Revert "Check for +python3 as well (refs #66)"
This reverts commit 713721dd93.

Sorry about the accidental commit. Rebasing problem...
2013-01-06 14:26:18 +01:00
Danilo Bargen
713721dd93 Check for +python3 as well (refs #66) 2013-01-06 14:23:05 +01:00
David Halter
5670946a73 finish also ftplugin if +python is not available 2013-01-05 13:56:38 +01:00
David Halter
a09b3121d5 Merge branch 'dev' of github.com:davidhalter/jedi-vim into dev 2013-01-05 13:54:47 +01:00
David Halter
c3754ab670 Merge pull request #64 from lilix/master
Squelch the +python warning during initialization
2013-01-05 04:54:29 -08:00
David Halter
74d93b8c3d related_name changed sorting -> change renaming 2013-01-04 15:11:41 +01:00
David Halter
62d9b564f9 add spaces to additional get_definition quotes, fixes #63 2013-01-04 10:56:19 +01:00
Emily Strickland
3bbc8d4c57 Setting to let user silence +python error.
If the user kicks off a version of vim with the jedi-vim plugin without
having Python support compiled in, it gives an error which halts vim
from starting up until it is dismissed. This commit adds a way to opt
out of that warning for people who use the same configuration and
plugins on different machines and different versions of vim.
2013-01-03 21:32:23 -08:00
David Halter
bd01c84e9f change image links, because they were broken, fixes #61 2013-01-02 20:54:55 +01:00