Compare commits
4 Commits
c00dd4545a
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 4119f4387a | |||
| 45938c25e9 | |||
| 83fa4442d4 | |||
| bc37f8290c |
Generated
+1
-1
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.13)
|
||||
project(tree-sitter-tumblr
|
||||
VERSION "0.1.0"
|
||||
DESCRIPTION "Tumblr grammar for tree-sitter"
|
||||
HOMEPAGE_URL "git.owall.dev/warg/tree-sitter-tumblr"
|
||||
HOMEPAGE_URL "git.owall.se/warg/tree-sitter-tumblr"
|
||||
LANGUAGES C)
|
||||
|
||||
option(BUILD_SHARED_LIBS "Build using shared libraries" ON)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
LANGUAGE_NAME := tree-sitter-tumblr
|
||||
HOMEPAGE_URL := git.owall.dev/warg/tree-sitter-tumblr
|
||||
HOMEPAGE_URL := git.owall.se/warg/tree-sitter-tumblr
|
||||
VERSION := 0.1.0
|
||||
|
||||
# repository
|
||||
|
||||
@@ -20,7 +20,7 @@ every install path needs a build step that runs `make`.
|
||||
|
||||
```lua
|
||||
{
|
||||
"https://git.owall.dev/warg/tree-sitter-tumblr",
|
||||
"https://git.owall.se/warg/tree-sitter-tumblr",
|
||||
build = "make",
|
||||
}
|
||||
```
|
||||
@@ -38,14 +38,14 @@ vim.api.nvim_create_autocmd("PackChanged", {
|
||||
})
|
||||
|
||||
vim.pack.add({
|
||||
{ src = "https://git.owall.dev/warg/tree-sitter-tumblr" },
|
||||
{ src = "https://git.owall.se/warg/tree-sitter-tumblr" },
|
||||
})
|
||||
```
|
||||
|
||||
### Manual
|
||||
|
||||
```sh
|
||||
git clone https://git.owall.dev/warg/tree-sitter-tumblr /path/to/repo
|
||||
git clone https://git.owall.se/warg/tree-sitter-tumblr /path/to/repo
|
||||
cd /path/to/repo && make
|
||||
```
|
||||
|
||||
@@ -67,7 +67,7 @@ need to be on `runtimepath` too. With `nvim-treesitter`:
|
||||
Files are recognised as `tumblr` by extension or by double-extension:
|
||||
|
||||
- `*.tumblr`
|
||||
- `*.tumblr.html` (the convention used by the `tumblr.vim` plugin)
|
||||
- `*.tumblr.html`
|
||||
|
||||
## Development
|
||||
|
||||
|
||||
Generated
+1
-1
@@ -5,7 +5,7 @@
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+git.owall.dev/warg/tree-sitter-tumblr.git"
|
||||
"url": "git+git.owall.se/warg/tree-sitter-tumblr.git"
|
||||
},
|
||||
"funding": "",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -88,10 +88,9 @@
|
||||
((variable_modifier) @number
|
||||
(#match? @number "^[0-9]+(sq)?$"))
|
||||
|
||||
(variable_prefix) @keyword
|
||||
(prefix_argument) @variable
|
||||
(variable_prefix) @keyword.directive
|
||||
(prefix_argument) @constant
|
||||
|
||||
(lang_tag) @string.special
|
||||
(lang_text) @string
|
||||
|
||||
(attribute_name) @attribute
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
; All non-tag content is HTML. injection.combined concatenates every
|
||||
; content node so an HTML tag opened in one chunk can close in another
|
||||
; (across a {block:Foo}...{/block:Foo}). HTML's own injection queries
|
||||
; then take over for <style> and <script>, giving us CSS and JS for free.
|
||||
((content) @injection.content
|
||||
(#set! injection.language "html")
|
||||
(#set! injection.combined))
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@
|
||||
}
|
||||
],
|
||||
"links": {
|
||||
"repository": "https://git.owall.dev/warg/tree-sitter-tumblr"
|
||||
"repository": "https://git.owall.se/warg/tree-sitter-tumblr"
|
||||
}
|
||||
},
|
||||
"bindings": {
|
||||
|
||||
Reference in New Issue
Block a user