pulsar/spec
Clayton Carter ae03e1e9ba fix(tree-sitter): pass node text to grammar
This fixes a subtle breaking change in the WASM tree-sitter modes that
affected the semanticolor package. (And probably only that package.)

Although the node text is unused in `idForScope` in the core editor, the
legacy tree-sitter mode was specifically modified to pass the node text
into `idForScope` so that the semanticolor package could make use of it
to give custom scopes (and thus colors) to different symbols. (On
activation, semanticolor monkey patches that method in relevant
grammars.)

This alone is not enough to get sematicolor working with Pulsar's new
WASM tree-sitter modes, but it's one piece of the puzzle.

Ref: 97b905a2b0
Ref: https://github.com/atom/atom/pull/20212
Ref: 1bf7fc4025/src/tree-sitter-language-mode.js (L1321-L1324)
Ref: d219ef9a1f/lib/semanticolor-grammar.js (L44-L65)
2024-01-16 07:42:16 -05:00
..
fixtures Get PackageManager specs passing 2024-01-07 15:35:07 -08:00
helpers Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
main-process Fix a spec to expect 'Pulsar', not 'Atom' (#116) 2022-11-09 22:08:24 -05:00
.eslintrc.js Get Workspace specs passing 2024-01-07 15:35:08 -08:00
application-delegate-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
async-spec-helpers.js support sync conditions 2021-01-21 21:20:44 +03:00
atom-environment-spec.js Rewrite, and simplify 2023-06-14 17:17:20 -07:00
atom-paths-spec.js Added failing tests from atom-paths-spec.js 2022-09-24 23:56:33 -07:00
atom-protocol-handler-spec.js Decaffeinate specs (#21546) 2020-10-30 16:40:57 +03:00
atom-reporter.js Decaffeinate 2022-09-05 14:13:39 -07:00
babel-spec.js Decaffeinate specs (#21546) 2020-10-30 16:40:57 +03:00
buffered-node-process-spec.js Decaffeinate specs (#21546) 2020-10-30 16:40:57 +03:00
buffered-process-spec.js Added buffered-process-spec.js 2022-09-24 23:59:58 -07:00
clipboard-spec.js Re-apply prettier JS formatter 2021-09-29 13:41:03 +03:00
command-installer-spec.js Commented command installer 2023-01-05 12:45:50 -03:00
command-registry-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
compile-cache-spec.js Moved usage of coffee-script to coffeescript 2023-01-29 19:44:06 -08:00
config-file-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
config-spec.js Un-focus config specs 2023-07-22 22:05:41 -07:00
context-menu-manager-spec.js Fix bug of Linter error 2021-06-20 00:12:14 +09:00
decoration-manager-spec.js Decaffeinate specs (#21546) 2020-10-30 16:40:57 +03:00
default-directory-provider-spec.js Decaffeinate specs (#21546) 2020-10-30 16:40:57 +03:00
default-directory-searcher-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
deserializer-manager-spec.js Decaffeinate specs (#21546) 2020-10-30 16:40:57 +03:00
dock-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
file-system-blob-store-spec.js Decaffeinate specs (#21546) 2020-10-30 16:40:57 +03:00
git-repository-provider-spec.js 🐛 Recognize git worktree directories as valid git repositories 2019-08-23 14:02:54 -05:00
git-repository-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
grammar-registry-spec.js Make useExperimentalModernTreeSitter the default… 2024-01-07 15:35:07 -08:00
gutter-container-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
gutter-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
history-manager-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
jasmine-junit-reporter.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
jasmine-list-reporter.js Fixed reporter 2023-01-05 11:53:50 -03:00
jasmine-test-runner.js Added a new way to filter for tests 2023-01-04 21:37:03 -03:00
keymap-extensions-spec.js Decaffeinate specs (#21546) 2020-10-30 16:40:57 +03:00
menu-manager-spec.js Fix bug of Linter error 2021-06-20 00:12:14 +09:00
menu-sort-helpers-spec.js Fix typo in menu-sort-helpers-spec.js (#22032) 2021-03-26 08:33:44 +03:00
module-cache-spec.js Decaffeinate specs (#21546) 2020-10-30 16:40:57 +03:00
native-compile-cache-spec.js Decaffeinate 2022-09-05 14:13:39 -07:00
native-watcher-registry-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
notification-manager-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
notification-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
package-manager-spec.js Get PackageManager specs passing 2024-01-07 15:35:07 -08:00
package-spec.js Removed tests related to caching incompatible things 2023-05-09 21:07:44 -03:00
package-transpilation-registry-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
pane-axis-element-spec.js Decaffeinate specs (#21546) 2020-10-30 16:40:57 +03:00
pane-container-element-spec.js Spec cleanup 2021-07-20 22:27:18 +03:00
pane-container-spec.js Add prevent option to ::onWillDestroyPaneItem 2021-09-06 21:12:47 +02:00
pane-element-spec.js Revert "Only allow drag-and-drop to succeed on panes in the center workspace" 2021-10-25 18:14:08 +01:00
pane-spec.js Add prevent option to ::onWillDestroyPaneItem 2021-09-06 21:12:47 +02:00
panel-container-element-spec.js Destroy panels after test. 2022-09-04 15:30:51 -07:00
panel-container-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
panel-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
path-watcher-spec.js Revert "add delay to watch-path tests to make them less flaky" 2019-06-14 15:28:48 -04:00
project-spec.js Revert "Disable flaky spec on Windows until we can identify a proper fix" 2019-06-14 11:20:37 -04:00
reopen-project-menu-manager-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
scope-resolver-spec.js fix(tree-sitter): pass node text to grammar 2024-01-16 07:42:16 -05:00
selection-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
spec-helper-functions.js Separated mockDebounce to new spec-helper-functions.js and added more comments 2022-09-06 16:29:08 -07:00
spec-helper-platform.js Decaffeinate specs (#21546) 2020-10-30 16:40:57 +03:00
spec-helper.js Avoiding specs that have no spec file 2023-01-27 16:21:35 -03:00
state-store-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
style-manager-spec.js Incorrect spec added 2023-07-25 16:54:17 -07:00
styles-element-spec.js Migrate to custom elements 2021-07-20 17:15:27 +03:00
syntax-scope-map-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
task-spec.js Decaffeinate specs (#21546) 2020-10-30 16:40:57 +03:00
text-editor-component-spec.js Added text-editor-component-spec.js 2022-09-25 00:13:28 -07:00
text-editor-element-spec.js Use custom element on text editor element 2021-08-18 12:55:00 +03:00
text-editor-registry-spec.js Get TextEditorRegistry specs passing 2024-01-07 15:35:07 -08:00
text-editor-spec.js Fix memory access error on autocomplete-html specs 2024-01-07 15:35:08 -08:00
text-mate-language-mode-spec.js Restore core.useTreeSitterParsers setting… 2023-04-26 17:46:02 -07:00
text-utils-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
theme-manager-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
title-bar-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
tooltip-manager-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
tree-indenter-spec.js Added: tree-indenter-spec.js 2022-09-25 00:15:10 -07:00
tree-sitter-language-mode-spec.js Make useExperimentalModernTreeSitter the default… 2024-01-07 15:35:07 -08:00
typescript-spec.js Decaffeinate specs (#21546) 2020-10-30 16:40:57 +03:00
ui-spec.js Add missing path delimiter 2023-11-08 19:55:11 -08:00
update-process-env-spec.js Merge branch 'master' into pr/67 2022-06-30 00:32:26 -07:00
uri-handler-registry-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
view-registry-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
wasm-tree-sitter-language-mode-spec.js Oops 2024-01-11 15:07:11 -08:00
window-event-handler-spec.js Debounce the resize event handler 2019-06-28 18:51:43 +02:00
workspace-center-spec.js Reformat all JS files using prettier 2019-05-31 18:33:56 +02:00
workspace-element-spec.js Added workspace-element-spec.js 2022-09-25 00:22:51 -07:00
workspace-spec.js Address feedback 2024-01-10 20:47:51 -08:00