python triple single quotes pair (#256)

* added python ''' pair

* added python tripple singe quotes pair
This commit is contained in:
altermo 2022-08-06 19:27:49 +02:00 committed by GitHub
parent 8f7f682caa
commit ca89ab9e7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,7 @@ local function setup(opt)
:only_cr()
:use_regex(true),
Rule('"""', '"""', { 'python', 'elixir', 'julia', 'kotlin' }),
Rule("'''", "'''", { 'python' }),
basic("'", "'", '-rust')
:with_pair(cond.not_before_regex("%w")),
basic("'", "'", 'rust')