diff options
author | Franck Cuny <franck@fcuny.net> | 2023-06-01 19:35:59 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-06-01 19:35:59 -0700 |
commit | a187752c824b47052d33d3bc12749b5a7d2e8191 (patch) | |
tree | d939397496dcae8a7634a93b159fab57ee1752ec /snippets | |
parent | elfeed: add more feeds (diff) | |
download | emacs.d-a187752c824b47052d33d3bc12749b5a7d2e8191.tar.gz |
🤡
Change-Id: I06b104d79deac199f9cd9cdae705e333d23cc852
Diffstat (limited to '')
-rw-r--r-- | snippets/emacs-lisp-mode/defun (renamed from emacs/etc/snippets/emacs-lisp-mode/defun) | 0 | ||||
-rw-r--r-- | snippets/emacs-lisp-mode/format (renamed from emacs/etc/snippets/emacs-lisp-mode/format) | 0 | ||||
-rw-r--r-- | snippets/emacs-lisp-mode/header (renamed from emacs/etc/snippets/emacs-lisp-mode/header) | 0 | ||||
-rw-r--r-- | snippets/go-mode/method (renamed from emacs/etc/snippets/go-mode/method) | 0 | ||||
-rw-r--r-- | snippets/go-mode/test (renamed from emacs/etc/snippets/go-mode/test) | 0 | ||||
-rw-r--r-- | snippets/go-mode/type (renamed from emacs/etc/snippets/go-mode/type) | 0 | ||||
-rw-r--r-- | snippets/markdown-mode/new-blog-entry (renamed from emacs/etc/snippets/markdown-mode/new-blog-entry) | 0 | ||||
-rw-r--r-- | snippets/org-mode/begin (renamed from emacs/etc/snippets/org-mode/begin) | 0 | ||||
-rw-r--r-- | snippets/org-mode/srcsh (renamed from emacs/etc/snippets/org-mode/srcsh) | 0 | ||||
-rw-r--r-- | snippets/python-mode/cli | 15 | ||||
-rw-r--r-- | snippets/python-mode/function (renamed from emacs/etc/snippets/python-mode/function) | 0 | ||||
-rw-r--r-- | snippets/python-mode/main (renamed from emacs/etc/snippets/python-mode/main) | 0 |
12 files changed, 15 insertions, 0 deletions
diff --git a/emacs/etc/snippets/emacs-lisp-mode/defun b/snippets/emacs-lisp-mode/defun index 1c1282b..1c1282b 100644 --- a/emacs/etc/snippets/emacs-lisp-mode/defun +++ b/snippets/emacs-lisp-mode/defun diff --git a/emacs/etc/snippets/emacs-lisp-mode/format b/snippets/emacs-lisp-mode/format index 2bd648f..2bd648f 100644 --- a/emacs/etc/snippets/emacs-lisp-mode/format +++ b/snippets/emacs-lisp-mode/format diff --git a/emacs/etc/snippets/emacs-lisp-mode/header b/snippets/emacs-lisp-mode/header index b868f51..b868f51 100644 --- a/emacs/etc/snippets/emacs-lisp-mode/header +++ b/snippets/emacs-lisp-mode/header diff --git a/emacs/etc/snippets/go-mode/method b/snippets/go-mode/method index 78e61fc..78e61fc 100644 --- a/emacs/etc/snippets/go-mode/method +++ b/snippets/go-mode/method diff --git a/emacs/etc/snippets/go-mode/test b/snippets/go-mode/test index 3140ec2..3140ec2 100644 --- a/emacs/etc/snippets/go-mode/test +++ b/snippets/go-mode/test diff --git a/emacs/etc/snippets/go-mode/type b/snippets/go-mode/type index d8b2004..d8b2004 100644 --- a/emacs/etc/snippets/go-mode/type +++ b/snippets/go-mode/type diff --git a/emacs/etc/snippets/markdown-mode/new-blog-entry b/snippets/markdown-mode/new-blog-entry index ad6a53f..ad6a53f 100644 --- a/emacs/etc/snippets/markdown-mode/new-blog-entry +++ b/snippets/markdown-mode/new-blog-entry diff --git a/emacs/etc/snippets/org-mode/begin b/snippets/org-mode/begin index 15d66d8..15d66d8 100644 --- a/emacs/etc/snippets/org-mode/begin +++ b/snippets/org-mode/begin diff --git a/emacs/etc/snippets/org-mode/srcsh b/snippets/org-mode/srcsh index 0ced1f6..0ced1f6 100644 --- a/emacs/etc/snippets/org-mode/srcsh +++ b/snippets/org-mode/srcsh diff --git a/snippets/python-mode/cli b/snippets/python-mode/cli new file mode 100644 index 0000000..f5e9503 --- /dev/null +++ b/snippets/python-mode/cli @@ -0,0 +1,15 @@ +# -*- mode: snippet -*- +# name: cli +# key: cli +# -- +import click + + +@click.command() +@click.version_option() +def cli(): + pass + + +if __name__ == "__main__": + cli() \ No newline at end of file diff --git a/emacs/etc/snippets/python-mode/function b/snippets/python-mode/function index ffde801..ffde801 100644 --- a/emacs/etc/snippets/python-mode/function +++ b/snippets/python-mode/function diff --git a/emacs/etc/snippets/python-mode/main b/snippets/python-mode/main index b1564a8..b1564a8 100644 --- a/emacs/etc/snippets/python-mode/main +++ b/snippets/python-mode/main |