add flutter
This commit is contained in:
@ -68,7 +68,7 @@
|
||||
(map! :desc "Flycheck next error" :nv "g n" #'flycheck-next-error)
|
||||
(map! :desc "Flycheck previous error" :nv "g N" #'flycheck-previous-error)
|
||||
|
||||
(map! :desc "Format and save" :nvi "C-s" #'fd-format-and-save)
|
||||
(map! :desc "Format and save" :g "C-s" #'fd-format-and-save)
|
||||
(map! :leader "w 1" #'delete-other-windows)
|
||||
|
||||
(map! :leader "r" #'quickrun)
|
||||
@ -169,8 +169,13 @@ headline, up to the next headline."
|
||||
** Spell Checking
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
|
||||
;; Spell checking settings
|
||||
(use-package! langtool
|
||||
:init
|
||||
(setq langtool-language-tool-jar "/home/julian/git/languagetool/languagetool-standalone/target/LanguageTool-6.1-SNAPSHOT/LanguageTool-6.1-SNAPSHOT/languagetool-commandline.jar"))
|
||||
|
||||
|
||||
;; TODO make toggling of spell checking ('SPC t s') use flyspell-mode in text modesm and flyspell-prog-mode in programming modes (see hooks below)
|
||||
|
||||
;; Removing hooks for automatic spell checking set here: https://github.com/hlissner/doom-emacs/blob/develop/modules/checkers/spell/config.el
|
||||
(remove-hook! '(org-mode-hook
|
||||
markdown-mode-hook
|
||||
@ -186,7 +191,7 @@ headline, up to the next headline."
|
||||
prog-mode-hook)
|
||||
#'flyspell-prog-mode)
|
||||
|
||||
(setq ispell-dictionary "english")
|
||||
;; (setq ispell-dictionary "english")
|
||||
(setq ispell-personal-dictionary "~/ispell-personal-dictionary")
|
||||
|
||||
(map! :map doom-leader-toggle-map :desc "Toggle dictionary" "d" #'fd-switch-dictionary)
|
||||
@ -226,7 +231,8 @@ Return nil if on a link url, markup, html, or references."
|
||||
** Flutter
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
|
||||
(setq lsp-dart-flutter-sdk-dir "/home/julian/snap/flutter/common/flutter")
|
||||
;; (setq lsp-dart-flutter-sdk-dir "/home/julian/snap/flutter/common/flutter")
|
||||
(map! :mode dart-mode :leader "r" #'flutter-run-or-hot-reload)
|
||||
#+end_src
|
||||
** Evil snipe
|
||||
#+begin_src emacs-lisp :tangle yes
|
||||
|
Reference in New Issue
Block a user