Fix typos detected by crate-ci/typos

This commit is contained in:
Mikayla 2024-01-17 14:31:21 -08:00
parent df67917768
commit 57400e9687
No known key found for this signature in database
71 changed files with 133 additions and 133 deletions

View file

@ -76,7 +76,7 @@ pub struct CodeContextRetriever {
// Every match has an item, this represents the fundamental treesitter symbol and anchors the search
// Every match has one or more 'name' captures. These indicate the display range of the item for deduplication.
// If there are preceeding comments, we track this with a context capture
// If there are preceding comments, we track this with a context capture
// If there is a piece that should be collapsed in hierarchical queries, we capture it with a collapse capture
// If there is a piece that should be kept inside a collapsed node, we capture it with a keep capture
#[derive(Debug, Clone)]

View file

@ -110,7 +110,7 @@ async fn test_semantic_index(cx: &mut TestAppContext) {
cx,
);
// Test Include Files Functonality
// Test Include Files Functionality
let include_files = vec![PathMatcher::new("*.rs").unwrap()];
let exclude_files = vec![PathMatcher::new("*.rs").unwrap()];
let rust_only_search_results = semantic_index
@ -576,7 +576,7 @@ async fn test_code_context_retrieval_lua() {
setmetatable(classdef, { __index = baseclass })
-- All class instances have a reference to the class object.
classdef.class = classdef
--- Recursivly allocates the inheritance tree of the instance.
--- Recursively allocates the inheritance tree of the instance.
-- @param mastertable The 'root' of the inheritance tree.
-- @return Returns the instance with the allocated inheritance tree.
function classdef.alloc(mastertable)
@ -607,7 +607,7 @@ async fn test_code_context_retrieval_lua() {
setmetatable(classdef, { __index = baseclass })
-- All class instances have a reference to the class object.
classdef.class = classdef
--- Recursivly allocates the inheritance tree of the instance.
--- Recursively allocates the inheritance tree of the instance.
-- @param mastertable The 'root' of the inheritance tree.
-- @return Returns the instance with the allocated inheritance tree.
function classdef.alloc(mastertable)
@ -617,7 +617,7 @@ async fn test_code_context_retrieval_lua() {
end"#.unindent(),
114),
(r#"
--- Recursivly allocates the inheritance tree of the instance.
--- Recursively allocates the inheritance tree of the instance.
-- @param mastertable The 'root' of the inheritance tree.
-- @return Returns the instance with the allocated inheritance tree.
function classdef.alloc(mastertable)