Add documentation

This commit is contained in:
Gerry Agbobada 2019-10-15 10:00:56 +02:00
parent cfc5a0801c
commit 02e96926fd

View file

@ -25,6 +25,7 @@ Adds Python support to Doom Emacs.
+ ~+lsp~ Language Server Protocol support + ~+lsp~ Language Server Protocol support
+ ~+pyenv~ Python virtual environment support via [[https://github.com/pyenv/pyenv][pyenv]] + ~+pyenv~ Python virtual environment support via [[https://github.com/pyenv/pyenv][pyenv]]
+ ~+conda~ Python virtual environment support via [[https://conda.io/en/latest/][Conda]] + ~+conda~ Python virtual environment support via [[https://conda.io/en/latest/][Conda]]
+ ~+cython~ Cython files support via [[https://github.com/cython/cython/blob/master/Tools/cython-mode.el][Cython-mode]]
** Plugins ** Plugins
+ [[https://github.com/pythonic-emacs/anaconda-mode][anaconda-mode]]* + [[https://github.com/pythonic-emacs/anaconda-mode][anaconda-mode]]*
@ -43,6 +44,9 @@ Adds Python support to Doom Emacs.
+ ~+lsp~ and ~:tools lsp~ + ~+lsp~ and ~:tools lsp~
+ [[https://github.com/emacs-lsp/lsp-mode][lsp]] + [[https://github.com/emacs-lsp/lsp-mode][lsp]]
+ [[https://github.com/emacs-lsp/lsp-python-ms][lsp-python-ms]]* + [[https://github.com/emacs-lsp/lsp-python-ms][lsp-python-ms]]*
+ ~+cython~
+ [[https://github.com/cython/cython/blob/master/Tools/cython-mode.el][Cython-mode]]
+ ~:tools flycheck~ [[https://github.com/lbolla/emacs-flycheck-cython/tree/master][Flycheck-cython]]
* Prerequisites * Prerequisites
This module has no direct prerequisites. Here are some of its soft dependencies. This module has no direct prerequisites. Here are some of its soft dependencies.
@ -63,6 +67,8 @@ This module has no direct prerequisites. Here are some of its soft dependencies.
+ ~pipenv~ requires [[https://pipenv.readthedocs.io/en/latest/][pipenv]] + ~pipenv~ requires [[https://pipenv.readthedocs.io/en/latest/][pipenv]]
+ ~cython~ requires [[https://cython.org/][Cython]]
** Language Server Protocol Support ** Language Server Protocol Support
Requires the ~+lsp~ flag and ~:tools lsp~ module to be enabled. Requires the ~+lsp~ flag and ~:tools lsp~ module to be enabled.
By default LSP will use Microsoft's language server if installed. By default LSP will use Microsoft's language server if installed.
@ -86,6 +92,7 @@ To enable support for auto-formatting with black enable ~:editor format-all~ in
| Binding | Description | | Binding | Description |
|---------------------+----------------------------------| |---------------------+----------------------------------|
| ~<localleader> c c~ | ~Compile Cython buffer~ |
| ~<localleader> i i~ | ~Insert mising imports~ | | ~<localleader> i i~ | ~Insert mising imports~ |
| ~<localleader> i r~ | ~Remove unused imports~ | | ~<localleader> i r~ | ~Remove unused imports~ |
| ~<localleader> i s~ | ~Sort imports~ | | ~<localleader> i s~ | ~Sort imports~ |