Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken syntax coloring in Ruby on list used as default parameter #104423

Closed
matkoniecz opened this issue Aug 11, 2020 · 1 comment
Closed

broken syntax coloring in Ruby on list used as default parameter #104423

matkoniecz opened this issue Aug 11, 2020 · 1 comment
Assignees
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream

Comments

@matkoniecz
Copy link
Contributor

matkoniecz commented Aug 11, 2020

Issue Type: Bug

screen03

module CartoCSSHelper
  def self.test_tag_on_real_data(tags, new_branch, old_branch, zlevels, types = ['node', 'closed_way', 'way'], min = 4, skip = 0)
    types.each do |type|
      test_tag_on_real_data_for_this_type(tags, new_branch, old_branch, zlevels, type, min, skip)
    end
  end
end

It is a valid syntax that will confuse code highlighting

VS Code version: VSCodium 1.47.3 (91899dc, 2020-07-28T10:50:43.978Z)
OS version: Linux x64 5.4.0-42-generic

System Info
Item Value
CPUs Intel(R) Core(TM)2 Duo CPU T6600 @ 2.20GHz (2 x 2194)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: disabled_off
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: disabled_off_ok
video_decode: unavailable_off
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 3.81GB (0.11GB free)
Process Argv --no-sandbox --unity-launch /home/mateusz/Documents/install_moje/OSM software/bicycle_osm/clearing_cache_run_znajdywanie_celów.sh
Screen Reader no
VM 0%
DESKTOP_SESSION Lubuntu
XDG_CURRENT_DESKTOP LXQt
XDG_SESSION_DESKTOP
XDG_SESSION_TYPE x11
Extensions (3)
Extension Author (truncated) Version
kotlin fwc 0.2.14
csharp ms- 1.22.1
vscode-unitymeta PTD 0.0.7
@alexr00
Copy link
Member

alexr00 commented Aug 13, 2020

Moved to the repo we get our syntax highlighting grammar from: textmate/ruby.tmbundle#135

@alexr00 alexr00 closed this as completed Aug 13, 2020
@alexr00 alexr00 added grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream labels Aug 13, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Sep 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream
Projects
None yet
Development

No branches or pull requests

3 participants