1. ZHUO Qiang
  2. emacs_configuration

Commits

ZHUO Qiang  committed 5120958

use "in" as the snipper key for #include ""

  • Participants
  • Parent commits 75fb9cc
  • Branches default

Comments (0)

Files changed (2)

File lisp/yasnippet/snippets/cc-mode/inc

  • Ignore whitespace
-# name: #include "..."
-# key: inc
-# --
-#include "$1"

File snippets/c-mode/in

View file
  • Ignore whitespace
+# -*- mode: snippet -*-
+# name : #include ""
+# key: in
+# --
+#include "${`(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))`.h}"