Update flyspell mode settings

This commit is contained in:
Maciej 2022-02-09 17:01:55 +02:00
parent 719693bc5b
commit 0a3d9ef245
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
4 changed files with 51 additions and 31 deletions

View file

@ -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))