Commit Graph

42003 Commits

Author SHA1 Message Date
cat-master21
2d1fec4686
WIP: only use an SVG for linux
Signed-off-by: cat-master21 <96554164+cat-master21@users.noreply.github.com>
2024-04-13 10:17:56 -07:00
Andrew Dupont
5d6af88dd7 [language-python] Fix highlighting of some constructors 2024-04-11 20:39:26 -07:00
Andrew Dupont
03af1244d3 [language-python] Prevent type annotations from hinting at indents 2024-04-11 17:53:25 -07:00
Andrew Dupont
f7dbe7344a
Merge pull request #970 from savetheclocktower/comment-delimiter-metadata
Add a `TextEditor` method for retrieving comment delimiters…
2024-04-09 20:22:10 -07:00
confused-Techie
d697005b6c Make window to theme syncing configurable 2024-04-09 20:04:06 -07:00
Andrew Dupont
8145f06c5b Make TreeSitterLanguageMode::commentStringsForPosition
…_minimally_ support the new contract.

Some of the edge cases here aren't fixed, but this is good enough for a type of grammar whose days are numbered anyway.
2024-04-07 21:41:48 -07:00
Andrew Dupont
911a8d6fac Remove unused function 2024-04-07 21:14:24 -07:00
Andrew Dupont
769b86ed38 Rename method to getCommentDelimitersForBufferPosition
…as much as it pains me to do so.
2024-04-06 16:38:03 -07:00
Andrew Dupont
035595d1c2 Add TextEditor specs for new getCommentDelimitersForPosition 2024-04-06 16:36:13 -07:00
Andrew Dupont
0e41a3de8a Add specs for comment delimiters 2024-04-06 16:11:39 -07:00
Andrew Dupont
91bd970383 Improve handling of comment metadata edge cases 2024-04-06 16:03:39 -07:00
Andrew Dupont
a3fa3ee56d Rename comment-delimiter-utils.js to comment-utils.js 2024-04-06 13:36:16 -07:00
Andrew Dupont
e7b6265ecf Rename comment utility methods 2024-04-06 13:35:24 -07:00
Andrew Dupont
77260334fe Rewrite WASMTreeSitterGrammar::getCommentDelimiters
…so that it does a settings lookup and returns normalized data like its `LanguageMode` siblings.
2024-04-06 13:33:09 -07:00
Andrew Dupont
b9ee65f6a3 Add extensive comment delimiter metadata to most built-in grammars 2024-04-06 13:00:55 -07:00
DeeDeeG
ace4180d9f
Merge pull request #957 from pulsar-edit/rework-windows-path-modification
[core] (Windows) Remove all `Machine` PATH handling, add safety mechanisms
2024-04-06 15:41:43 -04:00
Andrew Dupont
bf62b01757 [language-typescript] Fix scopes on type annotations…
…so they don’t also apply to namespaced TSX tags.
2024-04-05 10:05:33 -07:00
Andrew Dupont
93ed91716b [language-typescript] Change scopes for template string punctuation…
…to match the names we use in JavaScript.
2024-04-04 17:20:20 -07:00
Andrew Dupont
cc42807574 [language-typescript] Add scope names to namespaced events…
…and a `meta` scope to every type annotation.
2024-04-04 17:18:18 -07:00
Andrew Dupont
27ee8b3edf [language-gfm] Fix name of modern grammar for Markdown 2024-04-04 15:59:52 -07:00
Andrew Dupont
ca0b1d7bb1 [language-typescript] Improve highlighting of TSX fragments 2024-04-03 23:41:58 -07:00
Andrew Dupont
22b27afd32 [language-(java|type)script] Highlight wildcard export specifiers…
…like `export * from 'foo'`.
2024-04-03 23:32:48 -07:00
Andrew Dupont
9583449e57 [language-gfm] Replace the modern Tree-sitter GFM grammar…
…with one based on a better parser.

The `ikatyang` parser is great… until multi-byte input comes into play, or some other construct it doesn't understand. It doesn't have any way to recover when it hits those cases; it just throws exceptions, and WASM can't catch them.

