add keybindings for goto definition functionality

This commit is contained in:
Christoph Hegemann 2016-07-21 12:13:34 +02:00
parent 9773ad611f
commit 985a07b71c
2 changed files with 3 additions and 1 deletions

View File

@ -60,6 +60,7 @@ meant as an alternative to using flycheck. Default value is nil.
| ~SPC m m s~ | Start psc-ide-server |
| ~SPC m m l~ | Load definitions for the modules inside your project |
| ~SPC m h t~ | Show type at point |
| ~SPC m g g~ | Goto definition for identifier at point |
| ~SPC m m b~ | Rebuilds the current file and displays any warnings or errors |
| ~SPC m m i a~ | Add an import for the identifier at the current cursor position |
| ~SPC m m i s~ | Inserts a suggestion for the warning/error at the current cursor position |

View File

@ -72,7 +72,8 @@
"mL" 'psc-ide-load-module
"mia" 'psc-ide-add-import
"mis" 'psc-ide-flycheck-insert-suggestion
"ht" 'psc-ide-show-type))))
"ht" 'psc-ide-show-type
"gg" 'psc-ide-goto-definition))))
(defun purescript/pre-init-popwin ()
(spacemacs|use-package-add-hook popwin