From fb693bb221b6026af101faaa2430b914f7ba85fa Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Mon, 26 Aug 2024 20:18:28 -0300 Subject: [PATCH] chore: pre-commit hooks --- .pre-commit-config.yaml | 27 +++++++++++++++++++ Makefile | 14 ++++++++++ README.md | 18 +++++++------ lexers/LiquidLexer.xml | 1 - lexers/VelocityLexer.xml | 1 - lexers/abap.xml | 2 +- lexers/abnf.xml | 2 +- lexers/actionscript.xml | 2 +- lexers/actionscript_3.xml | 2 +- lexers/ada.xml | 2 +- lexers/agda.xml | 1 - lexers/al.xml | 2 +- lexers/alloy.xml | 1 - lexers/angular2.xml | 2 +- lexers/antlr.xml | 2 +- lexers/apacheconf.xml | 2 +- lexers/apl.xml | 2 +- lexers/applescript.xml | 2 +- lexers/arangodb_aql.xml | 2 +- lexers/arduino.xml | 2 +- lexers/armasm.xml | 2 +- lexers/autohotkey.xml | 1 - lexers/autoit.xml | 1 - lexers/awk.xml | 2 +- lexers/ballerina.xml | 2 +- lexers/bash.xml | 2 +- lexers/bash_session.xml | 2 +- lexers/batchfile.xml | 2 +- lexers/bbcode.xml | 1 - lexers/bibtex.xml | 2 +- lexers/bicep.xml | 2 +- lexers/blitzbasic.xml | 2 +- lexers/bnf.xml | 2 +- lexers/bqn.xml | 2 +- lexers/brainfuck.xml | 2 +- lexers/c#.xml | 2 +- lexers/c++.xml | 2 +- lexers/cap_n_proto.xml | 2 +- lexers/cassandra_cql.xml | 2 +- lexers/ceylon.xml | 2 +- lexers/cfstatement.xml | 2 +- lexers/chaiscript.xml | 2 +- lexers/chapel.xml | 2 +- lexers/cheetah.xml | 2 +- lexers/cmake.xml | 2 +- lexers/cobol.xml | 2 +- lexers/coffeescript.xml | 2 +- lexers/common_lisp.xml | 2 +- lexers/coq.xml | 2 +- lexers/crystal.xml | 2 +- lexers/css.xml | 2 +- lexers/cython.xml | 2 +- lexers/d.xml | 2 +- lexers/dart.xml | 2 +- lexers/desktop_entry.xml | 2 +- lexers/diff.xml | 2 +- lexers/django_jinja.xml | 2 +- lexers/docker.xml | 2 +- lexers/dtd.xml | 2 +- lexers/dylan.xml | 2 +- lexers/ebnf.xml | 2 +- lexers/elixir.xml | 2 +- lexers/elm.xml | 2 +- lexers/emacslisp.xml | 2 +- lexers/erlang.xml | 2 +- lexers/factor.xml | 2 +- lexers/fennel.xml | 2 +- lexers/fish.xml | 2 +- lexers/forth.xml | 2 +- lexers/fortranfixed.xml | 2 +- lexers/gherkin.xml | 2 +- lexers/glsl.xml | 2 +- lexers/gnuplot.xml | 2 +- lexers/go_template.xml | 2 +- lexers/graphql.xml | 2 +- lexers/handlebars.xml | 2 +- lexers/haskell.xml | 2 +- lexers/hcl.xml | 2 +- lexers/hexdump.xml | 2 +- lexers/hlb.xml | 2 +- lexers/html.xml | 2 +- lexers/hy.xml | 2 +- lexers/idris.xml | 2 +- lexers/igor.xml | 2 +- lexers/ini.xml | 2 +- lexers/io.xml | 2 +- lexers/j.xml | 2 +- lexers/javascript.xml | 2 +- lexers/json.xml | 2 +- lexers/jsonata.xml | 8 +++--- lexers/julia.xml | 2 +- lexers/jungle.xml | 2 +- lexers/kotlin.xml | 2 +- lexers/lighttpd_configuration_file.xml | 2 +- lexers/llvm.xml | 2 +- lexers/lua.xml | 2 +- lexers/makefile.xml | 2 +- lexers/mako.xml | 2 +- lexers/markdown.xml | 5 ++-- lexers/mason.xml | 2 +- lexers/materialize_sql_dialect.xml | 2 +- lexers/mathematica.xml | 2 +- lexers/matlab.xml | 2 +- lexers/meson.xml | 2 +- lexers/metal.xml | 2 +- lexers/minizinc.xml | 2 +- lexers/mlir.xml | 2 +- lexers/modula-2.xml | 2 +- lexers/moinwiki.xml | 1 - lexers/monkeyc.xml | 2 +- lexers/morrowindscript.xml | 2 +- lexers/myghty.xml | 2 +- lexers/mysql.xml | 2 +- lexers/nasm.xml | 2 +- lexers/natural.xml | 2 +- lexers/ndisasm.xml | 2 +- lexers/newspeak.xml | 2 +- lexers/nginx_configuration_file.xml | 2 +- lexers/nim.xml | 2 +- lexers/nix.xml | 2 +- lexers/objective-c.xml | 2 +- lexers/objectpascal.xml | 4 +-- lexers/ocaml.xml | 2 +- lexers/octave.xml | 2 +- lexers/odin.xml | 2 +- lexers/onesenterprise.xml | 2 +- lexers/openedge_abl.xml | 2 +- lexers/openscad.xml | 2 +- lexers/org_mode.xml | 2 +- lexers/pacmanconf.xml | 2 +- lexers/perl.xml | 2 +- lexers/pig.xml | 2 +- lexers/pkgconfig.xml | 2 +- lexers/pl_pgsql.xml | 2 +- lexers/plaintext.xml | 2 +- lexers/plutus_core.xml | 2 +- lexers/pony.xml | 2 +- lexers/postgresql_sql_dialect.xml | 2 +- lexers/postscript.xml | 2 +- lexers/povray.xml | 2 +- lexers/powerquery.xml | 2 +- lexers/powershell.xml | 2 +- lexers/prolog.xml | 2 +- lexers/promela.xml | 2 +- lexers/promql.xml | 2 +- lexers/protocol_buffer.xml | 2 +- lexers/psl.xml | 2 +- lexers/puppet.xml | 2 +- lexers/python_2.xml | 2 +- lexers/qbasic.xml | 2 +- lexers/qml.xml | 2 +- lexers/r.xml | 2 +- lexers/racket.xml | 2 +- lexers/ragel.xml | 2 +- lexers/react.xml | 2 +- lexers/reasonml.xml | 2 +- lexers/reg.xml | 2 +- lexers/rego.xml | 2 +- lexers/rexx.xml | 2 +- lexers/rpm_spec.xml | 1 - lexers/rst.xml | 3 +-- lexers/ruby.xml | 2 +- lexers/rust.xml | 2 +- lexers/sas.xml | 2 +- lexers/sass.xml | 2 +- lexers/scala.xml | 2 +- lexers/scheme.xml | 2 +- lexers/scilab.xml | 2 +- lexers/scss.xml | 2 +- lexers/sieve.xml | 2 +- lexers/smali.xml | 1 - lexers/smalltalk.xml | 2 +- lexers/smarty.xml | 2 +- lexers/snobol.xml | 2 +- lexers/solidity.xml | 2 +- lexers/sparql.xml | 2 +- lexers/sql.xml | 2 +- lexers/squidconf.xml | 2 +- lexers/standard_ml.xml | 2 +- lexers/stas.xml | 2 +- lexers/stylus.xml | 2 +- lexers/swift.xml | 2 +- lexers/systemd.xml | 2 +- lexers/systemverilog.xml | 2 +- lexers/tablegen.xml | 2 +- lexers/tal.xml | 1 - lexers/tasm.xml | 2 +- lexers/tcl.xml | 2 +- lexers/tcsh.xml | 2 +- lexers/termcap.xml | 2 +- lexers/terminfo.xml | 2 +- lexers/terraform.xml | 2 +- lexers/tex.xml | 2 +- lexers/thrift.xml | 2 +- lexers/toml.xml | 2 +- lexers/tradingview.xml | 2 +- lexers/turing.xml | 2 +- lexers/turtle.xml | 2 +- lexers/twig.xml | 2 +- lexers/typescript.xml | 2 +- lexers/typoscript.xml | 2 +- lexers/typoscriptcssdata.xml | 2 +- lexers/typoscripthtmldata.xml | 2 +- lexers/v.xml | 2 +- lexers/v_shell.xml | 2 +- lexers/vb_net.xml | 2 +- lexers/verilog.xml | 2 +- lexers/vhdl.xml | 2 +- lexers/viml.xml | 2 +- lexers/vue.xml | 2 +- lexers/wdte.xml | 2 +- lexers/webgpu_shading_language.xml | 2 +- lexers/whiley.xml | 8 +++--- lexers/xml.xml | 2 +- lexers/xorg.xml | 2 +- lexers/yaml.xml | 2 +- lexers/yang.xml | 2 +- lexers/z80_assembly.xml | 2 +- lexers/zed.xml | 2 +- lexers/zig.xml | 2 +- scripts/lexer_metadata.py | 4 +-- scripts/token_abbrevs.py | 2 +- spec/tests/c++/test_unicode_identifiers.txt | 2 +- spec/tests/c/test_preproc_file3.txt | 2 +- spec/tests/css/percent_in_func.txt | 8 +++--- .../tests/java/test_multiline_string_only.txt | 2 +- .../test_can_cope_with_destructuring.txt | 2 +- spec/tests/mcfunction/commenting.txt | 2 +- spec/tests/mcfunction/multiline.txt | 2 +- spec/tests/promela/if.txt | 2 +- spec/tests/terraform/test_attributes.txt | 2 +- spec/tests/terraform/test_comment.txt | 2 +- ...us_line_without_reason_phrase_rfc_7230.txt | 2 +- ...r_lit-more-than-one-backtick-per-delim.txt | 4 +-- styles/abap.xml | 2 +- styles/algol.xml | 2 +- styles/algol_nu.xml | 2 +- styles/arduino.xml | 2 +- styles/autumn.xml | 2 +- styles/average.xml | 2 +- styles/borland.xml | 2 +- styles/bw.xml | 2 +- styles/catppuccin-frappe.xml | 2 +- styles/catppuccin-latte.xml | 2 +- styles/catppuccin-macchiato.xml | 2 +- styles/catppuccin-mocha.xml | 2 +- styles/colorful.xml | 2 +- styles/doom-one.xml | 2 +- styles/doom-one2.xml | 2 +- styles/dracula.xml | 2 +- styles/emacs.xml | 2 +- styles/evergarden.xml | 2 +- styles/friendly.xml | 2 +- styles/fruity.xml | 2 +- styles/github-dark.xml | 2 +- styles/github.xml | 2 +- styles/gruvbox-light.xml | 2 +- styles/gruvbox.xml | 2 +- styles/hr_high_contrast.xml | 2 +- styles/hrdark.xml | 2 +- styles/igor.xml | 2 +- styles/lovelace.xml | 2 +- styles/manni.xml | 2 +- styles/modus-operandi.xml | 2 +- styles/modus-vivendi.xml | 2 +- styles/monokai.xml | 2 +- styles/monokailight.xml | 2 +- styles/murphy.xml | 2 +- styles/native.xml | 2 +- styles/paraiso-dark.xml | 2 +- styles/paraiso-light.xml | 2 +- styles/pastie.xml | 2 +- styles/perldoc.xml | 2 +- styles/rainbow_dash.xml | 2 +- styles/rrt.xml | 2 +- styles/solarized-dark.xml | 2 +- styles/solarized-dark256.xml | 2 +- styles/solarized-light.xml | 2 +- styles/swapoff.xml | 2 +- styles/tango.xml | 2 +- styles/tokyonight-day.xml | 2 +- styles/tokyonight-night.xml | 2 +- styles/tokyonight-storm.xml | 2 +- styles/trac.xml | 2 +- styles/vim.xml | 2 +- styles/vs.xml | 2 +- styles/witchhazel.xml | 2 +- styles/xcode-dark.xml | 2 +- styles/xcode.xml | 2 +- 289 files changed, 339 insertions(+), 309 deletions(-) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..0b7688d --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,27 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks + +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files + - id: check-merge-conflict + - repo: https://github.com/jumanjihouse/pre-commit-hooks + rev: 3.0.0 + hooks: + - id: shellcheck + - id: markdownlint + exclude: '^content' + - repo: https://github.com/mrtazz/checkmake + rev: 0.2.2 + hooks: + - id: checkmake + exclude: lexers/makefile.xml + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.23.2 + hooks: + - id: check-github-workflows diff --git a/Makefile b/Makefile index aa89d7a..adf11bb 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +all: build + build: $(wildcard src/**/*.cr) $(wildcard lexers/*xml) $(wildcard styles/*xml) shard.yml shards build -Dstrict_multi_assign -Dno_number_autocast -d --error-trace release: $(wildcard src/**/*.cr) $(wildcard lexers/*xml) $(wildcard styles/*xml) shard.yml @@ -5,3 +7,15 @@ release: $(wildcard src/**/*.cr) $(wildcard lexers/*xml) $(wildcard styles/*xml) static: $(wildcard src/**/*.cr) $(wildcard lexers/*xml) $(wildcard styles/*xml) shard.yml shards build --release --static strip bin/tartrazine + + +clean: + rm -rf bin lib shard.lock + +test: + crystal spec + +lint: + ameba --fix src spec + +.PHONY: clean all test bin lint diff --git a/README.md b/README.md index 3252656..75123ef 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,16 @@ a port of [Pygments](https://pygments.org/) to It also provides a CLI tool which can be used to highlight many things in many styles. -Currently Tartrazine supports 247 languages. and it has 331 themes (63 from Chroma, the rest are base16 themes via -[Sixteen](https://github.com/ralsina/sixteen) +Currently Tartrazine supports 247 languages and has 331 themes (63 from Chroma, +the rest are base16 themes via [Sixteen](https://github.com/ralsina/sixteen) ## Installation From prebuilt binaries: Each release provides statically-linked binaries that should -work on any Linux. Get them from the [releases page](https://github.com/ralsina/tartrazine/releases) and put them in your PATH. +work on any Linux. Get them from the [releases page](https://github.com/ralsina/tartrazine/releases) +and put them in your PATH. To build from source: @@ -27,14 +28,14 @@ To build from source: Show a syntax highlighted version of a C source file in your terminal: ```shell -$ tartrazine whatever.c -l c -t catppuccin-macchiato --line-numbers -f terminal +tartrazine whatever.c -l c -t catppuccin-macchiato --line-numbers -f terminal ``` Generate a standalone HTML file from a C source file with the syntax highlighted: ```shell $ tartrazine whatever.c -t catppuccin-macchiato --line-numbers \ - --standalone -f html -o whatever.html + --standalone -f html -o whatever.html ``` ## Usage as a Library @@ -63,7 +64,7 @@ puts formatter.format(File.read(ARGV[0]), lexer) - [Roberto Alsina](https://github.com/ralsina) - creator and maintainer -## A port of what? Why "kind of"? +## A port of what, and why "kind of" Pygments is a staple of the Python ecosystem, and it's great. It lets you highlight code in many languages, and it has many @@ -86,5 +87,6 @@ This only covers the RegexLexers, which are the most common ones, but it means the supported languages are a subset of Chroma's, which is a subset of Pygments' and DelegatingLexers (useful for things like template languages) -Then performance was bad, so I hacked and hacked and made it -significantly [faster than chroma](https://ralsina.me/weblog/posts/a-tale-of-optimization.html) which is fun. \ No newline at end of file +Then performance was bad, so I hacked and hacked and made it significantly +[faster than chroma](https://ralsina.me/weblog/posts/a-tale-of-optimization.html) +which is fun. diff --git a/lexers/LiquidLexer.xml b/lexers/LiquidLexer.xml index d4143ce..d1c15ca 100644 --- a/lexers/LiquidLexer.xml +++ b/lexers/LiquidLexer.xml @@ -127,4 +127,3 @@ - diff --git a/lexers/VelocityLexer.xml b/lexers/VelocityLexer.xml index c22d17e..7ee438d 100644 --- a/lexers/VelocityLexer.xml +++ b/lexers/VelocityLexer.xml @@ -52,4 +52,3 @@ - diff --git a/lexers/abap.xml b/lexers/abap.xml index e8140b7..16c1deb 100644 --- a/lexers/abap.xml +++ b/lexers/abap.xml @@ -151,4 +151,4 @@ - \ No newline at end of file + diff --git a/lexers/abnf.xml b/lexers/abnf.xml index 3ffd51c..f680356 100644 --- a/lexers/abnf.xml +++ b/lexers/abnf.xml @@ -63,4 +63,4 @@ - \ No newline at end of file + diff --git a/lexers/actionscript.xml b/lexers/actionscript.xml index d6727a1..3ef0da0 100644 --- a/lexers/actionscript.xml +++ b/lexers/actionscript.xml @@ -65,4 +65,4 @@ - \ No newline at end of file + diff --git a/lexers/actionscript_3.xml b/lexers/actionscript_3.xml index e5f6538..0f9dc73 100644 --- a/lexers/actionscript_3.xml +++ b/lexers/actionscript_3.xml @@ -160,4 +160,4 @@ - \ No newline at end of file + diff --git a/lexers/ada.xml b/lexers/ada.xml index 5854a20..f0bc660 100644 --- a/lexers/ada.xml +++ b/lexers/ada.xml @@ -318,4 +318,4 @@ - \ No newline at end of file + diff --git a/lexers/agda.xml b/lexers/agda.xml index 6f2b2d5..6d5a72a 100644 --- a/lexers/agda.xml +++ b/lexers/agda.xml @@ -63,4 +63,3 @@ - diff --git a/lexers/al.xml b/lexers/al.xml index 30bad5a..5c262e3 100644 --- a/lexers/al.xml +++ b/lexers/al.xml @@ -72,4 +72,4 @@ - \ No newline at end of file + diff --git a/lexers/alloy.xml b/lexers/alloy.xml index 1de9ea6..983a33a 100644 --- a/lexers/alloy.xml +++ b/lexers/alloy.xml @@ -55,4 +55,3 @@ - diff --git a/lexers/angular2.xml b/lexers/angular2.xml index 84fe20b..a7a323b 100644 --- a/lexers/angular2.xml +++ b/lexers/angular2.xml @@ -105,4 +105,4 @@ - \ No newline at end of file + diff --git a/lexers/antlr.xml b/lexers/antlr.xml index e57edd4..ff12c05 100644 --- a/lexers/antlr.xml +++ b/lexers/antlr.xml @@ -314,4 +314,4 @@ - \ No newline at end of file + diff --git a/lexers/apacheconf.xml b/lexers/apacheconf.xml index 7643541..0e465e3 100644 --- a/lexers/apacheconf.xml +++ b/lexers/apacheconf.xml @@ -71,4 +71,4 @@ - \ No newline at end of file + diff --git a/lexers/apl.xml b/lexers/apl.xml index 959448c..fe49cad 100644 --- a/lexers/apl.xml +++ b/lexers/apl.xml @@ -56,4 +56,4 @@ - \ No newline at end of file + diff --git a/lexers/applescript.xml b/lexers/applescript.xml index 1de6c67..a3e8b24 100644 --- a/lexers/applescript.xml +++ b/lexers/applescript.xml @@ -127,4 +127,4 @@ - \ No newline at end of file + diff --git a/lexers/arangodb_aql.xml b/lexers/arangodb_aql.xml index 434b395..6c4c7c3 100644 --- a/lexers/arangodb_aql.xml +++ b/lexers/arangodb_aql.xml @@ -171,4 +171,4 @@ - \ No newline at end of file + diff --git a/lexers/arduino.xml b/lexers/arduino.xml index 00399c2..ea97cfd 100644 --- a/lexers/arduino.xml +++ b/lexers/arduino.xml @@ -306,4 +306,4 @@ - \ No newline at end of file + diff --git a/lexers/armasm.xml b/lexers/armasm.xml index e5966cf..de021ed 100644 --- a/lexers/armasm.xml +++ b/lexers/armasm.xml @@ -123,4 +123,4 @@ - \ No newline at end of file + diff --git a/lexers/autohotkey.xml b/lexers/autohotkey.xml index 6ec94ed..6162a5c 100644 --- a/lexers/autohotkey.xml +++ b/lexers/autohotkey.xml @@ -75,4 +75,3 @@ - diff --git a/lexers/autoit.xml b/lexers/autoit.xml index 1f7e15d..5cad80a 100644 --- a/lexers/autoit.xml +++ b/lexers/autoit.xml @@ -67,4 +67,3 @@ - diff --git a/lexers/awk.xml b/lexers/awk.xml index 07476ff..f77336a 100644 --- a/lexers/awk.xml +++ b/lexers/awk.xml @@ -92,4 +92,4 @@ - \ No newline at end of file + diff --git a/lexers/ballerina.xml b/lexers/ballerina.xml index d13c123..b0ad3f9 100644 --- a/lexers/ballerina.xml +++ b/lexers/ballerina.xml @@ -94,4 +94,4 @@ - \ No newline at end of file + diff --git a/lexers/bash.xml b/lexers/bash.xml index d704a8f..c28daa0 100644 --- a/lexers/bash.xml +++ b/lexers/bash.xml @@ -217,4 +217,4 @@ - \ No newline at end of file + diff --git a/lexers/bash_session.xml b/lexers/bash_session.xml index 82c5fd6..a9470e1 100644 --- a/lexers/bash_session.xml +++ b/lexers/bash_session.xml @@ -22,4 +22,4 @@ - \ No newline at end of file + diff --git a/lexers/batchfile.xml b/lexers/batchfile.xml index d3e0627..a353528 100644 --- a/lexers/batchfile.xml +++ b/lexers/batchfile.xml @@ -657,4 +657,4 @@ - \ No newline at end of file + diff --git a/lexers/bbcode.xml b/lexers/bbcode.xml index d72d1a5..9a0200a 100644 --- a/lexers/bbcode.xml +++ b/lexers/bbcode.xml @@ -19,4 +19,3 @@ - diff --git a/lexers/bibtex.xml b/lexers/bibtex.xml index 8fde161..870020f 100644 --- a/lexers/bibtex.xml +++ b/lexers/bibtex.xml @@ -149,4 +149,4 @@ - \ No newline at end of file + diff --git a/lexers/bicep.xml b/lexers/bicep.xml index db90f31..2f5b3d5 100644 --- a/lexers/bicep.xml +++ b/lexers/bicep.xml @@ -81,4 +81,4 @@ - \ No newline at end of file + diff --git a/lexers/blitzbasic.xml b/lexers/blitzbasic.xml index 591b1ad..cf6e7b7 100644 --- a/lexers/blitzbasic.xml +++ b/lexers/blitzbasic.xml @@ -138,4 +138,4 @@ - \ No newline at end of file + diff --git a/lexers/bnf.xml b/lexers/bnf.xml index 5c98424..243255c 100644 --- a/lexers/bnf.xml +++ b/lexers/bnf.xml @@ -25,4 +25,4 @@ - \ No newline at end of file + diff --git a/lexers/bqn.xml b/lexers/bqn.xml index c1090ea..5dfb4e6 100644 --- a/lexers/bqn.xml +++ b/lexers/bqn.xml @@ -80,4 +80,4 @@ - \ No newline at end of file + diff --git a/lexers/brainfuck.xml b/lexers/brainfuck.xml index 4c84c33..5e7b73b 100644 --- a/lexers/brainfuck.xml +++ b/lexers/brainfuck.xml @@ -48,4 +48,4 @@ - \ No newline at end of file + diff --git a/lexers/c#.xml b/lexers/c#.xml index f1e21db..9e81131 100644 --- a/lexers/c#.xml +++ b/lexers/c#.xml @@ -118,4 +118,4 @@ - \ No newline at end of file + diff --git a/lexers/c++.xml b/lexers/c++.xml index 680a19a..67abe5c 100644 --- a/lexers/c++.xml +++ b/lexers/c++.xml @@ -328,4 +328,4 @@ - \ No newline at end of file + diff --git a/lexers/cap_n_proto.xml b/lexers/cap_n_proto.xml index 3e7d147..eeef7cd 100644 --- a/lexers/cap_n_proto.xml +++ b/lexers/cap_n_proto.xml @@ -119,4 +119,4 @@ - \ No newline at end of file + diff --git a/lexers/cassandra_cql.xml b/lexers/cassandra_cql.xml index 1a78f99..f75fc45 100644 --- a/lexers/cassandra_cql.xml +++ b/lexers/cassandra_cql.xml @@ -134,4 +134,4 @@ - \ No newline at end of file + diff --git a/lexers/ceylon.xml b/lexers/ceylon.xml index 4c41218..58eada0 100644 --- a/lexers/ceylon.xml +++ b/lexers/ceylon.xml @@ -148,4 +148,4 @@ - \ No newline at end of file + diff --git a/lexers/cfstatement.xml b/lexers/cfstatement.xml index 46a84cf..5780078 100644 --- a/lexers/cfstatement.xml +++ b/lexers/cfstatement.xml @@ -89,4 +89,4 @@ - \ No newline at end of file + diff --git a/lexers/chaiscript.xml b/lexers/chaiscript.xml index 860439a..328268b 100644 --- a/lexers/chaiscript.xml +++ b/lexers/chaiscript.xml @@ -131,4 +131,4 @@ - \ No newline at end of file + diff --git a/lexers/chapel.xml b/lexers/chapel.xml index c89cafc..c28cba5 100644 --- a/lexers/chapel.xml +++ b/lexers/chapel.xml @@ -140,4 +140,4 @@ - \ No newline at end of file + diff --git a/lexers/cheetah.xml b/lexers/cheetah.xml index 284457c..6286c40 100644 --- a/lexers/cheetah.xml +++ b/lexers/cheetah.xml @@ -52,4 +52,4 @@ - \ No newline at end of file + diff --git a/lexers/cmake.xml b/lexers/cmake.xml index b041cfd..e9268d4 100644 --- a/lexers/cmake.xml +++ b/lexers/cmake.xml @@ -87,4 +87,4 @@ - \ No newline at end of file + diff --git a/lexers/cobol.xml b/lexers/cobol.xml index a8a8029..bbe79d8 100644 --- a/lexers/cobol.xml +++ b/lexers/cobol.xml @@ -87,4 +87,4 @@ - \ No newline at end of file + diff --git a/lexers/coffeescript.xml b/lexers/coffeescript.xml index e29722f..97ad757 100644 --- a/lexers/coffeescript.xml +++ b/lexers/coffeescript.xml @@ -207,4 +207,4 @@ - \ No newline at end of file + diff --git a/lexers/common_lisp.xml b/lexers/common_lisp.xml index 0fb9a7a..3513884 100644 --- a/lexers/common_lisp.xml +++ b/lexers/common_lisp.xml @@ -181,4 +181,4 @@ - \ No newline at end of file + diff --git a/lexers/coq.xml b/lexers/coq.xml index 62f64ff..8a58581 100644 --- a/lexers/coq.xml +++ b/lexers/coq.xml @@ -133,4 +133,4 @@ - \ No newline at end of file + diff --git a/lexers/crystal.xml b/lexers/crystal.xml index 94853db..76e299c 100644 --- a/lexers/crystal.xml +++ b/lexers/crystal.xml @@ -759,4 +759,4 @@ - \ No newline at end of file + diff --git a/lexers/css.xml b/lexers/css.xml index 6e370c7..ae5a92f 100644 --- a/lexers/css.xml +++ b/lexers/css.xml @@ -320,4 +320,4 @@ - \ No newline at end of file + diff --git a/lexers/cython.xml b/lexers/cython.xml index 15dfe4d..aef97f9 100644 --- a/lexers/cython.xml +++ b/lexers/cython.xml @@ -369,4 +369,4 @@ - \ No newline at end of file + diff --git a/lexers/d.xml b/lexers/d.xml index 3c030e2..3322d6e 100644 --- a/lexers/d.xml +++ b/lexers/d.xml @@ -130,4 +130,4 @@ - \ No newline at end of file + diff --git a/lexers/dart.xml b/lexers/dart.xml index f1b454f..079b2d6 100644 --- a/lexers/dart.xml +++ b/lexers/dart.xml @@ -210,4 +210,4 @@ - \ No newline at end of file + diff --git a/lexers/desktop_entry.xml b/lexers/desktop_entry.xml index ad71ad4..37abb9b 100644 --- a/lexers/desktop_entry.xml +++ b/lexers/desktop_entry.xml @@ -14,4 +14,4 @@ - \ No newline at end of file + diff --git a/lexers/diff.xml b/lexers/diff.xml index dc0beb7..6b39a39 100644 --- a/lexers/diff.xml +++ b/lexers/diff.xml @@ -49,4 +49,4 @@ - \ No newline at end of file + diff --git a/lexers/django_jinja.xml b/lexers/django_jinja.xml index 3c97c22..8b8000a 100644 --- a/lexers/django_jinja.xml +++ b/lexers/django_jinja.xml @@ -150,4 +150,4 @@ - \ No newline at end of file + diff --git a/lexers/docker.xml b/lexers/docker.xml index a73c52c..28f2717 100644 --- a/lexers/docker.xml +++ b/lexers/docker.xml @@ -54,4 +54,4 @@ - \ No newline at end of file + diff --git a/lexers/dtd.xml b/lexers/dtd.xml index 0edbbde..bf5760e 100644 --- a/lexers/dtd.xml +++ b/lexers/dtd.xml @@ -165,4 +165,4 @@ - \ No newline at end of file + diff --git a/lexers/dylan.xml b/lexers/dylan.xml index 3660d14..2d08540 100644 --- a/lexers/dylan.xml +++ b/lexers/dylan.xml @@ -173,4 +173,4 @@ - \ No newline at end of file + diff --git a/lexers/ebnf.xml b/lexers/ebnf.xml index df5d62f..08cb8d2 100644 --- a/lexers/ebnf.xml +++ b/lexers/ebnf.xml @@ -87,4 +87,4 @@ - \ No newline at end of file + diff --git a/lexers/elixir.xml b/lexers/elixir.xml index 286f53a..b31575d 100644 --- a/lexers/elixir.xml +++ b/lexers/elixir.xml @@ -741,4 +741,4 @@ - \ No newline at end of file + diff --git a/lexers/elm.xml b/lexers/elm.xml index ed65efc..8e177b2 100644 --- a/lexers/elm.xml +++ b/lexers/elm.xml @@ -116,4 +116,4 @@ - \ No newline at end of file + diff --git a/lexers/emacslisp.xml b/lexers/emacslisp.xml index 668bc62..995f25c 100644 --- a/lexers/emacslisp.xml +++ b/lexers/emacslisp.xml @@ -129,4 +129,4 @@ - \ No newline at end of file + diff --git a/lexers/erlang.xml b/lexers/erlang.xml index b186588..a69bb5a 100644 --- a/lexers/erlang.xml +++ b/lexers/erlang.xml @@ -163,4 +163,4 @@ - \ No newline at end of file + diff --git a/lexers/factor.xml b/lexers/factor.xml index 4743b9a..e7c7a45 100644 --- a/lexers/factor.xml +++ b/lexers/factor.xml @@ -409,4 +409,4 @@ - \ No newline at end of file + diff --git a/lexers/fennel.xml b/lexers/fennel.xml index b9b6d59..096514b 100644 --- a/lexers/fennel.xml +++ b/lexers/fennel.xml @@ -65,4 +65,4 @@ - \ No newline at end of file + diff --git a/lexers/fish.xml b/lexers/fish.xml index deb7814..98229cb 100644 --- a/lexers/fish.xml +++ b/lexers/fish.xml @@ -156,4 +156,4 @@ - \ No newline at end of file + diff --git a/lexers/forth.xml b/lexers/forth.xml index 31096a2..2ca01c9 100644 --- a/lexers/forth.xml +++ b/lexers/forth.xml @@ -75,4 +75,4 @@ - \ No newline at end of file + diff --git a/lexers/fortranfixed.xml b/lexers/fortranfixed.xml index 11343c0..e22e031 100644 --- a/lexers/fortranfixed.xml +++ b/lexers/fortranfixed.xml @@ -68,4 +68,4 @@ - \ No newline at end of file + diff --git a/lexers/gherkin.xml b/lexers/gherkin.xml index c53a2cb..767b1b1 100644 --- a/lexers/gherkin.xml +++ b/lexers/gherkin.xml @@ -260,4 +260,4 @@ - \ No newline at end of file + diff --git a/lexers/glsl.xml b/lexers/glsl.xml index ca0b696..0edfcf2 100644 --- a/lexers/glsl.xml +++ b/lexers/glsl.xml @@ -62,4 +62,4 @@ - \ No newline at end of file + diff --git a/lexers/gnuplot.xml b/lexers/gnuplot.xml index ee6a245..8f72593 100644 --- a/lexers/gnuplot.xml +++ b/lexers/gnuplot.xml @@ -286,4 +286,4 @@ - \ No newline at end of file + diff --git a/lexers/go_template.xml b/lexers/go_template.xml index 36f737b..9b5e1be 100644 --- a/lexers/go_template.xml +++ b/lexers/go_template.xml @@ -111,4 +111,4 @@ - \ No newline at end of file + diff --git a/lexers/graphql.xml b/lexers/graphql.xml index b062273..d43a6b3 100644 --- a/lexers/graphql.xml +++ b/lexers/graphql.xml @@ -85,4 +85,4 @@ - \ No newline at end of file + diff --git a/lexers/handlebars.xml b/lexers/handlebars.xml index 7cf2a64..ebb3cdc 100644 --- a/lexers/handlebars.xml +++ b/lexers/handlebars.xml @@ -144,4 +144,4 @@ - \ No newline at end of file + diff --git a/lexers/haskell.xml b/lexers/haskell.xml index 5f805d6..e524426 100644 --- a/lexers/haskell.xml +++ b/lexers/haskell.xml @@ -269,4 +269,4 @@ - \ No newline at end of file + diff --git a/lexers/hcl.xml b/lexers/hcl.xml index d3ed208..a2fbbba 100644 --- a/lexers/hcl.xml +++ b/lexers/hcl.xml @@ -140,4 +140,4 @@ - \ No newline at end of file + diff --git a/lexers/hexdump.xml b/lexers/hexdump.xml index a6f28ea..81c7d08 100644 --- a/lexers/hexdump.xml +++ b/lexers/hexdump.xml @@ -186,4 +186,4 @@ - \ No newline at end of file + diff --git a/lexers/hlb.xml b/lexers/hlb.xml index 64e667d..5e9564e 100644 --- a/lexers/hlb.xml +++ b/lexers/hlb.xml @@ -146,4 +146,4 @@ - \ No newline at end of file + diff --git a/lexers/html.xml b/lexers/html.xml index 2f1a8a9..ab4bdd9 100644 --- a/lexers/html.xml +++ b/lexers/html.xml @@ -156,4 +156,4 @@ - \ No newline at end of file + diff --git a/lexers/hy.xml b/lexers/hy.xml index a0dae46..2a55fd5 100644 --- a/lexers/hy.xml +++ b/lexers/hy.xml @@ -101,4 +101,4 @@ - \ No newline at end of file + diff --git a/lexers/idris.xml b/lexers/idris.xml index 9592d88..13c187c 100644 --- a/lexers/idris.xml +++ b/lexers/idris.xml @@ -213,4 +213,4 @@ - \ No newline at end of file + diff --git a/lexers/igor.xml b/lexers/igor.xml index 1cc0205..a83f1bb 100644 --- a/lexers/igor.xml +++ b/lexers/igor.xml @@ -44,4 +44,4 @@ - \ No newline at end of file + diff --git a/lexers/ini.xml b/lexers/ini.xml index 08f3870..118407b 100644 --- a/lexers/ini.xml +++ b/lexers/ini.xml @@ -42,4 +42,4 @@ - \ No newline at end of file + diff --git a/lexers/io.xml b/lexers/io.xml index 9ad94fa..337ef3f 100644 --- a/lexers/io.xml +++ b/lexers/io.xml @@ -68,4 +68,4 @@ - \ No newline at end of file + diff --git a/lexers/j.xml b/lexers/j.xml index 872d081..008acd5 100644 --- a/lexers/j.xml +++ b/lexers/j.xml @@ -154,4 +154,4 @@ - \ No newline at end of file + diff --git a/lexers/javascript.xml b/lexers/javascript.xml index efe80ed..0b479d0 100644 --- a/lexers/javascript.xml +++ b/lexers/javascript.xml @@ -157,4 +157,4 @@ - \ No newline at end of file + diff --git a/lexers/json.xml b/lexers/json.xml index 3473cfd..9eee263 100644 --- a/lexers/json.xml +++ b/lexers/json.xml @@ -108,4 +108,4 @@ - \ No newline at end of file + diff --git a/lexers/jsonata.xml b/lexers/jsonata.xml index c0eafab..d519aa6 100644 --- a/lexers/jsonata.xml +++ b/lexers/jsonata.xml @@ -15,7 +15,7 @@ // Spread operator - + // Sort operator @@ -54,7 +54,7 @@ - + @@ -75,9 +75,9 @@ - + - \ No newline at end of file + diff --git a/lexers/julia.xml b/lexers/julia.xml index 776dcdb..24a0b60 100644 --- a/lexers/julia.xml +++ b/lexers/julia.xml @@ -397,4 +397,4 @@ - \ No newline at end of file + diff --git a/lexers/jungle.xml b/lexers/jungle.xml index 92c785d..34bb416 100644 --- a/lexers/jungle.xml +++ b/lexers/jungle.xml @@ -95,4 +95,4 @@ - \ No newline at end of file + diff --git a/lexers/kotlin.xml b/lexers/kotlin.xml index 09c638a..318b3f7 100644 --- a/lexers/kotlin.xml +++ b/lexers/kotlin.xml @@ -220,4 +220,4 @@ - \ No newline at end of file + diff --git a/lexers/lighttpd_configuration_file.xml b/lexers/lighttpd_configuration_file.xml index 1319e5c..980c01e 100644 --- a/lexers/lighttpd_configuration_file.xml +++ b/lexers/lighttpd_configuration_file.xml @@ -39,4 +39,4 @@ - \ No newline at end of file + diff --git a/lexers/llvm.xml b/lexers/llvm.xml index f24f152..8966396 100644 --- a/lexers/llvm.xml +++ b/lexers/llvm.xml @@ -70,4 +70,4 @@ - \ No newline at end of file + diff --git a/lexers/lua.xml b/lexers/lua.xml index 903d458..7750773 100644 --- a/lexers/lua.xml +++ b/lexers/lua.xml @@ -155,4 +155,4 @@ - \ No newline at end of file + diff --git a/lexers/makefile.xml b/lexers/makefile.xml index a82a7f8..04106eb 100644 --- a/lexers/makefile.xml +++ b/lexers/makefile.xml @@ -128,4 +128,4 @@ - \ No newline at end of file + diff --git a/lexers/mako.xml b/lexers/mako.xml index 7824140..b6abcb5 100644 --- a/lexers/mako.xml +++ b/lexers/mako.xml @@ -117,4 +117,4 @@ - \ No newline at end of file + diff --git a/lexers/markdown.xml b/lexers/markdown.xml index e415ebf..ce0a0f3 100644 --- a/lexers/markdown.xml +++ b/lexers/markdown.xml @@ -28,9 +28,9 @@ - + - + @@ -53,4 +53,3 @@ - diff --git a/lexers/mason.xml b/lexers/mason.xml index 5873f2a..05908be 100644 --- a/lexers/mason.xml +++ b/lexers/mason.xml @@ -86,4 +86,4 @@ - \ No newline at end of file + diff --git a/lexers/materialize_sql_dialect.xml b/lexers/materialize_sql_dialect.xml index 8459344..9fea167 100644 --- a/lexers/materialize_sql_dialect.xml +++ b/lexers/materialize_sql_dialect.xml @@ -152,4 +152,4 @@ - \ No newline at end of file + diff --git a/lexers/mathematica.xml b/lexers/mathematica.xml index 0b8dfb6..cec292f 100644 --- a/lexers/mathematica.xml +++ b/lexers/mathematica.xml @@ -57,4 +57,4 @@ - \ No newline at end of file + diff --git a/lexers/matlab.xml b/lexers/matlab.xml index ebb4e2c..cb46f4a 100644 --- a/lexers/matlab.xml +++ b/lexers/matlab.xml @@ -111,4 +111,4 @@ - \ No newline at end of file + diff --git a/lexers/meson.xml b/lexers/meson.xml index 130047d..3e7ef14 100644 --- a/lexers/meson.xml +++ b/lexers/meson.xml @@ -82,4 +82,4 @@ - \ No newline at end of file + diff --git a/lexers/metal.xml b/lexers/metal.xml index 62d04ba..b2a81d2 100644 --- a/lexers/metal.xml +++ b/lexers/metal.xml @@ -267,4 +267,4 @@ - \ No newline at end of file + diff --git a/lexers/minizinc.xml b/lexers/minizinc.xml index 1ad6860..ae82b17 100644 --- a/lexers/minizinc.xml +++ b/lexers/minizinc.xml @@ -79,4 +79,4 @@ - \ No newline at end of file + diff --git a/lexers/mlir.xml b/lexers/mlir.xml index 025c3dc..eb92186 100644 --- a/lexers/mlir.xml +++ b/lexers/mlir.xml @@ -70,4 +70,4 @@ - \ No newline at end of file + diff --git a/lexers/modula-2.xml b/lexers/modula-2.xml index 0bf37bc..90b1184 100644 --- a/lexers/modula-2.xml +++ b/lexers/modula-2.xml @@ -242,4 +242,4 @@ - \ No newline at end of file + diff --git a/lexers/moinwiki.xml b/lexers/moinwiki.xml index 9a5d660..6eda4de 100644 --- a/lexers/moinwiki.xml +++ b/lexers/moinwiki.xml @@ -31,4 +31,3 @@ - diff --git a/lexers/monkeyc.xml b/lexers/monkeyc.xml index 7445a63..a1b30f3 100644 --- a/lexers/monkeyc.xml +++ b/lexers/monkeyc.xml @@ -150,4 +150,4 @@ - \ No newline at end of file + diff --git a/lexers/morrowindscript.xml b/lexers/morrowindscript.xml index 724a19f..5555861 100644 --- a/lexers/morrowindscript.xml +++ b/lexers/morrowindscript.xml @@ -87,4 +87,4 @@ - \ No newline at end of file + diff --git a/lexers/myghty.xml b/lexers/myghty.xml index 6d03917..8df1b3a 100644 --- a/lexers/myghty.xml +++ b/lexers/myghty.xml @@ -74,4 +74,4 @@ - \ No newline at end of file + diff --git a/lexers/mysql.xml b/lexers/mysql.xml index b6c2046..0242450 100644 --- a/lexers/mysql.xml +++ b/lexers/mysql.xml @@ -118,4 +118,4 @@ - \ No newline at end of file + diff --git a/lexers/nasm.xml b/lexers/nasm.xml index defe65b..5388b8f 100644 --- a/lexers/nasm.xml +++ b/lexers/nasm.xml @@ -123,4 +123,4 @@ - \ No newline at end of file + diff --git a/lexers/natural.xml b/lexers/natural.xml index 707252b..270a8a6 100644 --- a/lexers/natural.xml +++ b/lexers/natural.xml @@ -140,4 +140,4 @@ - \ No newline at end of file + diff --git a/lexers/ndisasm.xml b/lexers/ndisasm.xml index 74d443b..9f6e2fb 100644 --- a/lexers/ndisasm.xml +++ b/lexers/ndisasm.xml @@ -120,4 +120,4 @@ - \ No newline at end of file + diff --git a/lexers/newspeak.xml b/lexers/newspeak.xml index b932657..794c7ae 100644 --- a/lexers/newspeak.xml +++ b/lexers/newspeak.xml @@ -118,4 +118,4 @@ - \ No newline at end of file + diff --git a/lexers/nginx_configuration_file.xml b/lexers/nginx_configuration_file.xml index 46bdf57..f9dd87b 100644 --- a/lexers/nginx_configuration_file.xml +++ b/lexers/nginx_configuration_file.xml @@ -95,4 +95,4 @@ - \ No newline at end of file + diff --git a/lexers/nim.xml b/lexers/nim.xml index bfdd615..7c756f2 100644 --- a/lexers/nim.xml +++ b/lexers/nim.xml @@ -208,4 +208,4 @@ - \ No newline at end of file + diff --git a/lexers/nix.xml b/lexers/nix.xml index 0ed040c..2ab3af7 100644 --- a/lexers/nix.xml +++ b/lexers/nix.xml @@ -255,4 +255,4 @@ - \ No newline at end of file + diff --git a/lexers/objective-c.xml b/lexers/objective-c.xml index 0dc9328..4f1fdf4 100644 --- a/lexers/objective-c.xml +++ b/lexers/objective-c.xml @@ -507,4 +507,4 @@ - \ No newline at end of file + diff --git a/lexers/objectpascal.xml b/lexers/objectpascal.xml index 12af64b..cf1b4ad 100644 --- a/lexers/objectpascal.xml +++ b/lexers/objectpascal.xml @@ -95,7 +95,7 @@ - + @@ -103,7 +103,7 @@ - + diff --git a/lexers/ocaml.xml b/lexers/ocaml.xml index 77f67ac..5c611ca 100644 --- a/lexers/ocaml.xml +++ b/lexers/ocaml.xml @@ -142,4 +142,4 @@ - \ No newline at end of file + diff --git a/lexers/octave.xml b/lexers/octave.xml index 0515d28..3d7f7ed 100644 --- a/lexers/octave.xml +++ b/lexers/octave.xml @@ -98,4 +98,4 @@ - \ No newline at end of file + diff --git a/lexers/odin.xml b/lexers/odin.xml index b984263..6fdaaaf 100644 --- a/lexers/odin.xml +++ b/lexers/odin.xml @@ -108,6 +108,6 @@ - + diff --git a/lexers/onesenterprise.xml b/lexers/onesenterprise.xml index 530bad7..9ff0751 100644 --- a/lexers/onesenterprise.xml +++ b/lexers/onesenterprise.xml @@ -89,4 +89,4 @@ - \ No newline at end of file + diff --git a/lexers/openedge_abl.xml b/lexers/openedge_abl.xml index 04a80f3..f8bdcdd 100644 --- a/lexers/openedge_abl.xml +++ b/lexers/openedge_abl.xml @@ -98,4 +98,4 @@ - \ No newline at end of file + diff --git a/lexers/openscad.xml b/lexers/openscad.xml index 84d0fe1..fc95b19 100644 --- a/lexers/openscad.xml +++ b/lexers/openscad.xml @@ -93,4 +93,4 @@ - \ No newline at end of file + diff --git a/lexers/org_mode.xml b/lexers/org_mode.xml index 259e54e..b791fd7 100644 --- a/lexers/org_mode.xml +++ b/lexers/org_mode.xml @@ -326,4 +326,4 @@ - \ No newline at end of file + diff --git a/lexers/pacmanconf.xml b/lexers/pacmanconf.xml index caf7236..cca9d62 100644 --- a/lexers/pacmanconf.xml +++ b/lexers/pacmanconf.xml @@ -34,4 +34,4 @@ - \ No newline at end of file + diff --git a/lexers/perl.xml b/lexers/perl.xml index 8ac02ab..c5fbd55 100644 --- a/lexers/perl.xml +++ b/lexers/perl.xml @@ -397,4 +397,4 @@ - \ No newline at end of file + diff --git a/lexers/pig.xml b/lexers/pig.xml index 5acd773..b1b8f26 100644 --- a/lexers/pig.xml +++ b/lexers/pig.xml @@ -102,4 +102,4 @@ - \ No newline at end of file + diff --git a/lexers/pkgconfig.xml b/lexers/pkgconfig.xml index 875dcba..32a8c76 100644 --- a/lexers/pkgconfig.xml +++ b/lexers/pkgconfig.xml @@ -70,4 +70,4 @@ - \ No newline at end of file + diff --git a/lexers/pl_pgsql.xml b/lexers/pl_pgsql.xml index e3e813a..d87869c 100644 --- a/lexers/pl_pgsql.xml +++ b/lexers/pl_pgsql.xml @@ -116,4 +116,4 @@ - \ No newline at end of file + diff --git a/lexers/plaintext.xml b/lexers/plaintext.xml index d5e3243..527756b 100644 --- a/lexers/plaintext.xml +++ b/lexers/plaintext.xml @@ -18,4 +18,4 @@ - \ No newline at end of file + diff --git a/lexers/plutus_core.xml b/lexers/plutus_core.xml index 4ff5a97..bafc4e6 100644 --- a/lexers/plutus_core.xml +++ b/lexers/plutus_core.xml @@ -102,4 +102,4 @@ - \ No newline at end of file + diff --git a/lexers/pony.xml b/lexers/pony.xml index 4efa9db..f25a302 100644 --- a/lexers/pony.xml +++ b/lexers/pony.xml @@ -132,4 +132,4 @@ - \ No newline at end of file + diff --git a/lexers/postgresql_sql_dialect.xml b/lexers/postgresql_sql_dialect.xml index e901c18..50fc058 100644 --- a/lexers/postgresql_sql_dialect.xml +++ b/lexers/postgresql_sql_dialect.xml @@ -152,4 +152,4 @@ - \ No newline at end of file + diff --git a/lexers/postscript.xml b/lexers/postscript.xml index 15a3422..c107b02 100644 --- a/lexers/postscript.xml +++ b/lexers/postscript.xml @@ -86,4 +86,4 @@ - \ No newline at end of file + diff --git a/lexers/povray.xml b/lexers/povray.xml index f37dab9..113633f 100644 --- a/lexers/povray.xml +++ b/lexers/povray.xml @@ -55,4 +55,4 @@ - \ No newline at end of file + diff --git a/lexers/powerquery.xml b/lexers/powerquery.xml index 0ff1e35..c426f63 100644 --- a/lexers/powerquery.xml +++ b/lexers/powerquery.xml @@ -48,4 +48,4 @@ - \ No newline at end of file + diff --git a/lexers/powershell.xml b/lexers/powershell.xml index b63a150..e7299d4 100644 --- a/lexers/powershell.xml +++ b/lexers/powershell.xml @@ -227,4 +227,4 @@ - \ No newline at end of file + diff --git a/lexers/prolog.xml b/lexers/prolog.xml index 391bae3..f576d46 100644 --- a/lexers/prolog.xml +++ b/lexers/prolog.xml @@ -112,4 +112,4 @@ - \ No newline at end of file + diff --git a/lexers/promela.xml b/lexers/promela.xml index 84558c3..3eb2943 100644 --- a/lexers/promela.xml +++ b/lexers/promela.xml @@ -116,4 +116,4 @@ - \ No newline at end of file + diff --git a/lexers/promql.xml b/lexers/promql.xml index e95e333..51cc113 100644 --- a/lexers/promql.xml +++ b/lexers/promql.xml @@ -120,4 +120,4 @@ - \ No newline at end of file + diff --git a/lexers/protocol_buffer.xml b/lexers/protocol_buffer.xml index 157d321..e41164c 100644 --- a/lexers/protocol_buffer.xml +++ b/lexers/protocol_buffer.xml @@ -115,4 +115,4 @@ - \ No newline at end of file + diff --git a/lexers/psl.xml b/lexers/psl.xml index ab375da..c70c005 100644 --- a/lexers/psl.xml +++ b/lexers/psl.xml @@ -210,4 +210,4 @@ - \ No newline at end of file + diff --git a/lexers/puppet.xml b/lexers/puppet.xml index fbb587c..8a7cf0e 100644 --- a/lexers/puppet.xml +++ b/lexers/puppet.xml @@ -97,4 +97,4 @@ - \ No newline at end of file + diff --git a/lexers/python_2.xml b/lexers/python_2.xml index 3297a22..2087cc8 100644 --- a/lexers/python_2.xml +++ b/lexers/python_2.xml @@ -353,4 +353,4 @@ - \ No newline at end of file + diff --git a/lexers/qbasic.xml b/lexers/qbasic.xml index 193fe18..e62be3f 100644 --- a/lexers/qbasic.xml +++ b/lexers/qbasic.xml @@ -170,4 +170,4 @@ - \ No newline at end of file + diff --git a/lexers/qml.xml b/lexers/qml.xml index 43eb3eb..2661284 100644 --- a/lexers/qml.xml +++ b/lexers/qml.xml @@ -110,4 +110,4 @@ - \ No newline at end of file + diff --git a/lexers/r.xml b/lexers/r.xml index c1fba4e..c17ef84 100644 --- a/lexers/r.xml +++ b/lexers/r.xml @@ -125,4 +125,4 @@ - \ No newline at end of file + diff --git a/lexers/racket.xml b/lexers/racket.xml index 6cdd303..9a2a66a 100644 --- a/lexers/racket.xml +++ b/lexers/racket.xml @@ -257,4 +257,4 @@ - \ No newline at end of file + diff --git a/lexers/ragel.xml b/lexers/ragel.xml index 69638d2..11c17ae 100644 --- a/lexers/ragel.xml +++ b/lexers/ragel.xml @@ -146,4 +146,4 @@ - \ No newline at end of file + diff --git a/lexers/react.xml b/lexers/react.xml index a4109b0..23ec0f3 100644 --- a/lexers/react.xml +++ b/lexers/react.xml @@ -233,4 +233,4 @@ - \ No newline at end of file + diff --git a/lexers/reasonml.xml b/lexers/reasonml.xml index 8b7bcc5..e175c31 100644 --- a/lexers/reasonml.xml +++ b/lexers/reasonml.xml @@ -144,4 +144,4 @@ - \ No newline at end of file + diff --git a/lexers/reg.xml b/lexers/reg.xml index 501d380..c7c4bef 100644 --- a/lexers/reg.xml +++ b/lexers/reg.xml @@ -65,4 +65,4 @@ - \ No newline at end of file + diff --git a/lexers/rego.xml b/lexers/rego.xml index 517b713..5587b26 100644 --- a/lexers/rego.xml +++ b/lexers/rego.xml @@ -91,4 +91,4 @@ - \ No newline at end of file + diff --git a/lexers/rexx.xml b/lexers/rexx.xml index e682500..d9715cb 100644 --- a/lexers/rexx.xml +++ b/lexers/rexx.xml @@ -124,4 +124,4 @@ - \ No newline at end of file + diff --git a/lexers/rpm_spec.xml b/lexers/rpm_spec.xml index 8362772..9df68af 100644 --- a/lexers/rpm_spec.xml +++ b/lexers/rpm_spec.xml @@ -55,4 +55,3 @@ - diff --git a/lexers/rst.xml b/lexers/rst.xml index f41b9c6..8d60915 100644 --- a/lexers/rst.xml +++ b/lexers/rst.xml @@ -20,7 +20,7 @@ - + @@ -73,4 +73,3 @@ - diff --git a/lexers/ruby.xml b/lexers/ruby.xml index baa7e43..53d44ad 100644 --- a/lexers/ruby.xml +++ b/lexers/ruby.xml @@ -721,4 +721,4 @@ - \ No newline at end of file + diff --git a/lexers/rust.xml b/lexers/rust.xml index 083b96f..9b866f1 100644 --- a/lexers/rust.xml +++ b/lexers/rust.xml @@ -372,4 +372,4 @@ - \ No newline at end of file + diff --git a/lexers/sas.xml b/lexers/sas.xml index af1107b..78e8b0c 100644 --- a/lexers/sas.xml +++ b/lexers/sas.xml @@ -188,4 +188,4 @@ - \ No newline at end of file + diff --git a/lexers/sass.xml b/lexers/sass.xml index f801594..f434386 100644 --- a/lexers/sass.xml +++ b/lexers/sass.xml @@ -359,4 +359,4 @@ - \ No newline at end of file + diff --git a/lexers/scala.xml b/lexers/scala.xml index 2f8ddd4..dcfb13b 100644 --- a/lexers/scala.xml +++ b/lexers/scala.xml @@ -271,4 +271,4 @@ - \ No newline at end of file + diff --git a/lexers/scheme.xml b/lexers/scheme.xml index 0198bd7..ea35513 100644 --- a/lexers/scheme.xml +++ b/lexers/scheme.xml @@ -103,4 +103,4 @@ - \ No newline at end of file + diff --git a/lexers/scilab.xml b/lexers/scilab.xml index 9e10949..64b7078 100644 --- a/lexers/scilab.xml +++ b/lexers/scilab.xml @@ -95,4 +95,4 @@ - \ No newline at end of file + diff --git a/lexers/scss.xml b/lexers/scss.xml index ee060fc..b73e33a 100644 --- a/lexers/scss.xml +++ b/lexers/scss.xml @@ -370,4 +370,4 @@ - \ No newline at end of file + diff --git a/lexers/sieve.xml b/lexers/sieve.xml index fc60563..abd8431 100644 --- a/lexers/sieve.xml +++ b/lexers/sieve.xml @@ -58,4 +58,4 @@ - \ No newline at end of file + diff --git a/lexers/smali.xml b/lexers/smali.xml index e468766..6e212d7 100644 --- a/lexers/smali.xml +++ b/lexers/smali.xml @@ -70,4 +70,3 @@ - diff --git a/lexers/smalltalk.xml b/lexers/smalltalk.xml index 0027111..836e0da 100644 --- a/lexers/smalltalk.xml +++ b/lexers/smalltalk.xml @@ -291,4 +291,4 @@ - \ No newline at end of file + diff --git a/lexers/smarty.xml b/lexers/smarty.xml index dd7752c..34bd0c3 100644 --- a/lexers/smarty.xml +++ b/lexers/smarty.xml @@ -76,4 +76,4 @@ - \ No newline at end of file + diff --git a/lexers/snobol.xml b/lexers/snobol.xml index f53dbcb..897f1f5 100644 --- a/lexers/snobol.xml +++ b/lexers/snobol.xml @@ -92,4 +92,4 @@ - \ No newline at end of file + diff --git a/lexers/solidity.xml b/lexers/solidity.xml index 04403c8..991a37f 100644 --- a/lexers/solidity.xml +++ b/lexers/solidity.xml @@ -276,4 +276,4 @@ - \ No newline at end of file + diff --git a/lexers/sparql.xml b/lexers/sparql.xml index 7dc65af..031ee82 100644 --- a/lexers/sparql.xml +++ b/lexers/sparql.xml @@ -157,4 +157,4 @@ - \ No newline at end of file + diff --git a/lexers/sql.xml b/lexers/sql.xml index b542b65..24c16ec 100644 --- a/lexers/sql.xml +++ b/lexers/sql.xml @@ -87,4 +87,4 @@ - \ No newline at end of file + diff --git a/lexers/squidconf.xml b/lexers/squidconf.xml index cbd8dbc..9bea099 100644 --- a/lexers/squidconf.xml +++ b/lexers/squidconf.xml @@ -60,4 +60,4 @@ - \ No newline at end of file + diff --git a/lexers/standard_ml.xml b/lexers/standard_ml.xml index 39cf4f2..fdbe821 100644 --- a/lexers/standard_ml.xml +++ b/lexers/standard_ml.xml @@ -545,4 +545,4 @@ - \ No newline at end of file + diff --git a/lexers/stas.xml b/lexers/stas.xml index 56b4f92..ef3f442 100644 --- a/lexers/stas.xml +++ b/lexers/stas.xml @@ -82,4 +82,4 @@ - \ No newline at end of file + diff --git a/lexers/stylus.xml b/lexers/stylus.xml index c2d8807..b01f0f6 100644 --- a/lexers/stylus.xml +++ b/lexers/stylus.xml @@ -129,4 +129,4 @@ - \ No newline at end of file + diff --git a/lexers/swift.xml b/lexers/swift.xml index 416bf90..62946cb 100644 --- a/lexers/swift.xml +++ b/lexers/swift.xml @@ -204,4 +204,4 @@ - \ No newline at end of file + diff --git a/lexers/systemd.xml b/lexers/systemd.xml index e31bfc2..6fd9c0d 100644 --- a/lexers/systemd.xml +++ b/lexers/systemd.xml @@ -60,4 +60,4 @@ - \ No newline at end of file + diff --git a/lexers/systemverilog.xml b/lexers/systemverilog.xml index fac3da2..c27f6b2 100644 --- a/lexers/systemverilog.xml +++ b/lexers/systemverilog.xml @@ -178,4 +178,4 @@ - \ No newline at end of file + diff --git a/lexers/tablegen.xml b/lexers/tablegen.xml index a020ce8..7b292f8 100644 --- a/lexers/tablegen.xml +++ b/lexers/tablegen.xml @@ -66,4 +66,4 @@ - \ No newline at end of file + diff --git a/lexers/tal.xml b/lexers/tal.xml index a071d4c..9a78f4d 100644 --- a/lexers/tal.xml +++ b/lexers/tal.xml @@ -40,4 +40,3 @@ - diff --git a/lexers/tasm.xml b/lexers/tasm.xml index 1347f53..9ab0bc9 100644 --- a/lexers/tasm.xml +++ b/lexers/tasm.xml @@ -132,4 +132,4 @@ - \ No newline at end of file + diff --git a/lexers/tcl.xml b/lexers/tcl.xml index 7ed69bc..2712afa 100644 --- a/lexers/tcl.xml +++ b/lexers/tcl.xml @@ -269,4 +269,4 @@ - \ No newline at end of file + diff --git a/lexers/tcsh.xml b/lexers/tcsh.xml index 9895643..6c25134 100644 --- a/lexers/tcsh.xml +++ b/lexers/tcsh.xml @@ -118,4 +118,4 @@ - \ No newline at end of file + diff --git a/lexers/termcap.xml b/lexers/termcap.xml index e863bbd..4b1cad5 100644 --- a/lexers/termcap.xml +++ b/lexers/termcap.xml @@ -72,4 +72,4 @@ - \ No newline at end of file + diff --git a/lexers/terminfo.xml b/lexers/terminfo.xml index 9e8f56e..fae92af 100644 --- a/lexers/terminfo.xml +++ b/lexers/terminfo.xml @@ -81,4 +81,4 @@ - \ No newline at end of file + diff --git a/lexers/terraform.xml b/lexers/terraform.xml index 452f211..451d0e7 100644 --- a/lexers/terraform.xml +++ b/lexers/terraform.xml @@ -137,4 +137,4 @@ - \ No newline at end of file + diff --git a/lexers/tex.xml b/lexers/tex.xml index 809bb9a..564eea1 100644 --- a/lexers/tex.xml +++ b/lexers/tex.xml @@ -110,4 +110,4 @@ - \ No newline at end of file + diff --git a/lexers/thrift.xml b/lexers/thrift.xml index f14257d..34c2945 100644 --- a/lexers/thrift.xml +++ b/lexers/thrift.xml @@ -151,4 +151,4 @@ - \ No newline at end of file + diff --git a/lexers/toml.xml b/lexers/toml.xml index 9c98ba5..a8ce9ee 100644 --- a/lexers/toml.xml +++ b/lexers/toml.xml @@ -41,4 +41,4 @@ - \ No newline at end of file + diff --git a/lexers/tradingview.xml b/lexers/tradingview.xml index 3671f61..826ab23 100644 --- a/lexers/tradingview.xml +++ b/lexers/tradingview.xml @@ -78,4 +78,4 @@ - \ No newline at end of file + diff --git a/lexers/turing.xml b/lexers/turing.xml index 4eab69b..e741103 100644 --- a/lexers/turing.xml +++ b/lexers/turing.xml @@ -79,4 +79,4 @@ - \ No newline at end of file + diff --git a/lexers/turtle.xml b/lexers/turtle.xml index 7c572f9..8e6a7ac 100644 --- a/lexers/turtle.xml +++ b/lexers/turtle.xml @@ -167,4 +167,4 @@ - \ No newline at end of file + diff --git a/lexers/twig.xml b/lexers/twig.xml index de95c5f..353f51a 100644 --- a/lexers/twig.xml +++ b/lexers/twig.xml @@ -152,4 +152,4 @@ - \ No newline at end of file + diff --git a/lexers/typescript.xml b/lexers/typescript.xml index 9828e92..bc00b7a 100644 --- a/lexers/typescript.xml +++ b/lexers/typescript.xml @@ -276,4 +276,4 @@ - \ No newline at end of file + diff --git a/lexers/typoscript.xml b/lexers/typoscript.xml index bc416d4..424ff94 100644 --- a/lexers/typoscript.xml +++ b/lexers/typoscript.xml @@ -175,4 +175,4 @@ - \ No newline at end of file + diff --git a/lexers/typoscriptcssdata.xml b/lexers/typoscriptcssdata.xml index 62c42c1..daf0d55 100644 --- a/lexers/typoscriptcssdata.xml +++ b/lexers/typoscriptcssdata.xml @@ -49,4 +49,4 @@ - \ No newline at end of file + diff --git a/lexers/typoscripthtmldata.xml b/lexers/typoscripthtmldata.xml index 1b0af3a..f59da46 100644 --- a/lexers/typoscripthtmldata.xml +++ b/lexers/typoscripthtmldata.xml @@ -49,4 +49,4 @@ - \ No newline at end of file + diff --git a/lexers/v.xml b/lexers/v.xml index e1af3d1..26db3f4 100644 --- a/lexers/v.xml +++ b/lexers/v.xml @@ -352,4 +352,4 @@ - \ No newline at end of file + diff --git a/lexers/v_shell.xml b/lexers/v_shell.xml index 34ce610..d1ba853 100644 --- a/lexers/v_shell.xml +++ b/lexers/v_shell.xml @@ -362,4 +362,4 @@ - \ No newline at end of file + diff --git a/lexers/vb_net.xml b/lexers/vb_net.xml index 9f85afd..8b76636 100644 --- a/lexers/vb_net.xml +++ b/lexers/vb_net.xml @@ -159,4 +159,4 @@ - \ No newline at end of file + diff --git a/lexers/verilog.xml b/lexers/verilog.xml index cd4b9ff..684ad86 100644 --- a/lexers/verilog.xml +++ b/lexers/verilog.xml @@ -155,4 +155,4 @@ - \ No newline at end of file + diff --git a/lexers/vhdl.xml b/lexers/vhdl.xml index aa42044..adbcffb 100644 --- a/lexers/vhdl.xml +++ b/lexers/vhdl.xml @@ -168,4 +168,4 @@ - \ No newline at end of file + diff --git a/lexers/viml.xml b/lexers/viml.xml index 43e6bfa..38eba38 100644 --- a/lexers/viml.xml +++ b/lexers/viml.xml @@ -82,4 +82,4 @@ - \ No newline at end of file + diff --git a/lexers/vue.xml b/lexers/vue.xml index ec35083..0017335 100644 --- a/lexers/vue.xml +++ b/lexers/vue.xml @@ -304,4 +304,4 @@ - \ No newline at end of file + diff --git a/lexers/wdte.xml b/lexers/wdte.xml index c663ee2..edf6d18 100644 --- a/lexers/wdte.xml +++ b/lexers/wdte.xml @@ -40,4 +40,4 @@ - \ No newline at end of file + diff --git a/lexers/webgpu_shading_language.xml b/lexers/webgpu_shading_language.xml index ea2b6e1..9454661 100644 --- a/lexers/webgpu_shading_language.xml +++ b/lexers/webgpu_shading_language.xml @@ -139,4 +139,4 @@ - \ No newline at end of file + diff --git a/lexers/whiley.xml b/lexers/whiley.xml index 1762c96..e30857c 100644 --- a/lexers/whiley.xml +++ b/lexers/whiley.xml @@ -21,7 +21,7 @@ - + @@ -36,7 +36,7 @@ - + @@ -48,10 +48,10 @@ - + - + diff --git a/lexers/xml.xml b/lexers/xml.xml index 2c6a4d9..8049794 100644 --- a/lexers/xml.xml +++ b/lexers/xml.xml @@ -92,4 +92,4 @@ - \ No newline at end of file + diff --git a/lexers/xorg.xml b/lexers/xorg.xml index 53bf432..ffc2221 100644 --- a/lexers/xorg.xml +++ b/lexers/xorg.xml @@ -32,4 +32,4 @@ - \ No newline at end of file + diff --git a/lexers/yaml.xml b/lexers/yaml.xml index 97a0b6e..689fc0b 100644 --- a/lexers/yaml.xml +++ b/lexers/yaml.xml @@ -119,4 +119,4 @@ - \ No newline at end of file + diff --git a/lexers/yang.xml b/lexers/yang.xml index f3da7ce..571604f 100644 --- a/lexers/yang.xml +++ b/lexers/yang.xml @@ -96,4 +96,4 @@ - \ No newline at end of file + diff --git a/lexers/z80_assembly.xml b/lexers/z80_assembly.xml index 5bb77a9..c901d7f 100644 --- a/lexers/z80_assembly.xml +++ b/lexers/z80_assembly.xml @@ -71,4 +71,4 @@ - \ No newline at end of file + diff --git a/lexers/zed.xml b/lexers/zed.xml index 929f495..3075925 100644 --- a/lexers/zed.xml +++ b/lexers/zed.xml @@ -48,4 +48,4 @@ - \ No newline at end of file + diff --git a/lexers/zig.xml b/lexers/zig.xml index fb51cc1..ad2366f 100644 --- a/lexers/zig.xml +++ b/lexers/zig.xml @@ -109,4 +109,4 @@ - \ No newline at end of file + diff --git a/scripts/lexer_metadata.py b/scripts/lexer_metadata.py index 9acbb48..ea68663 100644 --- a/scripts/lexer_metadata.py +++ b/scripts/lexer_metadata.py @@ -32,8 +32,8 @@ for fname in glob.glob("lexers/*.xml"): if alias in lexer_by_name and alias != lexer_by_name[alias]: raise Exception(f"Alias {alias} already in use by {lexer_by_name[alias]}") lexer_by_name[alias] = lexer_name - for mimetype in mimetypes: - lexer_by_mimetype[mimetype] = lexer_name + for mimetype in mimetypes: + lexer_by_mimetype[mimetype] = lexer_name for filename in filenames: lexer_by_filename[filename].add(lexer_name) diff --git a/scripts/token_abbrevs.py b/scripts/token_abbrevs.py index 30f2071..ba6b01d 100644 --- a/scripts/token_abbrevs.py +++ b/scripts/token_abbrevs.py @@ -52,4 +52,4 @@ with open ("src/constants/token_abbrevs.cr", "w") as outf: outf.write(" Abbreviations = {\n") for k in sorted(abbrevs.keys()): outf.write(f' "{k}" => "{abbrevs[k]}",\n') - outf.write(" }\nend\n") \ No newline at end of file + outf.write(" }\nend\n") diff --git a/spec/tests/c++/test_unicode_identifiers.txt b/spec/tests/c++/test_unicode_identifiers.txt index c2f3e03..21ae7c1 100644 --- a/spec/tests/c++/test_unicode_identifiers.txt +++ b/spec/tests/c++/test_unicode_identifiers.txt @@ -10,7 +10,7 @@ class 𝐨𝐩𝐭𝐢𝐨𝐧𝐬 final { 爴: int a = 𝐨𝐩𝐭𝐢𝐨𝐧::hello(); }; - + static 𝐨𝐩𝐭𝐢𝐨𝐧𝐬 𝔡𝔢𝔣𝔞𝔲𝔩𝔱; static 𝐨𝐩𝐭𝐢𝐨𝐧𝐬 𝔢𝔵𝔠𝔢𝔭𝔱𝔦𝔬𝔫𝔰; }; diff --git a/spec/tests/c/test_preproc_file3.txt b/spec/tests/c/test_preproc_file3.txt index b36db4c..cf07e85 100644 --- a/spec/tests/c/test_preproc_file3.txt +++ b/spec/tests/c/test_preproc_file3.txt @@ -1,7 +1,7 @@ Space around line break before macro is valid C, but failed to parse previously. ---input--- -foo(); +foo(); #define FOO 0 ---tokens--- diff --git a/spec/tests/css/percent_in_func.txt b/spec/tests/css/percent_in_func.txt index 9fce9bd..902b519 100644 --- a/spec/tests/css/percent_in_func.txt +++ b/spec/tests/css/percent_in_func.txt @@ -1,10 +1,10 @@ ---input--- .target-img { - position: absolute; - top: 25%; - left: 50%; + position: absolute; + top: 25%; + left: 50%; transform: translate(-50%, -50%); -} +} ---tokens--- '.' Punctuation diff --git a/spec/tests/java/test_multiline_string_only.txt b/spec/tests/java/test_multiline_string_only.txt index 09d54ad..752f28a 100644 --- a/spec/tests/java/test_multiline_string_only.txt +++ b/spec/tests/java/test_multiline_string_only.txt @@ -10,7 +10,7 @@ public class Quine { } } """; - + ---tokens--- '\t ' Text.Whitespace diff --git a/spec/tests/kotlin/test_can_cope_with_destructuring.txt b/spec/tests/kotlin/test_can_cope_with_destructuring.txt index 3db6ed9..79e7332 100644 --- a/spec/tests/kotlin/test_can_cope_with_destructuring.txt +++ b/spec/tests/kotlin/test_can_cope_with_destructuring.txt @@ -1,5 +1,5 @@ ---input--- -val (a, b) = +val (a, b) = ---tokens--- 'val' Keyword.Declaration diff --git a/spec/tests/mcfunction/commenting.txt b/spec/tests/mcfunction/commenting.txt index 7a5a37d..b20ee32 100644 --- a/spec/tests/mcfunction/commenting.txt +++ b/spec/tests/mcfunction/commenting.txt @@ -9,7 +9,7 @@ # # Selects data inside the database and copies to rx.playerdb:io player # See #api/v2/select for more info.. -# +# #* Note: something, something, this is important.. # Normal Comment diff --git a/spec/tests/mcfunction/multiline.txt b/spec/tests/mcfunction/multiline.txt index 1587910..717b773 100644 --- a/spec/tests/mcfunction/multiline.txt +++ b/spec/tests/mcfunction/multiline.txt @@ -11,7 +11,7 @@ execute positioned ^ ^ ^-1 # and move one block back. if entity @s[distance=..0.6] # Check if we're close to the # player's feet. - run + run say "I'm facing the target!" ---tokens--- diff --git a/spec/tests/promela/if.txt b/spec/tests/promela/if.txt index 9e04830..76d704e 100644 --- a/spec/tests/promela/if.txt +++ b/spec/tests/promela/if.txt @@ -1,6 +1,6 @@ ---input--- init { - if + if :: skip; fi; skip diff --git a/spec/tests/terraform/test_attributes.txt b/spec/tests/terraform/test_attributes.txt index 2fcf805..8b89065 100644 --- a/spec/tests/terraform/test_attributes.txt +++ b/spec/tests/terraform/test_attributes.txt @@ -5,7 +5,7 @@ availability_zones = [aws_instance.web.availability_zone] assume_role_policy = data.aws_iam_policy_document.trust.json policy_arn = aws_iam_policy.assume_roles[0].arn - + value = file("path.txt") value = jsonencode(element("value")) diff --git a/spec/tests/terraform/test_comment.txt b/spec/tests/terraform/test_comment.txt index 9f5c1a7..b1c5301 100644 --- a/spec/tests/terraform/test_comment.txt +++ b/spec/tests/terraform/test_comment.txt @@ -8,7 +8,7 @@ */ provider "azurerm" { # (1) features {} -} +} ---tokens--- '# Single line comment\n' Comment.Single diff --git a/spec/unsupported_lexers/http/test_http_status_line_without_reason_phrase_rfc_7230.txt b/spec/unsupported_lexers/http/test_http_status_line_without_reason_phrase_rfc_7230.txt index e0c9896..e565309 100644 --- a/spec/unsupported_lexers/http/test_http_status_line_without_reason_phrase_rfc_7230.txt +++ b/spec/unsupported_lexers/http/test_http_status_line_without_reason_phrase_rfc_7230.txt @@ -1,5 +1,5 @@ ---input--- -HTTP/1.1 200 +HTTP/1.1 200 ---tokens--- 'HTTP' Keyword.Reserved diff --git a/spec/unsupported_lexers/janet/long_str_lit-more-than-one-backtick-per-delim.txt b/spec/unsupported_lexers/janet/long_str_lit-more-than-one-backtick-per-delim.txt index c04b389..ecb6c61 100644 --- a/spec/unsupported_lexers/janet/long_str_lit-more-than-one-backtick-per-delim.txt +++ b/spec/unsupported_lexers/janet/long_str_lit-more-than-one-backtick-per-delim.txt @@ -1,6 +1,6 @@ ---input--- -```More than -one backtick +```More than +one backtick can be used ``` diff --git a/styles/abap.xml b/styles/abap.xml index 36ea2f1..ef7a872 100644 --- a/styles/abap.xml +++ b/styles/abap.xml @@ -8,4 +8,4 @@ - \ No newline at end of file + diff --git a/styles/algol.xml b/styles/algol.xml index e8a6dc1..0f2bb5c 100644 --- a/styles/algol.xml +++ b/styles/algol.xml @@ -15,4 +15,4 @@ - \ No newline at end of file + diff --git a/styles/algol_nu.xml b/styles/algol_nu.xml index 7fa340f..9682568 100644 --- a/styles/algol_nu.xml +++ b/styles/algol_nu.xml @@ -15,4 +15,4 @@ - \ No newline at end of file + diff --git a/styles/arduino.xml b/styles/arduino.xml index d9891dc..00140d5 100644 --- a/styles/arduino.xml +++ b/styles/arduino.xml @@ -15,4 +15,4 @@ - \ No newline at end of file + diff --git a/styles/autumn.xml b/styles/autumn.xml index 74d2eae..1f2ae3e 100644 --- a/styles/autumn.xml +++ b/styles/autumn.xml @@ -33,4 +33,4 @@ - \ No newline at end of file + diff --git a/styles/average.xml b/styles/average.xml index 79bdb95..64393b9 100644 --- a/styles/average.xml +++ b/styles/average.xml @@ -71,4 +71,4 @@ - \ No newline at end of file + diff --git a/styles/borland.xml b/styles/borland.xml index 0d8f574..ba13dbe 100644 --- a/styles/borland.xml +++ b/styles/borland.xml @@ -23,4 +23,4 @@ - \ No newline at end of file + diff --git a/styles/bw.xml b/styles/bw.xml index fb0e868..737b668 100644 --- a/styles/bw.xml +++ b/styles/bw.xml @@ -20,4 +20,4 @@ - \ No newline at end of file + diff --git a/styles/catppuccin-frappe.xml b/styles/catppuccin-frappe.xml index 0adf1ba..1d59863 100644 --- a/styles/catppuccin-frappe.xml +++ b/styles/catppuccin-frappe.xml @@ -80,4 +80,4 @@ - \ No newline at end of file + diff --git a/styles/catppuccin-latte.xml b/styles/catppuccin-latte.xml index 3ea767f..95f933c 100644 --- a/styles/catppuccin-latte.xml +++ b/styles/catppuccin-latte.xml @@ -80,4 +80,4 @@ - \ No newline at end of file + diff --git a/styles/catppuccin-macchiato.xml b/styles/catppuccin-macchiato.xml index 6b50028..02f61e2 100644 --- a/styles/catppuccin-macchiato.xml +++ b/styles/catppuccin-macchiato.xml @@ -80,4 +80,4 @@ - \ No newline at end of file + diff --git a/styles/catppuccin-mocha.xml b/styles/catppuccin-mocha.xml index 9a40191..6bfefac 100644 --- a/styles/catppuccin-mocha.xml +++ b/styles/catppuccin-mocha.xml @@ -80,4 +80,4 @@ - \ No newline at end of file + diff --git a/styles/colorful.xml b/styles/colorful.xml index 32442d7..9468ec4 100644 --- a/styles/colorful.xml +++ b/styles/colorful.xml @@ -49,4 +49,4 @@ - \ No newline at end of file + diff --git a/styles/doom-one.xml b/styles/doom-one.xml index 1f5127e..70eb389 100644 --- a/styles/doom-one.xml +++ b/styles/doom-one.xml @@ -48,4 +48,4 @@ - \ No newline at end of file + diff --git a/styles/doom-one2.xml b/styles/doom-one2.xml index f47deba..d4a90cb 100644 --- a/styles/doom-one2.xml +++ b/styles/doom-one2.xml @@ -61,4 +61,4 @@ - \ No newline at end of file + diff --git a/styles/dracula.xml b/styles/dracula.xml index 9df7da1..b231b51 100644 --- a/styles/dracula.xml +++ b/styles/dracula.xml @@ -71,4 +71,4 @@ - \ No newline at end of file + diff --git a/styles/emacs.xml b/styles/emacs.xml index 981ce8e..6604ee4 100644 --- a/styles/emacs.xml +++ b/styles/emacs.xml @@ -41,4 +41,4 @@ - \ No newline at end of file + diff --git a/styles/evergarden.xml b/styles/evergarden.xml index da1d9b8..f8d710c 100644 --- a/styles/evergarden.xml +++ b/styles/evergarden.xml @@ -30,4 +30,4 @@ - \ No newline at end of file + diff --git a/styles/friendly.xml b/styles/friendly.xml index f498010..8fd4a5f 100644 --- a/styles/friendly.xml +++ b/styles/friendly.xml @@ -41,4 +41,4 @@ - \ No newline at end of file + diff --git a/styles/fruity.xml b/styles/fruity.xml index bcc06aa..90db2e2 100644 --- a/styles/fruity.xml +++ b/styles/fruity.xml @@ -16,4 +16,4 @@ - \ No newline at end of file + diff --git a/styles/github-dark.xml b/styles/github-dark.xml index 711aeaf..cd22a01 100644 --- a/styles/github-dark.xml +++ b/styles/github-dark.xml @@ -42,4 +42,4 @@ - \ No newline at end of file + diff --git a/styles/github.xml b/styles/github.xml index e7caee7..425d995 100644 --- a/styles/github.xml +++ b/styles/github.xml @@ -41,4 +41,4 @@ - \ No newline at end of file + diff --git a/styles/gruvbox-light.xml b/styles/gruvbox-light.xml index 8c4f064..834bb26 100644 --- a/styles/gruvbox-light.xml +++ b/styles/gruvbox-light.xml @@ -30,4 +30,4 @@ - \ No newline at end of file + diff --git a/styles/gruvbox.xml b/styles/gruvbox.xml index 2f6a0a2..7e55fd0 100644 --- a/styles/gruvbox.xml +++ b/styles/gruvbox.xml @@ -30,4 +30,4 @@ - \ No newline at end of file + diff --git a/styles/hr_high_contrast.xml b/styles/hr_high_contrast.xml index 61cde20..a65ecbf 100644 --- a/styles/hr_high_contrast.xml +++ b/styles/hr_high_contrast.xml @@ -9,4 +9,4 @@ - \ No newline at end of file + diff --git a/styles/hrdark.xml b/styles/hrdark.xml index bc7a6f3..5778bae 100644 --- a/styles/hrdark.xml +++ b/styles/hrdark.xml @@ -7,4 +7,4 @@ - \ No newline at end of file + diff --git a/styles/igor.xml b/styles/igor.xml index 773c83b..c8d627c 100644 --- a/styles/igor.xml +++ b/styles/igor.xml @@ -6,4 +6,4 @@ - \ No newline at end of file + diff --git a/styles/lovelace.xml b/styles/lovelace.xml index e336c93..c29ec0a 100644 --- a/styles/lovelace.xml +++ b/styles/lovelace.xml @@ -50,4 +50,4 @@ - \ No newline at end of file + diff --git a/styles/manni.xml b/styles/manni.xml index 99324bd..9650090 100644 --- a/styles/manni.xml +++ b/styles/manni.xml @@ -41,4 +41,4 @@ - \ No newline at end of file + diff --git a/styles/modus-operandi.xml b/styles/modus-operandi.xml index 023137a..4f8841f 100644 --- a/styles/modus-operandi.xml +++ b/styles/modus-operandi.xml @@ -10,4 +10,4 @@ - \ No newline at end of file + diff --git a/styles/modus-vivendi.xml b/styles/modus-vivendi.xml index 8da663d..a5cddbb 100644 --- a/styles/modus-vivendi.xml +++ b/styles/modus-vivendi.xml @@ -10,4 +10,4 @@ - \ No newline at end of file + diff --git a/styles/monokai.xml b/styles/monokai.xml index 1a789dd..6de110b 100644 --- a/styles/monokai.xml +++ b/styles/monokai.xml @@ -26,4 +26,4 @@ - \ No newline at end of file + diff --git a/styles/monokailight.xml b/styles/monokailight.xml index 85cd23e..d493a3a 100644 --- a/styles/monokailight.xml +++ b/styles/monokailight.xml @@ -23,4 +23,4 @@ - \ No newline at end of file + diff --git a/styles/murphy.xml b/styles/murphy.xml index 112d620..c3d7b81 100644 --- a/styles/murphy.xml +++ b/styles/murphy.xml @@ -49,4 +49,4 @@ - \ No newline at end of file + diff --git a/styles/native.xml b/styles/native.xml index 43eea7f..e9eb4c0 100644 --- a/styles/native.xml +++ b/styles/native.xml @@ -32,4 +32,4 @@ - \ No newline at end of file + diff --git a/styles/paraiso-dark.xml b/styles/paraiso-dark.xml index 788db3f..3dd0c45 100644 --- a/styles/paraiso-dark.xml +++ b/styles/paraiso-dark.xml @@ -34,4 +34,4 @@ - \ No newline at end of file + diff --git a/styles/paraiso-light.xml b/styles/paraiso-light.xml index 06a63ba..38c5803 100644 --- a/styles/paraiso-light.xml +++ b/styles/paraiso-light.xml @@ -34,4 +34,4 @@ - \ No newline at end of file + diff --git a/styles/pastie.xml b/styles/pastie.xml index a3b0abd..247d3b1 100644 --- a/styles/pastie.xml +++ b/styles/pastie.xml @@ -42,4 +42,4 @@ - \ No newline at end of file + diff --git a/styles/perldoc.xml b/styles/perldoc.xml index 9e5564c..3682843 100644 --- a/styles/perldoc.xml +++ b/styles/perldoc.xml @@ -34,4 +34,4 @@ - \ No newline at end of file + diff --git a/styles/rainbow_dash.xml b/styles/rainbow_dash.xml index 5b0fe49..e573b19 100644 --- a/styles/rainbow_dash.xml +++ b/styles/rainbow_dash.xml @@ -37,4 +37,4 @@ - \ No newline at end of file + diff --git a/styles/rrt.xml b/styles/rrt.xml index 5f1daaa..1e3a4f9 100644 --- a/styles/rrt.xml +++ b/styles/rrt.xml @@ -10,4 +10,4 @@ - \ No newline at end of file + diff --git a/styles/solarized-dark.xml b/styles/solarized-dark.xml index a3cf46f..1db553b 100644 --- a/styles/solarized-dark.xml +++ b/styles/solarized-dark.xml @@ -36,4 +36,4 @@ - \ No newline at end of file + diff --git a/styles/solarized-dark256.xml b/styles/solarized-dark256.xml index 977cfbe..c646d5d 100644 --- a/styles/solarized-dark256.xml +++ b/styles/solarized-dark256.xml @@ -38,4 +38,4 @@ - \ No newline at end of file + diff --git a/styles/solarized-light.xml b/styles/solarized-light.xml index 4fbc1d4..b58fb2f 100644 --- a/styles/solarized-light.xml +++ b/styles/solarized-light.xml @@ -14,4 +14,4 @@ - \ No newline at end of file + diff --git a/styles/swapoff.xml b/styles/swapoff.xml index 8a398df..3b701ad 100644 --- a/styles/swapoff.xml +++ b/styles/swapoff.xml @@ -15,4 +15,4 @@ - \ No newline at end of file + diff --git a/styles/tango.xml b/styles/tango.xml index 5ca46bb..265100a 100644 --- a/styles/tango.xml +++ b/styles/tango.xml @@ -69,4 +69,4 @@ - \ No newline at end of file + diff --git a/styles/tokyonight-day.xml b/styles/tokyonight-day.xml index c20d9a4..54fc3e3 100644 --- a/styles/tokyonight-day.xml +++ b/styles/tokyonight-day.xml @@ -80,4 +80,4 @@ - \ No newline at end of file + diff --git a/styles/tokyonight-night.xml b/styles/tokyonight-night.xml index c798bad..3250d39 100644 --- a/styles/tokyonight-night.xml +++ b/styles/tokyonight-night.xml @@ -80,4 +80,4 @@ - \ No newline at end of file + diff --git a/styles/tokyonight-storm.xml b/styles/tokyonight-storm.xml index c081152..60f8b5c 100644 --- a/styles/tokyonight-storm.xml +++ b/styles/tokyonight-storm.xml @@ -80,4 +80,4 @@ - \ No newline at end of file + diff --git a/styles/trac.xml b/styles/trac.xml index 9f1d266..cd43ee0 100644 --- a/styles/trac.xml +++ b/styles/trac.xml @@ -32,4 +32,4 @@ - \ No newline at end of file + diff --git a/styles/vim.xml b/styles/vim.xml index fec6934..07179a2 100644 --- a/styles/vim.xml +++ b/styles/vim.xml @@ -26,4 +26,4 @@ - \ No newline at end of file + diff --git a/styles/vs.xml b/styles/vs.xml index 5643501..60ec3cc 100644 --- a/styles/vs.xml +++ b/styles/vs.xml @@ -13,4 +13,4 @@ - \ No newline at end of file + diff --git a/styles/witchhazel.xml b/styles/witchhazel.xml index 52f2299..c7dc434 100644 --- a/styles/witchhazel.xml +++ b/styles/witchhazel.xml @@ -28,4 +28,4 @@ - \ No newline at end of file + diff --git a/styles/xcode-dark.xml b/styles/xcode-dark.xml index 9343979..2432446 100644 --- a/styles/xcode-dark.xml +++ b/styles/xcode-dark.xml @@ -28,4 +28,4 @@ - \ No newline at end of file + diff --git a/styles/xcode.xml b/styles/xcode.xml index 523d746..2a705bf 100644 --- a/styles/xcode.xml +++ b/styles/xcode.xml @@ -19,4 +19,4 @@ - \ No newline at end of file +