* etc/NEWS: Fix typos. Change Tree-sitter to tree-sitter.
* lisp/progmodes/c-ts-mode.el
* lisp/progmodes/css-ts-mode.el
* lisp/progmodes/java-ts-mode.el
* lisp/progmodes/json-ts-mode.el: Change Tree Sitter to tree-sitter.
Fix typo.
when visiting JSON files.
\f
-** New mode ts-mode'.
-A major mode based on the Tree-sitter library for editing programs
-in the FOO language. It includes support for font-locking,
+** New mode 'ts-mode'.
+A major mode based on the tree-sitter library for editing programs
+in the TypeScript language. It includes support for font-locking,
indentation, and navigation.
-** New mode c-ts-mode'.
-A major mode based on the Tree-sitter library for editing programs
+** New mode 'c-ts-mode'.
+A major mode based on the tree-sitter library for editing programs
in the C language. It includes support for font-locking,
indentation, Imenu, which-func, and navigation.
-** New mode c++-ts-mode'.
-A major mode based on the Tree-sitter library for editing programs
+** New mode 'c++-ts-mode'.
+A major mode based on the tree-sitter library for editing programs
in the C++ language. It includes support for font-locking,
indentation, Imenu, which-func, and navigation.
-** New mode java-ts-mode'.
-A major mode based on the Tree-sitter library for editing programs
+** New mode 'java-ts-mode'.
+A major mode based on the tree-sitter library for editing programs
in the Java language. It includes support for font-locking,
indentation, Imenu, which-func, and navigation.
-** New mode css-ts-mode'.
-A major mode based on the Tree-sitter library for editing programs
+** New mode 'css-ts-mode'.
+A major mode based on the tree-sitter library for editing programs
in the CSS language. It includes support for font-locking,
indentation, Imenu, which-func, and navigation.
-** New mode json-ts-mode'.
-A major mode based on the Tree-sitter library for editing programs
+** New mode 'json-ts-mode'.
+A major mode based on the tree-sitter library for editing programs
in the JSON language. It includes support for font-locking,
indentation, Imenu, which-func, and navigation.
-;;; c-ts-mode.el --- tree sitter support for C and C++ -*- lexical-binding: t; -*-
+;;; c-ts-mode.el --- tree-sitter support for C and C++ -*- lexical-binding: t; -*-
;; Copyright (C) 2022 Free Software Foundation, Inc.
:override t
:feature 'comment
`((comment) @font-lock-comment-face
- (comment) @contexual)
+ (comment) @contextual)
:language mode
:override t
:feature 'preprocessor
;;;###autoload
(define-derived-mode c-ts-mode--base-mode prog-mode "C"
- "Major mode for editing C, powered by Tree Sitter."
+ "Major mode for editing C, powered by tree-sitter."
:group 'c
:syntax-table c-ts-mode--syntax-table
;;;###autoload
(define-derived-mode c-ts-mode c-ts-mode--base-mode "C"
- "Major mode for editing C, powered by Tree Sitter."
+ "Major mode for editing C, powered by tree-sitter."
:group 'c
(unless (treesit-ready-p nil 'c)
- (error "Tree Sitter for C isn't available"))
+ (error "Tree-sitter for C isn't available"))
(treesit-parser-create 'c)
;;;###autoload
(define-derived-mode c++-ts-mode c-ts-mode--base-mode "C++"
- "Major mode for editing C, powered by Tree Sitter."
+ "Major mode for editing C, powered by tree-sitter."
:group 'c++
(unless (treesit-ready-p nil 'cpp)
- (error "Tree Sitter for C++ isn't available"))
+ (error "Tree-sitter for C++ isn't available"))
(treesit-parser-create 'cpp)
-;;; css-ts-mode.el --- tree sitter support for CSS -*- lexical-binding: t; -*-
+;;; css-ts-mode.el --- tree-sitter support for CSS -*- lexical-binding: t; -*-
;; Copyright (C) 2022 Free Software Foundation, Inc.
:syntax-table css-mode-syntax-table
(unless (treesit-ready-p nil 'css)
- (error "Tree Sitter for CSS isn't available"))
+ (error "Tree-sitter for CSS isn't available"))
(treesit-parser-create 'css)
-;;; java-ts-mode.el --- tree sitter support for Java -*- lexical-binding: t; -*-
+;;; java-ts-mode.el --- tree-sitter support for Java -*- lexical-binding: t; -*-
;; Copyright (C) 2022 Free Software Foundation, Inc.
;;;###autoload
(define-derived-mode java-ts-mode prog-mode "Java"
- "Major mode for editing Java, powered by Tree Sitter."
+ "Major mode for editing Java, powered by tree-sitter."
:group 'c
:syntax-table java-ts-mode--syntax-table
-;;; json-ts-mode.el --- tree sitter support for JSON -*- lexical-binding: t; -*-
+;;; json-ts-mode.el --- tree-sitter support for JSON -*- lexical-binding: t; -*-
;; Copyright (C) 2022 Free Software Foundation, Inc.
;;;###autoload
(define-derived-mode json-ts-mode prog-mode "JSON"
- "Major mode for editing JSON, powered by Tree Sitter."
+ "Major mode for editing JSON, powered by tree-sitter."
:group 'json
:syntax-table json-ts-mode--syntax-table
(unless (treesit-ready-p nil 'json)
- (error "Tree Sitter for JSON isn't available"))
+ (error "Tree-sitter for JSON isn't available"))
(treesit-parser-create 'json)