[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dart-mode 5d0a7cd 139/192: Use dart-sdk-path to find dartf
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dart-mode 5d0a7cd 139/192: Use dart-sdk-path to find dartfmt. |
Date: |
Sun, 29 Aug 2021 11:02:06 -0400 (EDT) |
branch: elpa/dart-mode
commit 5d0a7cd09305d2dc4584e72a008db3f099228000
Author: Mostafa Razavi <mostafa@sepent.com>
Commit: Brady Trainor <mail@bradyt.com>
Use dart-sdk-path to find dartfmt.
---
dart-mode.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/dart-mode.el b/dart-mode.el
index 8e26f8f..d47adfe 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -1725,10 +1725,11 @@ inside a `before-save-hook'."
This can be customized by setting `dart-formatter-command-override'."
(or dart-formatter-command-override
(when dart-sdk-path
- (file-name-as-directory "bin")
- (if (memq system-type '(ms-dos windows-nt))
- "dartfmt.exe"
- "dartfmt"))))
+ (concat dart-sdk-path
+ (file-name-as-directory "bin")
+ (if (memq system-type '(ms-dos windows-nt))
+ "dartfmt.exe"
+ "dartfmt")))))
(defvar dart--formatter-compilation-regexp
'("^line \\([0-9]+\\), column \\([0-9]+\\) of \\([^ \n]+\\):" 3 1 2)
- [nongnu] elpa/dart-mode 613b311 111/192: Stop using lexical let, (continued)
- [nongnu] elpa/dart-mode 613b311 111/192: Stop using lexical let, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 950d3a8 133/192: Add emacs versions 24.3 and snapshot, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode a4126bd 121/192: Allow s 1.10, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 52034c7 110/192: Add a dart--get helper to make it easier to use JSON, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode f3a7c7b 122/192: Properly tell flycheck when there are no errors, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 1153c53 134/192: Add ert-runner, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 2a95005 159/192: Fix typo in README, regarding M-/ fallback, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode c30eaa9 140/192: Specify path to the dart-sdk inside of flutter, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode d9a12e1 151/192: Fontifies function declarations, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode aa628c9 138/192: Remove deprecated analysis server option, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 5d0a7cd 139/192: Use dart-sdk-path to find dartfmt.,
ELPA Syncer <=
- [nongnu] elpa/dart-mode 1879cb8 145/192: Update README for providing diff to dart-format on Windows, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 21abd77 152/192: Fontifies declared identifiers, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode ac14859 147/192: Normalize paths for dartanalyzer on Windows, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 9d72469 169/192: Don't set variables globally, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 591b6fe 170/192: Improve handling of strings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode f20f895 164/192: Move docs from README to Wiki, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 36fe2ce 166/192: Fontify identifiers after multi-nested types, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 57767bb 157/192: Makes current indentation logic more usable, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 90f1120 162/192: Require subr-x for string-empty-p, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 8983e17 186/192: Code in font-lock tests were copied from dart.dev site, ELPA Syncer, 2021/08/29