Commit Graph

369 Commits (05c11964fc13b039f3797a8161aac642e3be30c7)

Author SHA1 Message Date
Layle | Luca 51c7eb7ac1
Included LLVM syntax highlighting submodule and added regression tests 3 years ago
Keith Hall 6d5ff671e7 Add HTTP Request/Response syntax as a git submodule 3 years ago
Martin Nordholts b040efff79 Support a hidden arg --no-custom-assets that skips loading assets from the cache 3 years ago
Martin Nordholts a81009607a HighlightingAssets: Make .syntaxes() and syntax_for_file_name() failable
Or rather, introduce new versions of these methods and deprecate the old ones.

This is preparation to enable robust and user-friendly support for lazy-loading.
With lazy-loading, we don't know if the SyntaxSet is valid until after we try to
use it, so wherever we try to use it, we need to return a Result. See discussion
about panics in #1747.
3 years ago
Sarvesh MD f464b1ba39 Update battest.py
Add decorator test `@classmethod` and fixed spellings.
3 years ago
Ville Skyttä 7537e309d8 Add groff syntax
The syntax is named "Man Page" upstream, but our man page syntax is
different, it's for rendered man pages. Rename to Groff and remove
`.man` from extensions.
3 years ago
David Peter 64763eafbe Update Julia syntax test 3 years ago
Ville Skyttä ddb39ef2f6 Add syntax tests for ignored filename suffixes 3 years ago
Mohamed Abdelnour 12ecb325c9 Modify Linguist overrides 3 years ago
Mohamed Abdelnour c18afcb01a Add Verilog syntax test file 3 years ago
Mohamed Abdelnour 63043d4a60 Add varlink syntax test file 3 years ago
Mohamed Abdelnour 76034880ae Add TypeScriptReact syntax test file 3 years ago
Mohamed Abdelnour 768189859a Add Stylus syntax test file 3 years ago
Mohamed Abdelnour 6e5a2a5c51 Add Strace syntax test file 3 years ago
Mohamed Abdelnour 9935c4984c Add Robot Framework syntax test file 3 years ago
Mohamed Abdelnour a0a5e30c39 Add Rego syntax test file 3 years ago
Mohamed Abdelnour 4126bbeead Add Puppet syntax test file 3 years ago
Mohamed Abdelnour a5b79295d7 Add NAnt Build File syntax test file 3 years ago
Mohamed Abdelnour e917784932 Add Literate Haskell syntax test file 3 years ago
Mohamed Abdelnour f46b90d28d Add jsonnet syntax test file 3 years ago
Mohamed Abdelnour 64cbfbed47 Add Java Server Page (JSP) syntax test file 3 years ago
Mohamed Abdelnour 1ced35ec76 Add 'NOTICE' to list of file names to skip 3 years ago
Mohamed Abdelnour 16d346773b Add Fortran Namelist syntax test file 3 years ago
Mohamed Abdelnour b02120cf66 Add Fortran (Fixed Form) syntax test file 3 years ago
Mohamed Abdelnour 702b5caf2d Add Fortran (Modern) syntax test file 3 years ago
Mohamed Abdelnour d395f64f58 Add F# syntax test file 3 years ago
Mohamed Abdelnour c9627040cc Add CoffeeScript syntax test file 3 years ago
Mohamed Abdelnour b1f69434f9 Add Cabal syntax test file 3 years ago
Mohamed Abdelnour 8435cad602 Merge master 3 years ago
Mohamed Abdelnour 8b6341458b Add XAML test file 3 years ago
Mohamed Abdelnour 8b787b4f70 Add dash test file 3 years ago
David Peter bfa9c3bef6
Merge branch 'master' into feature/dark_plus_theme 3 years ago
David Peter 2904f24ea8
Merge pull request #1606 from sharkdp/syslog
Improve Syslog and general log file highlighting
3 years ago
Ersikan e219c8fc03 Update SublimeEthereum version
A fix I submitted upstream was merged, and this commit bumps the submodule
to include it.
3 years ago
Ersikan 9eb26b702c Add syntax test for Vyper language 3 years ago
Ersikan c933be926d Add syntax tests for Solidity language. 3 years ago
David Peter 5db3c93057
Merge branch 'master' into syslog 3 years ago
David Peter aa442b5795
Merge branch 'master' into feature/dark_plus_theme 3 years ago
Keith Hall 848ceb6f10 Remove variable.other from CSV highlighting 3 years ago
Keith Hall 3559079de0 Improvements to CSV highlighting 3 years ago
Keith Hall 7c4edacb2b Add independent log syntax 4 years ago
Keith Hall 782ede5db5 improve syslog syntax 4 years ago
Keith Hall 1537733e6b replace Syslog dependency with a custom syntax 4 years ago
Keith Hall ba0d43672b add example syslog file for highlighting tests 4 years ago
PatriotRossii 0cd52e5be1
Add "Visual Studio Dark+" theme to vec of themes 4 years ago
Sean McLoughlin d89fa3ebc2 Add SystemVerilog support 4 years ago
Niklas Mohrin b8a18d3ebb Use tempfiles for clircle tests 4 years ago
Martin Nordholts 3af3549232 integration_tests: Use tempdir() in config_location_when_generating
For cleaner code.

Use the tempdir() function since that is recommended by the crate docs:
https://docs.rs/tempfile/3.2.0/tempfile/index.html
4 years ago
Martin Nordholts 643f0bcbe3 integration_tests.rs: Add test config_location_when_generating
As a complement to #1556 to prevent #1550 from coming back.

The test purposefully fails if ca60937c2e is reverted.
4 years ago
David Peter ca60937c2e Do not ignore non-existent BAT_CONFIG_PATH
Do not ignore `BAT_CONFIG_PATH` if it doesn't exist. Both when
generating a new config file with `--generate-config-file` and
when attempting to read the config.

Also, provide a better error message in case the file can not
be created.

closes #1550
4 years ago