documentation formatting: Sat Dec 22 11:04:49 UTC 2018
This commit is contained in:
parent
c375bc428f
commit
8b3a30f240
|
@ -326,7 +326,7 @@ A ~[ccls]~ or ~[cquery]~ suffix indicates that the binding is for the indicated
|
|||
|
||||
*** backend (language server)
|
||||
|
||||
| Key Binding | Description |
|
||||
| Key binding | Description |
|
||||
|-------------+------------------------------------------|
|
||||
| ~SPC m b f~ | refresh index (e.g. after branch change) |
|
||||
| ~SPC m b p~ | preprocess file |
|
||||
|
@ -346,7 +346,7 @@ A ~[ccls]~ or ~[cquery]~ suffix indicates that the binding is for the indicated
|
|||
|
||||
**** goto/hierarchy
|
||||
|
||||
| Key Binding | Description |
|
||||
| Key binding | Description |
|
||||
|---------------+-----------------------------|
|
||||
| ~SPC m g h b~ | base class(es) |
|
||||
| ~SPC m g h d~ | derived class(es) [ccls] |
|
||||
|
@ -357,9 +357,9 @@ A ~[ccls]~ or ~[cquery]~ suffix indicates that the binding is for the indicated
|
|||
|
||||
**** goto/member
|
||||
|
||||
| Key Binding | Description |
|
||||
|---------------+-----------------------------|
|
||||
| ~SPC m g m h~ | member hierarchy |
|
||||
| ~SPC m g m t~ | member types [ccls] |
|
||||
| ~SPC m g m f~ | member functions [ccls] |
|
||||
| ~SPC m g m v~ | member variables [ccls] |
|
||||
| Key binding | Description |
|
||||
|---------------+-------------------------|
|
||||
| ~SPC m g m h~ | member hierarchy |
|
||||
| ~SPC m g m t~ | member types [ccls] |
|
||||
| ~SPC m g m f~ | member functions [ccls] |
|
||||
| ~SPC m g m v~ | member variables [ccls] |
|
||||
|
|
|
@ -122,8 +122,8 @@ Additionally you can install the following other packages:
|
|||
pip install pyls-mypy
|
||||
#+END_SRC
|
||||
|
||||
If you've installed the language server and related packages as development
|
||||
dependencies in a pipenv environment, you'll want to set the ~python-pipenv-activate~
|
||||
If you’ve installed the language server and related packages as development
|
||||
dependencies in a pipenv environment, you’ll want to set the ~python-pipenv-activate~
|
||||
config variable to ~t~. This activates your pipenv before enabling the
|
||||
lsp backend.
|
||||
|
||||
|
@ -351,7 +351,7 @@ Live coding is provided by the [[https://github.com/donkirkby/live-py-plugin][li
|
|||
|
||||
| Key binding | Description |
|
||||
|-------------+---------------------|
|
||||
| ~SPC m l~ | Toggle live-py-mode |
|
||||
| ~SPC m l~ | Toggle live-py-mode |
|
||||
|
||||
** Other Python commands
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ details.
|
|||
- Signature help with eldoc
|
||||
- Symbol documentation in a child frame (=lsp-ui-doc=)
|
||||
- Navigation using imenu
|
||||
- Consistent core keybindings in LSP modes
|
||||
- Consistent core key bindings in LSP modes
|
||||
|
||||
* Configuration
|
||||
The LSP ecosystem is based on two packages: [[https://github.com/emacs-lsp/lsp-mode][lsp-mode]] and [[https://github.com/emacs-lsp/lsp-ui][lsp-ui]].
|
||||
|
@ -65,7 +65,7 @@ and the =lsp-ui-peek= variants under ~SPC m G~. Setting ~lsp-navigation~ to eith
|
|||
the bindings under ~SPC m G~ and creates bindings under ~SPC m g~ according to the specified preference.
|
||||
|
||||
* Key bindings
|
||||
A number of lsp features useful for all/most modes have been bound to the lsp minor mode, meaning they'll be
|
||||
A number of lsp features useful for all/most modes have been bound to the lsp minor mode, meaning they’ll be
|
||||
available in all language layers based on the lsp layer.
|
||||
|
||||
** Key binding prefixes
|
||||
|
@ -81,7 +81,7 @@ The key bindings are grouped under the following prefixes:
|
|||
| ~SPC m r~ | refactor | What it says on the tin |
|
||||
| ~SPC m T~ | toggle | Toggle LSP backend features (documentation / symbol info overlays etc.) |
|
||||
|
||||
Some navigation keybindings (i.e. ~SPC m g~ / ~SPC m G~) use an additional level of grouping:
|
||||
Some navigation key bindings (i.e. ~SPC m g~ / ~SPC m G~) use an additional level of grouping:
|
||||
|
||||
| prefix | name | functional area |
|
||||
|-----------------+------------------+----------------------------------------------------------|
|
||||
|
|
Loading…
Reference in New Issue