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

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

[nongnu] elpa/nix-mode 3022b9ef74 409/500: Skip descriptions in nix comp


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 3022b9ef74 409/500: Skip descriptions in nix completions
Date: Sat, 29 Jan 2022 08:27:50 -0500 (EST)

branch: elpa/nix-mode
commit 3022b9ef7490826d5e8bd775a75146a28381c9e7
Author: Matthew Bauer <mjbauer95@gmail.com>
Commit: Matthew Bauer <mjbauer95@gmail.com>

    Skip descriptions in nix completions
    
    These were added in
    
https://github.com/NixOS/nix/commit/04e5d0e7040fdfbbc084634c0694ae7da89765d9#diff-146b108989f29df822f73778ab286e13c9c65765619a5f4044ebed5e87349ec2.
    We don’t have a good way to show them in Emacs completions.
---
 nix.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nix.el b/nix.el
index e1bab907dd..0507ae7e7d 100644
--- a/nix.el
+++ b/nix.el
@@ -204,7 +204,7 @@ OPTIONS a list of options to accept."
               completions)
           (dolist (val (cdr lines))
             (unless (string= val "")
-              (setq completions (cons val completions))))
+              (setq completions (cons (car (split-string val "\t")) 
completions))))
           (dolist (val (cddr pcomplete-args))
             (pcomplete-here))
           (pcomplete-here completions nil t)))



reply via email to

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