add flutter
This commit is contained in:
parent
3095fe05b2
commit
0153287b81
@ -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
|
||||
|
@ -80,8 +80,8 @@
|
||||
;;vterm ; the best terminal emulation in Emacs
|
||||
|
||||
:checkers
|
||||
syntax ; tasing you for every semicolon you forget
|
||||
(spell +flyspell +aspell +everywhere) ; tasing you for misspelling mispelling
|
||||
(syntax +childframe) ; tasing you for every semicolon you forget
|
||||
(spell +flyspell +hunspell +everywhere) ; tasing you for misspelling mispelling
|
||||
grammar ; tasing grammar mistake every you make
|
||||
|
||||
:tools
|
||||
@ -94,7 +94,7 @@
|
||||
;;ein ; tame Jupyter notebooks with emacs
|
||||
(eval +overlay) ; run code, run (also, repls)
|
||||
;;gist ; interacting with github gists
|
||||
(lookup +docsets) ; navigate your code and its documentation
|
||||
(lookup +docsets +dictionary) ; navigate your code and its documentation
|
||||
lsp ; M-x vscode
|
||||
magit ; a git porcelain for Emacs
|
||||
make ; run make tasks from Emacs
|
||||
@ -122,7 +122,7 @@
|
||||
;;crystal ; ruby at the speed of c
|
||||
;;csharp ; unity, .NET, and mono shenanigans
|
||||
;;data ; config/data formats
|
||||
;;(dart +flutter) ; paint ui and not much else
|
||||
(dart +flutter +lsp) ; paint ui and not much else
|
||||
;;dhall
|
||||
;;elixir ; erlang done right
|
||||
;;elm ; care for a cup of TEA?
|
||||
|
@ -3,6 +3,9 @@
|
||||
export GOPATH="/home/julian/go";
|
||||
|
||||
export PATH=$GOPATH/bin:$PATH
|
||||
|
||||
export PATH=/opt/dart-sdk/bin:$PATH
|
||||
export PATH=/home/julian/dev/flutter/bin:$PATH
|
||||
export PATH=/home/julian/.emacs.d/bin:$PATH
|
||||
export PATH=/home/julian/.cargo/bin:$PATH
|
||||
export PATH=/home/julian/perl5/bin:$PATH
|
||||
|
Loading…
x
Reference in New Issue
Block a user