Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
/language-pythonPublic archive

Update tree-sitter-python + Add missing tree-sitter scopes#325

Merged
darangi merged 14 commits intoatom:masterfromaminya:master
Jan 27, 2021
Merged

Update tree-sitter-python + Add missing tree-sitter scopes#325

darangi merged 14 commits intoatom:masterfromaminya:master
Jan 27, 2021

Conversation

aminya
Copy link
Contributor

@aminyaaminya commentedOct 28, 2020
edited
Loading

Description of the Change

This updates tree-sitter python dependency.

Benefits

Bug fixes:tree-sitter/tree-sitter-python@v0.15.1...v0.17.0

Applicable Issues

Solves some of the open issues regarding syntax highlighting.

Fixes#324
Fixes#134
Fixes#273
Fixes#312

Allows removing the Kite's workaround for tree-sitter:
https://github.com/kiteco/atom-plugin/pull/704

GrayJack, ThatXliner, rpalloni, and darangi reacted with heart emoji
@aminyaaminya changed the title⬆️ Update tree-sitter-pythonUpdate tree-sitter-pythonOct 28, 2020
@aminya
Copy link
ContributorAuthor

@sadick254@darangi Please take a look.

aminyaand others added5 commitsJanuary 8, 2021 11:59
Co-Authored-By: Eric Shimizu Karbstein <17973728+GrayJack@users.noreply.github.com>
Co-Authored-By: Eric Shimizu Karbstein <17973728+GrayJack@users.noreply.github.com>
Co-Authored-By: Eric Shimizu Karbstein <17973728+GrayJack@users.noreply.github.com>
Co-Authored-By: Eric Shimizu Karbstein <17973728+GrayJack@users.noreply.github.com>
Co-Authored-By: Eric Shimizu Karbstein <17973728+GrayJack@users.noreply.github.com>
@aminyaaminya changed the titleUpdate tree-sitter-pythonUpdate tree-sitter-python + Add missing tree-sitter scopesJan 8, 2021
aminyaand others added3 commitsJanuary 8, 2021 12:15
Co-Authored-By: Eric Shimizu Karbstein <17973728+GrayJack@users.noreply.github.com>
Co-Authored-By: Eric Shimizu Karbstein <17973728+GrayJack@users.noreply.github.com>
Co-Authored-By: Eric Shimizu Karbstein <17973728+GrayJack@users.noreply.github.com>
@chbk
Copy link

As a heads-up,#313 also fixes the missing scopes mentioned here. That said, it's part of a larger ecosystem of PRs that might take time to (hopefully) get merged, so I'm glad to see this fixed now.

aminya reacted with thumbs up emoji

@aminya
Copy link
ContributorAuthor

aminya commentedJan 12, 2021
edited
Loading

As a heads-up,#313 also fixes the missing scopes mentioned here. That said, it's part of a larger ecosystem of PRs that might take time to (hopefully) get merged, so I'm glad to see this fixed now.

Thanks for the PR. I only need a few of these commits in my PR so I can close many things here and there. If you can rebase after me, that would be great.

cc:@sadick254

chbk reacted with thumbs up emoji

@ThatXliner
Copy link
Contributor

ThatXliner commentedJan 15, 2021
edited
Loading

What’s the status on this? Because once this is merged, kite should also merge the “remove workaround” (a.k.a. Stop it nagging me). Then I get to enjoy performing:atom: atom 😎

@aminya
Copy link
ContributorAuthor

This is ready to go. We are awaiting one of the maintainers to merge this.
@sadick254@darangi

@ThatXliner
Copy link
Contributor

@jeff-hykin (the reviewer)

@jeff-hykin
Copy link

@ThatXliner Not sure why I'm reviewer, but I added a review 😁

@darangi
Copy link
Contributor

Thanks@aminya , We will look into this

@darangi
Copy link
Contributor

@aminya could you resolve this conflict so I merge this in? Thanks for your contributions 🙇🏾

@aminya
Copy link
ContributorAuthor

Thank you! The conflict was only the deleted travis file.

darangi and ThatXliner reacted with rocket emoji

@darangidarangi merged commit6d7026e intoatom:masterJan 27, 2021
@ThatXlinerThatXliner mentioned this pull requestFeb 1, 2021
@aminyaaminya mentioned this pull requestFeb 1, 2021
'^(BaseException|Exception|TypeError|StopAsyncIteration|StopIteration|ImportError|ModuleNotFoundError|OSError|ConnectionError|BrokenPipeError|ConnectionAbortedError|ConnectionRefusedError|ConnectionResetError|BlockingIOError|ChildProcessError|FileExistsError|FileNotFoundError|IsADirectoryError|NotADirectoryError|InterruptedError|PermissionError|ProcessLookupError|TimeoutError|EOFError|RuntimeError|RecursionError|NotImplementedError|NameError|UnboundLocalError|AttributeError|SyntaxError|IndentationError|TabError|LookupError|IndexError|KeyError|ValueError|UnicodeError|UnicodeEncodeError|UnicodeDecodeError|UnicodeTranslateError|AssertionError|ArithmeticError|FloatingPointError|OverflowError|ZeroDivisionError|SystemError|ReferenceError|BufferError|MemoryError|Warning|UserWarning|DeprecationWarning|PendingDeprecationWarning|SyntaxWarning|RuntimeWarning|FutureWarning|ImportWarning|UnicodeWarning|BytesWarning|ResourceWarning|GeneratorExit|SystemExit|KeyboardInterrupt)$'
scopes:'support.type.exception'}
scopes:'support.type.exception'},
{match:'^(self)',scopes:'entity.name.variable.self'}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

This needs ^(self)\\b otherwise it'll match the self inselfserve and other things

'default_parameter > identifier:nth-child(0)':'variable.parameter.function'
'keyword_argument > identifier:nth-child(0)':'variable.parameter.function'
'lambda_parameters > identifier':'variable.parameter.function'
'typed_parameter > identifier':'variable.parameter.function'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Not sure why.function is on there (aren't parameters always part of a function?)

@jeff-hykin
Copy link

jeff-hykin commentedFeb 13, 2021
edited
Loading

(😬 I was cleaning out my notifications and realized I commented "but I added a review" without clicking "submit" on my review)

@aminya
Copy link
ContributorAuthor

Thanks for the review. Do you want to make a PR to fix these?

@jeff-hykin
Copy link

jeff-hykin commentedFeb 13, 2021
edited
Loading

The first comment should probably be a PR, although that edgecase bug I'm describing probably happens other places too. Its a really common bug with a very very small edgecase. The other comment was just clarification.

Copy link

@MdAbulHossain1MdAbulHossain1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
2 more reviewers

@jeff-hykinjeff-hykinjeff-hykin left review comments

@MdAbulHossain1MdAbulHossain1MdAbulHossain1 left review comments

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
6 participants
@aminya@chbk@ThatXliner@jeff-hykin@darangi@MdAbulHossain1

[8]ページ先頭

©2009-2025 Movatter.jp