From d724b345a6b95991009c22cc3c4f6cbd8d9e0a2f Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 28 Oct 2024 02:25:02 +0100 Subject: emacs: Track some very incomplete files --- .config/emacs/combobulate-c.el | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .config/emacs/combobulate-c.el (limited to '.config/emacs/combobulate-c.el') 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) -- cgit v1.2.3