doc: change repository url to use latest version
This commit is contained in:
parent
1f771e72af
commit
eb6910126f
1 changed files with 2 additions and 3 deletions
|
@ -3,13 +3,13 @@
|
||||||
d2 grammar for tree-sitter.
|
d2 grammar for tree-sitter.
|
||||||
|
|
||||||
References:
|
References:
|
||||||
|
|
||||||
- https://d2lang.com/
|
- https://d2lang.com/
|
||||||
|
|
||||||
## Highlights
|
## Highlights
|
||||||
|
|
||||||
![screenshot](./assets/screenshot.png)
|
![screenshot](./assets/screenshot.png)
|
||||||
|
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
## Neovim
|
## Neovim
|
||||||
|
@ -20,11 +20,10 @@ Using `nvim-treesitter`, add to your configuration
|
||||||
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
|
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
|
||||||
parser_config.d2 = {
|
parser_config.d2 = {
|
||||||
install_info = {
|
install_info = {
|
||||||
url = 'https://github.com/pleshevskiy/tree-sitter-d2',
|
url = 'https://git.pleshevski.ru/pleshevskiy/tree-sitter-d2',
|
||||||
revision = 'main',
|
revision = 'main',
|
||||||
files = { 'src/parser.c', 'src/scanner.cc' },
|
files = { 'src/parser.c', 'src/scanner.cc' },
|
||||||
},
|
},
|
||||||
filetype = 'd2',
|
filetype = 'd2',
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue