Update flyspell mode settings
This commit is contained in:
parent
719693bc5b
commit
0a3d9ef245
4 changed files with 51 additions and 31 deletions
|
|
@ -10,6 +10,22 @@
|
|||
:straight t
|
||||
:requires (lsp-mode lsp-ui))
|
||||
|
||||
(defhydra my-erlang/context-hydra (:color teal :hint nil)
|
||||
"
|
||||
^
|
||||
^ LSP ^^Buffer
|
||||
^────────────────────────────────────────────────────────────────────────────────
|
||||
^ _m_: iMenu _r_: Reload
|
||||
^^^ _i_: Indent
|
||||
^^^ _e_: Show Errors
|
||||
^
|
||||
"
|
||||
("q" nil "cancel" :color blue)
|
||||
("r" revert-buffer-no-confirm)
|
||||
("i" mark-and-indent-whole-buffer)
|
||||
("e" flycheck-list-errors)
|
||||
("m" lsp-ui-imenu))
|
||||
|
||||
(cl-defun erlang/emacs-path (erlang-version)
|
||||
(car (split-string
|
||||
(shell-command-to-string
|
||||
|
|
@ -104,6 +120,8 @@
|
|||
(add-to-list (make-local-variable 'company-backends)
|
||||
'(company-capf company-yasnippet))
|
||||
|
||||
(define-key erlang-mode-map (kbd "C-c l") 'my-erlang/context-hydra/body)
|
||||
|
||||
;; Start LSP server
|
||||
(lsp))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue