Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #39 from 1c-syntax/develop
Browse files Browse the repository at this point in the history
1.6.6
  • Loading branch information
nixel2007 authored May 29, 2023
2 parents e383886 + 289454b commit c32e3b6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Join the chat at https://gitter.im/xDrivenDevelopment/1c-syntax](https://badges.gitter.im/xDrivenDevelopment/1c-syntax.svg)](https://gitter.im/xDrivenDevelopment/1c-syntax?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![GitHub release](https://img.shields.io/github/release/xDrivenDevelopment/atom-language-1c-bsl.svg)](https://github.com/xDrivenDevelopment/atom-language-1c-bsl/blob/master/CHANGELOG.md)
[![Dependency Status](https://gemnasium.com/badges/github.com/xDrivenDevelopment/atom-language-1c-bsl.svg)](https://gemnasium.com/github.com/xDrivenDevelopment/atom-language-1c-bsl)
[![Greenkeeper badge](https://badges.greenkeeper.io/xDrivenDevelopment/atom-language-1c-bsl.svg)](https://greenkeeper.io/)


Добавляет подсветку встроенного языка 1С:Предпрятие 8 файлам \*.bsl и \*.os - синтаксис `1C (BSL)`.
Добавляет подсветку текста запросов языка запросов 1С: внутри текста модуля или отдельно - синтаксис `1C (Query)`.
Expand Down
6 changes: 5 additions & 1 deletion grammars/1c.cson
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ patterns: [
name: "variable.assignment.bsl"
"2":
name: "keyword.operator.assignment.bsl"
end: "(?=;)"
end: "(?i:(?=(;|Иначе|Конец|Els|End)))"
patterns: [
{
include: "#basic"
Expand All @@ -131,6 +131,10 @@ patterns: [
name: "keyword.control.import.bsl"
match: "(?i)#(Использовать|Use)(?=[^\\wа-яё\\.]|$)"
}
{
name: "keyword.control.native.bsl"
match: "(?i)#native"
}
{
name: "keyword.control.bsl"
match: "(?i:(?<=[^\\wа-яё\\.]|^)(Прервать|Break|Продолжить|Continue|Возврат|Return)(?=[^\\wа-яё\\.]|$))"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "language-1c-bsl",
"main": "./lib/language-1c-bsl",
"author": "Nikita Gryzlov <[email protected]>",
"version": "1.6.5",
"version": "1.6.6",
"description": "Provides syntax highlighting for 1C:Enterprise 8 (1S:Enterprise 8)",
"keywords": [
"grammar",
Expand All @@ -15,7 +15,7 @@
"atom": ">=1.0.0 <2.0.0"
},
"dependencies": {
"atom-linter": "^9.0.1",
"atom-linter": "^10.0.0",
"atom-package-deps": "^4.3.1"
},
"devDependencies": {
Expand Down

0 comments on commit c32e3b6

Please sign in to comment.