diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-10-28 02:25:02 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-10-28 02:25:02 +0100 |
commit | d724b345a6b95991009c22cc3c4f6cbd8d9e0a2f (patch) | |
tree | 4feb670d947eea7d5ad22b8e1f3c445c2ee75139 /.config/emacs/combobulate-c.el | |
parent | 1bde22d4f33e8208ddafb11100991cde23c62c47 (diff) |
emacs: Track some very incomplete files
Diffstat (limited to '.config/emacs/combobulate-c.el')
-rw-r--r-- | .config/emacs/combobulate-c.el | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.config/emacs/combobulate-c.el b/.config/emacs/combobulate-c.el new file mode 100644 index 0000000..5ac844d --- /dev/null +++ b/.config/emacs/combobulate-c.el @@ -0,0 +1,25 @@ +;;; combobulate-c.el --- C support for combobulate -*- lexical-binding: t; -*- + +(require 'combobulate-manipulation) +(require 'combobulate-navigation) +(require 'combobulate-rules) +(require 'combobulate-settings) +(require 'combobulate-setup) + +(eval-and-compile + (defvar combobulate-c-definitions + '((context-nodes + '("char_literal" "false" "field_identifier" "identifier" "null" + "number_literal" "statement_identifier" "string_literal" "true" + "type_identifier"))))) + +(define-combobulate-language + :name c + :language c + :major-modes (c-ts-mode) + :custom combobulate-c-definitions + :setup-fn combobulate-c-setup) + +(defun combobulate-c-setup (_)) + +(provide 'combobulate-c) |