diff options
Diffstat (limited to 'config/emacs/abbrev_defs')
| -rw-r--r-- | config/emacs/abbrev_defs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/config/emacs/abbrev_defs b/config/emacs/abbrev_defs new file mode 100644 index 0000000..f7e175d --- /dev/null +++ b/config/emacs/abbrev_defs @@ -0,0 +1,25 @@ +;; -*- coding: utf-8; lexical-binding: t -*- +(define-abbrev-table 'c-mode-abbrev-table + '( + ("i16" "int16_t" nil :count 0) + ("i32" "int32_t" nil :count 1) + ("i64" "int64_t" nil :count 0) + ("i8" "int8_t" nil :count 1) + ("u16" "uint16_t" nil :count 0) + ("u32" "uint32_t" nil :count 0) + ("u64" "uint64_t" nil :count 0) + ("u8" "uint8_t" nil :count 2) + )) + +(define-abbrev-table 'c++-mode-abbrev-table +'( +("i16" "int16_t" nil :count 0) +("i32" "int32_t" nil :count 1) +("i64" "int64_t" nil :count 0) +("i8" "int8_t" nil :count 1) +("u16" "uint16_t" nil :count 0) +("u32" "uint32_t" nil :count 0) +("u64" "uint64_t" nil :count 0) +("u8" "uint8_t" nil :count 2) +)) + |
