Skip to content

Commit

Permalink
Fix various typos (#8233)
Browse files Browse the repository at this point in the history
  • Loading branch information
amousset authored Sep 10, 2023
1 parent 6f3a657 commit 83ac53a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion helix-core/src/syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ impl Syntax {
let res = syntax.update(source, source, &ChangeSet::new(source));

if res.is_err() {
log::error!("TS parser failed, disabeling TS for the current buffer: {res:?}");
log::error!("TS parser failed, disabling TS for the current buffer: {res:?}");
return None;
}
Some(syntax)
Expand Down
2 changes: 1 addition & 1 deletion helix-view/src/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ impl Document {
transaction.changes(),
);
if res.is_err() {
log::error!("TS parser failed, disabeling TS for the current buffer: {res:?}");
log::error!("TS parser failed, disabling TS for the current buffer: {res:?}");
self.syntax = None;
}
}
Expand Down
2 changes: 1 addition & 1 deletion runtime/themes/jellybeans.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

"constant.builtin.boolean" = "yellow"
"constant.character" = "yellow"
"constant.characted.escape" = "red_error"
"constant.character.escape" = "red_error"
"constant.numeric" = "dark_orange"
"string" = "dark_green"
"string.regexp" = "light_purple"
Expand Down
2 changes: 1 addition & 1 deletion runtime/themes/molokai.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ inherits = "monokai"
"keyword.storage.modifier" = { fg = "#fd971f", modifiers = ["italic"] }
"label" = "#e6db74"
"operator" = "keyword"
"punctuation.delimeter" = "#8f8f8f"
"punctuation.delimiter" = "#8f8f8f"
"type" = "light-blue"
"variable.builtin" = { fg = "#ae81ff", modifiers = ["bold"] }
"tag.builtin" = { fg = "#ae81ff", modifiers = ["bold"] }
Expand Down
4 changes: 2 additions & 2 deletions runtime/themes/nightfox.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"keyword.control.exception" = { fg = "magenta" } # `try`, `catch`, `raise`/`throw` and related.
"keyword.operator" = { fg = "fg2", modifiers = ["bold"] } # 'or', 'and', 'in'.
"keyword.directive" = { fg = "pink-bright" } # Preprocessor directives (#if in C...).
"keyword.function" = { fg = "red" } # The keyword to define a funtion: 'def', 'fun', 'fn'.
"keyword.function" = { fg = "red" } # The keyword to define a function: 'def', 'fun', 'fn'.
"keyword.storage" = { fg = "magenta" } # Keywords describing how things are stored
"keyword.storage.type" = { fg = "magenta" } # The type of something, class, function, var, let, etc.
"keyword.storage.modifier" = { fg = "yellow" } # Storage modifiers like static, mut, const, ref, etc.
Expand Down Expand Up @@ -183,6 +183,6 @@ bg4 = "#39506d" # Conceal, border fg
fg0 = "#d6d6d7" # Lighter fg
fg1 = "#cdcecf" # Default fg
fg2 = "#aeafb0" # Darker fg (status line)
fg3 = "#71839b" # Darker fg (line numbers, fold colums)
fg3 = "#71839b" # Darker fg (line numbers, fold columns)
sel0 = "#2b3b51" # Popup bg, visual selection bg
sel1 = "#3c5372" # Popup sel bg, search bg
6 changes: 3 additions & 3 deletions runtime/themes/noctis.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@

'variable' = { fg = "white" } # Variable names.
'variable.builtin' = { } # Language reserved variables: `this`, `self`, `super`, etc.
'variable.parameter' = { } # Funtion parameters.
'variable.parameter' = { } # Function parameters.
'variable.other.member' = { } # Fields of composite data types (e.g. structs, unions).
'variable.function' = { } # ?

'label' = { fg = "purple" } # Loop labels in rust.

'punctuation' = { fg = "yellow", modifiers = ["bold"] } # (){}[]:;,.
# 'punctuation.delimeter' = { fg = "yellow" } # Commas and colons.
# 'punctuation.delimiter' = { fg = "yellow" } # Commas and colons.
# 'punctuation.bracket' = { fg = "yellow" } # Parentheses, angle brackets, etc.

'keyword' = { fg = "pink", modifiers = ["bold"] } # Language reserved keywords.
Expand All @@ -119,7 +119,7 @@
'keyword.control.exception' = {fg = "pink", modifiers = ["bold"] } # 'raise' in python.
'keyword.operator' = { } # 'or', 'and', 'in'.
'keyword.directive' = { fg = "purple" } # Preprocessor directives (#if in C).
'keyword.function' = { } # The keyword to define a funtion: 'def', 'fun', 'fn'.
'keyword.function' = { } # The keyword to define a function: 'def', 'fun', 'fn'.

'operator' = { fg = "pink", modifiers = ["bold"] } # Logical (&&, ||) and - I assume - Mathematical (+, %) operators

Expand Down
2 changes: 1 addition & 1 deletion runtime/themes/rose_pine.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"comment" = { fg = "muted", modifiers = ["italic"]}
# "comment.line" = ""
# "comment.block" = ""
# "comment.block.documenation" = ""
# "comment.block.documentation" = ""

"variable" = "text"
"variable.builtin" = "love"
Expand Down

0 comments on commit 83ac53a

Please sign in to comment.