You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
added hl-max-size to specify maximum file size for highlighting
This should help users to specify the max size for the documents since
highlighting takes too much resources when file size increases.
This setting is language specific. Thus, can be configured in
languages.toml
Copy file name to clipboardExpand all lines: book/src/languages.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ These configuration keys are available:
62
62
|`grammar`| The tree-sitter grammar to use (defaults to the value of `name`) |
63
63
|`formatter`| The formatter for the language, it will take precedence over the lsp when defined. The formatter must be able to take the original file as input from stdin and write the formatted file to stdout |
64
64
|`max-line-length`| Maximum line length. Used for the `:reflow` command |
65
+
|`hl-max-size`| Maximum file size in bytes for syntax highlighting |
0 commit comments