Commit Graph

13 Commits

Author SHA1 Message Date
Daniel Hahler 570013eaad Fix _retrieve_cache check 2016-10-07 13:59:51 +02:00
Daniel Hahler 0356cd93a5 Update Django completion; uses Django's completion API 2016-04-06 19:22:54 +02:00
Daniel Hahler c66a76d3f8 django-manage: merge changes from oh-my-zsh
Ref: https://github.com/robbyrussell/oh-my-zsh/blob/0dde9943/plugins/django/django.plugin.zsh
2016-03-06 20:16:54 +01:00
Daniel Hahler c1795e708b django-manage: use django.conf.settings in _applist 2016-03-06 20:16:54 +01:00
Daniel Hahler 67ed18ce4a django-manage: add alternative names without .py 2016-03-06 20:16:53 +01:00
Daniel Hahler 4e5cf99933 django-manage: cleanup: doc, whitespace 2016-03-06 20:16:53 +01:00
Daniel Hahler 810b70ca2e django-manage: use $words[1] as command with _managepy_cmds 2016-03-06 20:16:53 +01:00
Mikkel Oscar Lyderik 73b1140d41 Add new commands available in latest django version 2015-10-01 22:55:45 +02:00
hhatto 6ea9474bae improve manage.py completion #188 2013-11-23 21:24:41 +09:00
hhatto 3c3e6a653b improved startproject sub-command for manage.py #189 2013-11-23 05:50:49 +09:00
Aron Janarv 49d925054a _manage.py support for startproject
Description from https://docs.djangoproject.com/en/dev/ref/django-admin/
2013-11-22 20:44:23 +01:00
Aaron Schrab 3f55429b0e Move modelines to end of file
Having a vim modeline or emacs local variable line somewhere in the
middle of the file isn't really helpful.  By default, vim will only
check the first and last 5 lines of a file for a modeline (assuming the
modeline option is enabled).  Emacs is even more strict about the type
of local variable line that was in use, it will only check the first
line of the file or the second line if the first line specifies a script
interpreter (which isn't the case here).

Move the vim modeline to the end of the file so that it can actually be
found by vim but is out of the way for editing.  For emacs more work is
required, convert that to the more verbose Local Variables syntax which
emacs will look for starting 3000 characters from the end of the file.

Also there is no zsh mode for emacs (according to
zsh-users/zsh-completions#75), use the "Shell-Script" mode instead.
This seems to automatically detect that the files are for zsh.

I'm not an emacs user, so I haven't tested that portion much.  But, this
does at least improve the syntax highlighting there.
2012-08-23 11:18:49 -04:00
Julien Nicoulaud 10ffeb0c15 [BREAKING CHANGE] Move compdefs to own directory (to ease packaging and
avoid bloating users fpath with unneeded files such as README.md)
2012-08-01 13:23:11 +02:00