emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/dart-mode 93efb54 089/192: Update the version and URL and


From: ELPA Syncer
Subject: [nongnu] elpa/dart-mode 93efb54 089/192: Update the version and URL and flesh out the README
Date: Sun, 29 Aug 2021 11:01:56 -0400 (EDT)

branch: elpa/dart-mode
commit 93efb54ab4539c327014b46e3ae6b2d0395230db
Author: Natalie Weizenbaum <nex342@gmail.com>
Commit: Natalie Weizenbaum <nex342@gmail.com>

    Update the version and URL and flesh out the README
---
 README.md    | 34 ++++++++++++++++++++++++----------
 dart-mode.el |  4 ++--
 2 files changed, 26 insertions(+), 12 deletions(-)

diff --git a/README.md b/README.md
index 4b90f0d..52ce774 100644
--- a/README.md
+++ b/README.md
@@ -1,21 +1,35 @@
-Dart Mode
-=========
-Dart Mode is a major mode for editing Dart files in Emacs.
+`dart-mode` is a major mode for editing Dart files in Emacs.
+
+* [Installation](#installation)
+* [Dart Analyzer](#dart-analyzer)
+  * [Error Checking](#error-checking)
 
 ## Installation
 
 1. Add [Marmalade](https://marmalade-repo.org/#download) to your
    `package-archives` if you don't already have it.
 
-1.  Install dart-mode via:
+2.  Install dart-mode via:
     ```
     M-x package-refresh-contents [RET]
     M-x package-install [RET] dart-mode
     ```
 
-1.  OPTIONAL: To enable on-the-fly syntax checking, add the
-    following to your `.emacs` file:
-    ```
-    (setq dart-enable-analysis-server t)
-    (add-hook 'dart-mode-hook 'flycheck-mode)
-    ```
+## Dart Analyzer
+
+`dart-mode` supports the Dart analysis server, which runs in the background and
+analyzes your Dart code to figure out what every identifier and method call
+refers to. It provides all sorts of useful features that aren't possible when
+your code is treated as plain text.
+
+To enable analyzer support, add `(setq dart-enable-analysis-server t)` to your
+`.emacs` file.
+
+### Error Checking
+
+The Dart analyzer can use [Flycheck][] to notify you of errors and warnings in
+your Dart code. To enable this, just add `(add-hook 'dart-mode-hook
+'flycheck-mode)` to your `.emacs` file. Don't worry about installing
+Flycheck—if you have `dart-mode`, you automatically have it as well!
+
+[Flycheck]: http://www.flycheck.org/en/latest/
diff --git a/dart-mode.el b/dart-mode.el
index c74304e..1c0e29c 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -1,8 +1,8 @@
 ;;; dart-mode.el --- Major mode for editing Dart files -*- lexical-binding: t; 
-*-
 
 ;; Author: Natalie Weizenbaum
-;; URL: http://code.google.com/p/dart-mode
-;; Version: 0.15
+;; URL: https://github.com/nex3/dart-mode
+;; Version: 1.0.0
 ;; Package-Requires: ((cl-lib "0.5") (dash "2.10.0") (flycheck "0.23"))
 ;; Keywords: language
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]