aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJongwook Choi <wookayin@gmail.com>2024-01-28 20:53:14 -0500
committerGitHub <noreply@github.com>2024-01-28 17:53:14 -0800
commit5b1b765610ae12ebd6400aafd068903569ee441a (patch)
treeab2372e5d076ed31472e4be2f03117f8fe87c1d3 /src
parentb0e85010fe8128a73d6aeae1af3a308d3791140f (diff)
downloadrneovim-5b1b765610ae12ebd6400aafd068903569ee441a.tar.gz
rneovim-5b1b765610ae12ebd6400aafd068903569ee441a.tar.bz2
rneovim-5b1b765610ae12ebd6400aafd068903569ee441a.zip
docs: enforce "treesitter" spelling #27110
It's the "tree-sitter" project, but "treesitter" in our code and docs.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/buffer_defs.h2
-rw-r--r--src/nvim/lua/treesitter.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h
index 79527176ab..24f97dd92c 100644
--- a/src/nvim/buffer_defs.h
+++ b/src/nvim/buffer_defs.h
@@ -713,7 +713,7 @@ struct file_buffer {
// Measurements of the deleted or replaced region since the last update
// event. Some consumers of buffer changes need to know the byte size (like
- // tree-sitter) or the corresponding UTF-32/UTF-16 size (like LSP) of the
+ // treesitter) or the corresponding UTF-32/UTF-16 size (like LSP) of the
// deleted text.
size_t deleted_bytes;
size_t deleted_bytes2;
diff --git a/src/nvim/lua/treesitter.c b/src/nvim/lua/treesitter.c
index 8b62bff496..de17aabca2 100644
--- a/src/nvim/lua/treesitter.c
+++ b/src/nvim/lua/treesitter.c
@@ -1,5 +1,5 @@
-// lua bindings for tree-sitter.
-// NB: this file mostly contains a generic lua interface for tree-sitter
+// lua bindings for treesitter.
+// NB: this file mostly contains a generic lua interface for treesitter
// trees and nodes, and could be broken out as a reusable lua package
#include <assert.h>