Commit Graph

185 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
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
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
David Halter
b1cdfb33f5 Merge pull request #62 from Tinche/master
Small documentation fix
2013-01-02 08:12:15 -08:00
Tin Tvrtković
6fe06444be Small documentation fix. 2013-01-02 01:15:56 +01:00
David Halter
89f21b9196 use PythonToVimStr in more places, fixes #60 2012-12-31 14:24:01 +01:00
David Halter
cde62de599 Merge pull request #58 from flupke/dev
fixed jedi#new_buffer() when g:jedi#use_tabs_not_buffers = 0
2012-12-26 15:10:06 -08:00
Luper Rouch
68bca9a773 fixed jedi#new_buffer() when g:jedi#use_tabs_not_buffers = 0 2012-12-27 00:00:11 +01:00
David Halter
d576d7d151 use vim.command instead of vim.execute (which doesn't even exist), thanks to @enoodle for the hint 2012-12-25 23:58:59 +01:00
David Halter
4336cbb742 by default <C-c> imaps to escape, should fix #55 2012-12-24 00:44:09 +01:00
David Halter
ff10a0a6e4 escape file paths if opening new buffers/tabs, fixes #54 2012-12-21 13:03:55 +01:00
David Halter
6a70c84cc0 new_buffer instead of tabnew 2012-12-21 09:52:26 +01:00
David Halter
394aeffa61 update jedi version 2012-12-19 23:14:57 +01:00
David Halter
09721ecedf problems with encodings should be fixed more or less. At least I understand encodings now. :-) #48 2012-12-19 20:46:42 +01:00
David Halter
9fbec4faf2 changed something that I absolutely don't get again. #48 2012-12-19 01:32:15 +01:00
David Halter
824925debe remove unnecessary echo 2012-12-18 17:25:00 +01:00
David Halter
730c98ff67 add autocompletion_command default -> fixes #51 2012-12-18 17:14:58 +01:00
David Halter
704c1c2553 added auto configuration of VIM setting -> fixes #52 2012-12-18 16:46:28 +01:00
David Halter
64e2b1d806 added lgpl license -> #50 2012-12-18 16:33:37 +01:00