summaryrefslogtreecommitdiff
path: root/config/emacs/abbrev_defs
blob: 984c56258371002fb2418a56bd95315ff63817bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
;; -*- 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)
    ("szt" "size_t" nil :count 1)
    ("u16" "uint16_t" nil :count 1)
    ("u32" "uint32_t" nil :count 0)
    ("u64" "uint64_t" nil :count 0)
    ("u8" "uint8_t" nil :count 5)
   ))

(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)
    ("szt" "size_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)
   ))