Skip to content

Commit 4ce2568

Browse files
committed
refactor: first commit
1 parent 6ff39d2 commit 4ce2568

8 files changed

+1332
-0
lines changed

.vscode/launch.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": "0.0.1",
3+
"configurations": [{
4+
"name": "Extension",
5+
"type": "extensionHost",
6+
"request": "launch",
7+
"runtimeExecutable": "${execPath}",
8+
"args": [
9+
"--extensionDevelopmentPath=${workspaceFolder}"
10+
]
11+
}]
12+
}

.vscodeignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.vscode/**
2+
.gitignore
3+
node_modules

README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# VSCode VimL
2+
3+
[![GitHub issues](https://img.shields.io/github/issues/XadillaX/vscode-language-viml.svg)](https://github.com/XadillaX/vscode-language-viml/issues)
4+
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/XadillaX/vscode-language-viml/blob/master/LICENSE)
5+
[![Version](https://vsmarketplacebadge.apphb.com/version-short/XadillaX.viml.svg?style=flat&color=blue)](https://marketplace.visualstudio.com/items?itemName=XadillaX.viml)
6+
7+
Vim Script language support for VSCode.
8+
9+
> Syntax Highlighting is synchronized from [Atom VimL](https://github.com/Alhadis/language-viml) with ❤ by [vscode-grammar-update-tool](https://github.com/XadillaX/vscode-update-grammar-tool).
10+
11+
## Features
12+
13+
+ Syntax highlighting for VimL files.
14+
+ By default, the following file types will be highlighted:
15+
- `*.vim`
16+
- `*.vimrc`
17+
- `*.gvimrc`
18+
- `*.ideavim`
19+
20+
## TODO
21+
22+
+ Code Completion
23+
+ Code Validation
24+
25+
## Contribution
26+
27+
Pull requests are welcomed.

assets/logo.png

108 KB
Loading

cgmanifest.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"registrations": [
3+
{
4+
"component": {
5+
"type": "git",
6+
"git": {
7+
"name": "Alhadis/language-viml",
8+
"repositoryUrl": "https://github.com/Alhadis/language-viml",
9+
"commitHash": "c5950dd59dfb11dc34df2f4077a410821ad71c5b"
10+
},
11+
"license": "MIT",
12+
"description": "Vim Script language support for Atom"
13+
},
14+
"version": "1.1.10"
15+
}
16+
]
17+
}

language-configuration.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"comments": {
3+
"lineComment": "\"",
4+
},
5+
"brackets": [
6+
[ "{", "}" ],
7+
[ "[", "]" ],
8+
[ "(", ")" ]
9+
],
10+
"autoClosingPairs": [
11+
[ "{", "}" ],
12+
[ "[", "]" ],
13+
[ "(", ")" ],
14+
[ "'", "'" ]
15+
],
16+
"surroundingPairs": [
17+
[ "{", "}" ],
18+
[ "[", "]" ],
19+
[ "(", ")" ],
20+
[ "'", "'" ]
21+
]
22+
}

package.json

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"name": "viml",
3+
"displayName": "VimL (Vim Language, Vim Script)",
4+
"version": "0.0.1",
5+
"description": "Vim Script language support for VSCode.",
6+
"scripts": {
7+
"update-grammar": "update-grammar Alhadis/language-viml grammars/viml.cson syntaxes/viml.tmLanguage.json"
8+
},
9+
"engines": {
10+
"vscode": "^1.20.0"
11+
},
12+
"categories": [
13+
"Programming Languages"
14+
],
15+
"publisher": "XadillaX",
16+
"repository": {
17+
"type": "git",
18+
"url": "git+https://github.com/XadillaX/vscode-language-viml.git"
19+
},
20+
"author": "XadillaX <[email protected]>",
21+
"license": "MIT",
22+
"bugs": {
23+
"url": "https://github.com/XadillaX/vscode-language-viml/issues"
24+
},
25+
"homepage": "https://github.com/XadillaX/vscode-language-viml#readme",
26+
"galleryBanner": {
27+
"color": "#569cd6",
28+
"theme": "dark"
29+
},
30+
"icon": "assets/logo.png",
31+
"devDependencies": {
32+
"vscode-update-grammar-tool": "^1.0.0"
33+
},
34+
"contributes": {
35+
"grammars": [{
36+
"language": "viml",
37+
"scopeName": "source.viml",
38+
"path": "./syntaxes/viml.tmLanguage.json"
39+
}],
40+
"languages": [{
41+
"id": "viml",
42+
"aliases": [
43+
"VimL",
44+
"VimScript",
45+
"Vim Language"
46+
],
47+
"extensions": [
48+
".vim",
49+
".vimrc",
50+
".gvim",
51+
".ideavim"
52+
]
53+
}]
54+
}
55+
}

0 commit comments

Comments
 (0)