Supports additional snippets
- C programming - HTML - Nix
This commit is contained in:
parent
e6c5065b5b
commit
8b09557f38
5 changed files with 58 additions and 0 deletions
12
configs/shared/emacs/.emacs.d/snippets/nix-mode/shell-nix
Normal file
12
configs/shared/emacs/.emacs.d/snippets/nix-mode/shell-nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: shell.nix boilerplate
|
||||
# key: import
|
||||
# --
|
||||
with import <nixpkgs> {};
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "$1";
|
||||
buildInputs = [
|
||||
$2
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue