blah
This commit is contained in:
13
modules/home/users/crumb/emacs/snippets/emacs-lisp-mode/__
Normal file
13
modules/home/users/crumb/emacs/snippets/emacs-lisp-mode/__
Normal file
@@ -0,0 +1,13 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: Minimal Elisp file
|
||||
# uuid:
|
||||
# key: __
|
||||
# condition: t
|
||||
# expand-env: ((yas-indent-line 'fixed) (yas-wrap-around-region 'nil) (this-current-file-name (file-name-base (buffer-file-name (current-buffer)))))
|
||||
# --
|
||||
;;; ${1:`this-current-file-name`}.el -*- lexical-binding: t; -*-
|
||||
|
||||
$2
|
||||
|
||||
(provide '$1)
|
||||
;;; $1.el ends here
|
||||
11
modules/home/users/crumb/emacs/snippets/nix-mode/__shell
Normal file
11
modules/home/users/crumb/emacs/snippets/nix-mode/__shell
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: shell
|
||||
# key: __shell
|
||||
# --
|
||||
{ pkgs ? import <nixpkgs> {}, ... }:
|
||||
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
$1
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user