Set pretty symbols for Dart-mode
This commit is contained in:
parent
9edd4f26f3
commit
d7abd0cf82
1 changed files with 20 additions and 1 deletions
|
@ -6,7 +6,26 @@
|
|||
:config
|
||||
(when (and (featurep! +flutter) IS-LINUX)
|
||||
(when-let (path (doom-glob "/opt/flutter/bin/cache/dart-sdk"))
|
||||
(setq flutter-sdk-path path))))
|
||||
(setq flutter-sdk-path path)))
|
||||
(set-pretty-symbols! '(dart-mode)
|
||||
;; Functional
|
||||
:def "Function"
|
||||
:lambda "() =>"
|
||||
;; Types
|
||||
:null "null"
|
||||
:true "true" :false "false"
|
||||
:int "int" :float "double"
|
||||
:str "String"
|
||||
:bool "bool"
|
||||
:list "List"
|
||||
;; Flow
|
||||
:not "!"
|
||||
:in "in"
|
||||
:and "&&" :or "||"
|
||||
:for "for"
|
||||
:return "return"
|
||||
;; Other
|
||||
:yield "yield"))
|
||||
|
||||
|
||||
(use-package! flutter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue