summaryrefslogtreecommitdiff
path: root/admin/notes
diff options
context:
space:
mode:
authorRandy Taylor <dev@rjt.dev>2022-12-10 21:40:25 -0500
committerYuan Fu <casouri@gmail.com>2022-12-12 15:08:54 -0800
commitca67d988d8721e9ec24a040b977393136457873f (patch)
tree61ad3276a255c47a9cd8d4281c16fca019e3fdc0 /admin/notes
parent8ec923775de3482acf4b158a79838eae64fd4980 (diff)
downloademacs-ca67d988d8721e9ec24a040b977393136457873f.tar.gz
emacs-ca67d988d8721e9ec24a040b977393136457873f.tar.bz2
emacs-ca67d988d8721e9ec24a040b977393136457873f.zip
Add cmake-ts-mode
* admin/notes/tree-sitter/build-module/batch.sh: * admin/notes/tree-sitter/build-module/build.sh: Add cmake support. * etc/NEWS: Mention it. * lisp/progmodes/cmake-ts-mode.el: New major mode with tree-sitter support. * lisp/progmodes/eglot.el (eglot-server-programs): Add it.
Diffstat (limited to 'admin/notes')
-rwxr-xr-xadmin/notes/tree-sitter/build-module/batch.sh1
-rwxr-xr-xadmin/notes/tree-sitter/build-module/build.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/admin/notes/tree-sitter/build-module/batch.sh b/admin/notes/tree-sitter/build-module/batch.sh
index 6dce000caa6..c3954499774 100755
--- a/admin/notes/tree-sitter/build-module/batch.sh
+++ b/admin/notes/tree-sitter/build-module/batch.sh
@@ -2,6 +2,7 @@
languages=(
'c'
+ 'cmake'
'cpp'
'css'
'c-sharp'
diff --git a/admin/notes/tree-sitter/build-module/build.sh b/admin/notes/tree-sitter/build-module/build.sh
index cc31e3f6f02..3467be272b8 100755
--- a/admin/notes/tree-sitter/build-module/build.sh
+++ b/admin/notes/tree-sitter/build-module/build.sh
@@ -23,6 +23,9 @@ case "${lang}" in
"dockerfile")
namespace="camdencheek"
;;
+ "cmake")
+ namespace="uyha"
+ ;;
"typescript")
sourcedir="tree-sitter-typescript/typescript/src"
grammardir="tree-sitter-typescript/typescript"