aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lua/nvim-treesitter/utils.lua4
-rw-r--r--queries/clojure/highlights.scm2
-rw-r--r--queries/dart/highlights.scm2
-rw-r--r--queries/fish/highlights.scm2
-rw-r--r--queries/html_tags/indents.scm2
-rw-r--r--queries/kotlin/highlights.scm2
-rw-r--r--queries/pascal/highlights.scm2
-rw-r--r--queries/solidity/highlights.scm2
-rw-r--r--queries/thrift/highlights.scm2
-rw-r--r--queries/v/highlights.scm2
-rw-r--r--queries/vala/highlights.scm2
-rw-r--r--queries/verilog/highlights.scm2
-rw-r--r--tests/indent/php_spec.lua2
13 files changed, 14 insertions, 14 deletions
diff --git a/lua/nvim-treesitter/utils.lua b/lua/nvim-treesitter/utils.lua
index c738ee56e..9338be874 100644
--- a/lua/nvim-treesitter/utils.lua
+++ b/lua/nvim-treesitter/utils.lua
@@ -10,7 +10,7 @@ function M.notify(msg, log_level, opts)
vim.notify(msg, log_level, vim.tbl_extend("force", default_opts, opts or {}))
end
--- Returns the system specific path seperator.
+-- Returns the system specific path separator.
---@return string
function M.get_path_sep()
return (fn.has "win32" == 1 and not vim.opt.shellslash:get()) and "\\" or "/"
@@ -37,7 +37,7 @@ M.join_space = M.generate_join " "
--- - A table with name 'commands' should be defined in 'mod' which needs to be passed as
--- the commands param of this function
---
----@param mod string, Name of the module that resides in the heirarchy - nvim-treesitter.module
+---@param mod string, Name of the module that resides in the hierarchy - nvim-treesitter.module
---@param commands table, Command list for the module
--- - {command_name} Name of the vim user defined command, Keys:
--- - {run}: (function) callback function that needs to be executed
diff --git a/queries/clojure/highlights.scm b/queries/clojure/highlights.scm
index 3dc12d531..00a692521 100644
--- a/queries/clojure/highlights.scm
+++ b/queries/clojure/highlights.scm
@@ -6,7 +6,7 @@
;; For the most part this means that some things have to be assigned multiple
;; groups.
;; By doing this we can add a basic capture and then later refine it with more
-;; specialied captures.
+;; specialized captures.
;; This can mean that sometimes things are highlighted weirdly because they
;; have multiple highlight groups applied to them.
diff --git a/queries/dart/highlights.scm b/queries/dart/highlights.scm
index 19991c66f..f5e391092 100644
--- a/queries/dart/highlights.scm
+++ b/queries/dart/highlights.scm
@@ -144,7 +144,7 @@
(hex_integer_literal)
(decimal_integer_literal)
(decimal_floating_point_literal)
- ; TODO: inaccessbile nodes
+ ; TODO: inaccessible nodes
; (octal_integer_literal)
; (hex_floating_point_literal)
] @number
diff --git a/queries/fish/highlights.scm b/queries/fish/highlights.scm
index 9335ab4a2..91978e148 100644
--- a/queries/fish/highlights.scm
+++ b/queries/fish/highlights.scm
@@ -112,7 +112,7 @@
(command_substitution "$" @punctuation.bracket)
-; non-bultin command names
+; non-builtin command names
(command name: (word) @function.call)
; derived from builtin -n (fish 3.2.2)
diff --git a/queries/html_tags/indents.scm b/queries/html_tags/indents.scm
index a9e0794f5..1e4d4707f 100644
--- a/queries/html_tags/indents.scm
+++ b/queries/html_tags/indents.scm
@@ -9,7 +9,7 @@
(element (self_closing_tag))
] @indent
-; These tags are usually written one-lined and doesnt use self-closing tags so special-cased them
+; These tags are usually written one-lined and doesn't use self-closing tags so special-cased them
; but add indent to the tag to make sure attributes inside them are still indented if written multi-lined
(
(start_tag
diff --git a/queries/kotlin/highlights.scm b/queries/kotlin/highlights.scm
index a3ec3c8b9..2fd2c089b 100644
--- a/queries/kotlin/highlights.scm
+++ b/queries/kotlin/highlights.scm
@@ -114,7 +114,7 @@
(type_identifier) @function)?
(#lua-match? @_import "^[a-z]"))
-; TODO: Seperate labeled returns/breaks/continue/super/this
+; TODO: Separate labeled returns/breaks/continue/super/this
; Must be implemented in the parser first
(label) @label
diff --git a/queries/pascal/highlights.scm b/queries/pascal/highlights.scm
index 7a92acdc7..3a1c484e0 100644
--- a/queries/pascal/highlights.scm
+++ b/queries/pascal/highlights.scm
@@ -370,7 +370,7 @@
(statement ((identifier) @repeat
(#lua-match? @repeat "^[cC][oO][nN][tT][iI][nN][uU][eE]$")))
-; -- Identifier type inferrence
+; -- Identifier type inference
; VERY QUESTIONABLE: Highlighting of identifiers based on spelling
(exprBinary ((identifier) @constant
diff --git a/queries/solidity/highlights.scm b/queries/solidity/highlights.scm
index 932c54f32..33c837d5c 100644
--- a/queries/solidity/highlights.scm
+++ b/queries/solidity/highlights.scm
@@ -51,7 +51,7 @@
name: (identifier) @function)
(yul_evm_builtin) @function.builtin
-; Use contructor coloring for special functions
+; Use constructor coloring for special functions
(constructor_definition "constructor" @constructor)
(fallback_receive_definition "receive" @constructor)
(fallback_receive_definition "fallback" @constructor)
diff --git a/queries/thrift/highlights.scm b/queries/thrift/highlights.scm
index e544941c9..c6ff6464f 100644
--- a/queries/thrift/highlights.scm
+++ b/queries/thrift/highlights.scm
@@ -118,7 +118,7 @@
"xsd_optional"
] @keyword
-; Extended Kewords
+; Extended Keywords
[
"client"
"idempotent"
diff --git a/queries/v/highlights.scm b/queries/v/highlights.scm
index 3d2624e89..af2905239 100644
--- a/queries/v/highlights.scm
+++ b/queries/v/highlights.scm
@@ -8,7 +8,7 @@
(interpreted_string_literal) @string
(string_interpolation) @none
-; TODO: Have differnt highlight to make then standout + highlight }{$ as special
+; TODO: Have different highlight to make then standout + highlight }{$ as special
; ((string_interpolation
; (identifier) @constant
; "$" @punctuation.special
diff --git a/queries/vala/highlights.scm b/queries/vala/highlights.scm
index 9a8fd59cc..1c9732dff 100644
--- a/queries/vala/highlights.scm
+++ b/queries/vala/highlights.scm
@@ -1,6 +1,6 @@
; highlights.scm
-; higlight comments and symbols
+; highlight comments and symbols
(comment) @comment
(symbol) @symbol
(member_access_expression (_) (identifier) @symbol)
diff --git a/queries/verilog/highlights.scm b/queries/verilog/highlights.scm
index d3e014927..d4c9a24a5 100644
--- a/queries/verilog/highlights.scm
+++ b/queries/verilog/highlights.scm
@@ -1,7 +1,7 @@
; Keywords
[
- ; block delimeters
+ ; block delimiters
(module_keyword)
"endmodule"
"program"
diff --git a/tests/indent/php_spec.lua b/tests/indent/php_spec.lua
index a826d0aa6..2d7a88742 100644
--- a/tests/indent/php_spec.lua
+++ b/tests/indent/php_spec.lua
@@ -18,7 +18,7 @@ describe("indent PHP:", function()
run:new_line("example.php", { on_line = 11, text = "// new line starts 1 indentation to far", indent = 4 })
run:new_line(
"example2.php",
- { on_line = 5, text = "indendation with `enter` in insert mode is not correct", indent = 4 }
+ { on_line = 5, text = "indentation with `enter` in insert mode is not correct", indent = 4 }
)
run:new_line("issue-2497.php", { on_line = 5, text = "$a =", indent = 4 })
run:new_line("unfinished-call.php", { on_line = 6, text = "$a =", indent = 0 })