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 next error" :nv "g n" #'flycheck-next-error)
|
||||||
(map! :desc "Flycheck previous error" :nv "g N" #'flycheck-previous-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 "w 1" #'delete-other-windows)
|
||||||
|
|
||||||
(map! :leader "r" #'quickrun)
|
(map! :leader "r" #'quickrun)
|
||||||
@ -169,8 +169,13 @@ headline, up to the next headline."
|
|||||||
** Spell Checking
|
** Spell Checking
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+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)
|
;; 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
|
;; 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
|
(remove-hook! '(org-mode-hook
|
||||||
markdown-mode-hook
|
markdown-mode-hook
|
||||||
@ -186,7 +191,7 @@ headline, up to the next headline."
|
|||||||
prog-mode-hook)
|
prog-mode-hook)
|
||||||
#'flyspell-prog-mode)
|
#'flyspell-prog-mode)
|
||||||
|
|
||||||
(setq ispell-dictionary "english")
|
;; (setq ispell-dictionary "english")
|
||||||
(setq ispell-personal-dictionary "~/ispell-personal-dictionary")
|
(setq ispell-personal-dictionary "~/ispell-personal-dictionary")
|
||||||
|
|
||||||
(map! :map doom-leader-toggle-map :desc "Toggle dictionary" "d" #'fd-switch-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
|
** Flutter
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+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
|
#+end_src
|
||||||
** Evil snipe
|
** Evil snipe
|
||||||
#+begin_src emacs-lisp :tangle yes
|
#+begin_src emacs-lisp :tangle yes
|
||||||
|
@ -80,8 +80,8 @@
|
|||||||
;;vterm ; the best terminal emulation in Emacs
|
;;vterm ; the best terminal emulation in Emacs
|
||||||
|
|
||||||
:checkers
|
:checkers
|
||||||
syntax ; tasing you for every semicolon you forget
|
(syntax +childframe) ; tasing you for every semicolon you forget
|
||||||
(spell +flyspell +aspell +everywhere) ; tasing you for misspelling mispelling
|
(spell +flyspell +hunspell +everywhere) ; tasing you for misspelling mispelling
|
||||||
grammar ; tasing grammar mistake every you make
|
grammar ; tasing grammar mistake every you make
|
||||||
|
|
||||||
:tools
|
:tools
|
||||||
@ -94,7 +94,7 @@
|
|||||||
;;ein ; tame Jupyter notebooks with emacs
|
;;ein ; tame Jupyter notebooks with emacs
|
||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
;;gist ; interacting with github gists
|
;;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
|
lsp ; M-x vscode
|
||||||
magit ; a git porcelain for Emacs
|
magit ; a git porcelain for Emacs
|
||||||
make ; run make tasks from Emacs
|
make ; run make tasks from Emacs
|
||||||
@ -122,7 +122,7 @@
|
|||||||
;;crystal ; ruby at the speed of c
|
;;crystal ; ruby at the speed of c
|
||||||
;;csharp ; unity, .NET, and mono shenanigans
|
;;csharp ; unity, .NET, and mono shenanigans
|
||||||
;;data ; config/data formats
|
;;data ; config/data formats
|
||||||
;;(dart +flutter) ; paint ui and not much else
|
(dart +flutter +lsp) ; paint ui and not much else
|
||||||
;;dhall
|
;;dhall
|
||||||
;;elixir ; erlang done right
|
;;elixir ; erlang done right
|
||||||
;;elm ; care for a cup of TEA?
|
;;elm ; care for a cup of TEA?
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
export GOPATH="/home/julian/go";
|
export GOPATH="/home/julian/go";
|
||||||
|
|
||||||
export PATH=$GOPATH/bin:$PATH
|
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/.emacs.d/bin:$PATH
|
||||||
export PATH=/home/julian/.cargo/bin:$PATH
|
export PATH=/home/julian/.cargo/bin:$PATH
|
||||||
export PATH=/home/julian/perl5/bin:$PATH
|
export PATH=/home/julian/perl5/bin:$PATH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user