[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/nix-mode 57ac40d53b 214/500: Merge pull request #45 from e
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/nix-mode 57ac40d53b 214/500: Merge pull request #45 from eqyiel/master |
Date: |
Sat, 29 Jan 2022 08:27:07 -0500 (EST) |
branch: elpa/nix-mode
commit 57ac40d53b4f4fe0d61fcabb41f8f3992384048e
Merge: 5a8b334c75 81680dd7ac
Author: Matthew Bauer <mjbauer95@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #45 from eqyiel/master
nix-repl.el: make it work with newer nix repl command
---
nix-repl.el | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/nix-repl.el b/nix-repl.el
index ed2db6974e..e8962806cd 100644
--- a/nix-repl.el
+++ b/nix-repl.el
@@ -14,10 +14,14 @@
"nix-repl customizations"
:group 'nix)
-(defcustom nix-repl-executable "nix-repl"
+(defcustom nix-repl-executable "nix"
"Location of nix-repl command."
:type 'string)
+(defcustom nix-repl-executable-args '("repl")
+ "Arguments to provide to nix-repl."
+ :type 'list)
+
(define-derived-mode nix-repl-mode comint-mode "Nix-REPL"
"Interactive prompt for Nix."
(setq-local comint-prompt-regexp nix-prompt-regexp)
@@ -47,7 +51,10 @@
(defun nix--make-repl-in-buffer (buffer)
"Make Nix Repl in BUFFER."
- (make-comint-in-buffer "Nix-REPL" buffer nix-repl-executable))
+ (apply
+ 'make-comint-in-buffer
+ (append `("Nix-REPL" ,buffer ,nix-repl-executable nil)
+ nix-repl-executable-args)))
(defun nix-get-completions (proc prefix)
"Get Nix completions from Nix-repl process PROC and based off of PREFIX."
- [nongnu] elpa/nix-mode a967408f64 188/500: Don’t error when nix-shebang fails., (continued)
- [nongnu] elpa/nix-mode a967408f64 188/500: Don’t error when nix-shebang fails., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 05d7c828b3 187/500: Fix nix-company and mmm-mode loading., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 281bfc1abf 176/500: Cleanup font-locks again, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 407051ad31 175/500: Add font-lock-tests.el file, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode d341ef2f70 195/500: Add missing defcustom type, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode eb7623fb3b 178/500: Handle mmm-mode '' prefixes better, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode cc88a55ead 173/500: Add custom faces for Nix., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 0181c35a4f 202/500: Add nix-unpack command., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 0ac0271f6c 201/500: Update Homepage in .el files, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 39f29d8be4 207/500: Replace indentation code with simpler heuristics, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 57ac40d53b 214/500: Merge pull request #45 from eqyiel/master,
ELPA Syncer <=
- [nongnu] elpa/nix-mode ba202b6657 220/500: Add nix-shell.el, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 082a25ba7d 227/500: Add more default packages in nix.el, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode b98c1083a0 234/500: nix-shell-file not risky, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 9fb4e16c9f 233/500: Setup global-nix-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 161e7ae4d2 237/500: Cleanup nix-instantiate, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode c1b1982ea7 239/500: Fix nix-instantiate.el, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 1b15a6e583 252/500: Merge pull request #46 from matthewbauer/develop, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 1e53bed4d4 299/500: Move the logic for indentation of first line of file, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 79a3715c3d 303/500: Improve handling of 'in' after a hanging 'let'., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 6e4f66de1d 317/500: Add all-packages.nix test case, ELPA Syncer, 2022/01/29