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

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

[nongnu] elpa/nix-mode 21ed086cca 008/500: Fix flycheck complaints.


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 21ed086cca 008/500: Fix flycheck complaints.
Date: Sat, 29 Jan 2022 08:26:24 -0500 (EST)

branch: elpa/nix-mode
commit 21ed086ccaf43d2e8bfe2628b868aa5d897aa0e1
Author: Matthew Justin Bauer <mjbauer95@gmail.com>
Commit: GitHub <noreply@github.com>

    Fix flycheck complaints.
---
 nix-mode.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/nix-mode.el b/nix-mode.el
index 2777e15eab..a764df8db9 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -22,6 +22,7 @@
     `(set (make-local-variable ',var) ,val)))
 
 (defun nix-syntax-match-antiquote (limit)
+  "Find antiquote within a Nix expression up to LIMIT."
   (let ((pos (next-single-char-property-change (point) 'nix-syntax-antiquote
                                                nil limit)))
     (when (and pos (> pos (point)))
@@ -67,7 +68,7 @@
   "Syntax table for Nix mode.")
 
 (defun nix-syntax-propertize-escaped-antiquote ()
-  "Set syntax properies for escaped antiquote marks."
+  "Set syntax properies for an escaped antiquote mark."
   nil)
 
 (defun nix-syntax-propertize-multiline-string ()
@@ -88,7 +89,7 @@
                           'syntax-table (string-to-syntax "|"))))))
 
 (defun nix-syntax-propertize-antiquote ()
-  "Set syntax properties for antiquote marks."
+  "Set syntax properties for an antiquote mark."
   (let* ((start (match-beginning 0)))
     (put-text-property start (1+ start)
                        'syntax-table (string-to-syntax "|"))
@@ -111,7 +112,7 @@ If a close brace `}' ends an antiquote, the next character 
begins a string."
                              'nix-syntax-antiquote t))))))
 
 (defun nix-syntax-propertize (start end)
-  "Special syntax properties for Nix."
+  "Special syntax properties for Nix from START to END."
   ;; search for multi-line string delimiters
   (goto-char start)
   (remove-text-properties start end '(syntax-table nil nix-syntax-antiquote 
nil))



reply via email to

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