The `MDeiml` parser for Markdown had one deal-breaking issue (https://github.com/tree-sitter-grammars/tree-sitter-markdown/issues/92), and once that got solved, it emerged as the clear victor.

Several people have been using this grammar as `language-markdown-alpha` on the repository, and none of them have encountered any problems of the sort they did with the `ikatyang` parser.
2024-04-03 23:16:25 -07:00
Andrew Dupont
a8fb526fa2 [language-bash] Fix injectionRegex for bash grammar 2024-04-03 22:59:16 -07:00
cat-master21
d41f999959
feat: add screenshot image to metadata 2024-03-31 17:21:35 -07:00
cat-master21
f6c9180872
feat: add linux screenshot 2024-03-31 11:53:36 -07:00
cat-master21
1bd0c29f17
Merge branch 'pulsar-edit:master' into patch-1 2024-03-31 11:49:28 -07:00
cat-master21
9115431011
chore: remove extra line 2024-03-31 11:49:06 -07:00
cat-master21
cc2188fe74
feat: add new window action & application/x-zerosize 2024-03-31 11:38:34 -07:00
cat-master21
285421db3d
feat: backport changes from Flathub PR 2024-03-29 15:10:01 -07:00
confused-Techie
22bfa5c038 Much more logging, compatibility with Machine Installs 2024-03-26 02:24:21 -07:00
confused-Techie
eda5443bda Ensure script can launch, override path values on logging, add reboot warning 2024-03-25 16:58:06 -07:00
confused_techie
1e658d0735 Fix un-removed variable 2024-03-25 07:21:10 -07:00
DeeDeeG
7740b2f168
Merge pull request #964 from pulsar-edit/v1.115.0-release
1.115.0 Release
2024-03-23 00:04:20 -04:00
DeeDeeG
3b8b46a6c3 Add -dev back to the version string 2024-03-23 00:01:06 -04:00
DeeDeeG
c1d04287dd meta: Update version in package.json to 1.115.0 2024-03-22 21:06:16 -04:00
DeeDeeG
997a2a955c
Merge pull request #962 from pulsar-edit/1.115.0-changelog
1.115.0 Changelog Entries
2024-03-22 21:00:36 -04:00
DeeDeeG
d3853eee34 changelog: Adjust/add changelog entry for PR 956 2024-03-22 20:16:06 -04:00
DeeDeeG
219e42da38 changelog: Fix typo in a contributor's GitHub handle 2024-03-22 20:12:11 -04:00
confused_techie
657026a11e 1.115.0 Changelog Entries 2024-03-22 07:22:08 -07:00
Andrew Dupont
7811c41a6a
Merge pull request #956 from pulsar-edit/tree-sitter-ruby-folds
Fixed folds for Ruby
2024-03-21 20:30:13 -07:00
Andrew Dupont
953c1e265c Remove stale comments 2024-03-21 16:03:31 -07:00
Andrew Dupont
15b3a49703 [language-hyperlink] Allow includeChildren option…
…when defining hyperlink injection.
2024-03-21 16:02:51 -07:00
Andrew Dupont
4c5ef99281 [language-typescript] Add highlighting for regular expressions
(Apologies for this oversight.)
2024-03-21 16:01:32 -07:00
Maurício Szabo
ab2df0ebf1
Merge branch 'master' into tree-sitter-ruby-folds 2024-03-21 19:49:02 -03:00
Andrew Dupont
1481d392bd
Merge pull request #941 from savetheclocktower/tree-sitter-march
Tree-sitter rolling fixes: 1.115 edition
2024-03-19 18:56:08 -07:00
Andrew Dupont
6fe8e5377a Address feedback 2024-03-19 18:55:31 -07:00
DeeDeeG
bc6888ccdb
Merge pull request #960 from pulsar-edit/cirrus-update-Rolling-token-again
cirrus: Update Rolling upload token again
2024-03-19 21:31:40 -04:00
DeeDeeG
4940e206db
Merge pull request #961 from pulsar-edit/cirrus-macOS-fixes
cirrus: Various fixes for macOS Cirrus CI
2024-03-19 21:28:40 -04:00
DeeDeeG
01bf81772a cirrus: Various fixes for macOS Cirrus CI
- Pin the base (CI-provided) OS image to Ventura, not Sonoma
  - Fixes some C/C++ compilation errors??
  - Gives us older XCode & compiler toolchain, I guess?
- Get node using tj/n utility, not Homebrew
  - Homebrew "node" package is conflicting with (now deprecated)
    "node@16" package, loading dynamic libraries like icu4c
    keeps breaking...
- Get Yarn using npm global install, not from Homebrew
  - I... honestly don't even know at this point. But Yarn from Homebrew
    is breaking somehow, possibly due to it referring back to Homebrew
    "node" package, but _that's just a guess_. It's cursed, I guess.
- Get python-setuptools from Homebrew, not from pip
  - Why? Why is this necessary? Homebrew, explain? Something about our
    "environment being externally managed", so global package installs
    with pip aren't allowed. This makes sense to someone. See PEP 668.
- Adjust PATH exports now that there's no "node@16" from Homebrew
2024-03-19 14:01:26 -04:00