Support astgrep (#4975)
CI / Build (push) Canceled after 0s
CI / Neovim 0.10 Windows (push) Canceled after 0s
CI / Neovim 0.12 Windows (push) Canceled after 0s
CI / Vim 8.2 Windows (push) Canceled after 0s
CI / Vim 9.2 Windows (push) Canceled after 0s
CI / Lint (push) Canceled after 0s
CI / Lua (push) Canceled after 0s
CI / Neovim 0.10 Linux (push) Canceled after 0s
CI / Neovim 0.12 Linux (push) Canceled after 0s
CI / Vim 8.2 Linux (push) Canceled after 0s
CI / Vim 9.2 Linux (push) Canceled after 0s

* astgrep: support its LSP

Fixes: #4974

* astgrep: add a fixer
This commit is contained in:
Ben Boeckel
2026-07-25 23:08:59 +09:00
committed by GitHub
parent 40cbe2121b
commit 9e2efaa4d3
83 changed files with 678 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for c files
call ale#handlers#astgrep#Define('c')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for cpp files
call ale#handlers#astgrep#Define('cpp')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for cs files
call ale#handlers#astgrep#Define('cs')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for css files
call ale#handlers#astgrep#Define('css')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for elixir files
call ale#handlers#astgrep#Define('elixir')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for go files
call ale#handlers#astgrep#Define('go')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for haskell files
call ale#handlers#astgrep#Define('haskell')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for html files
call ale#handlers#astgrep#Define('html')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for java files
call ale#handlers#astgrep#Define('java')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for javascript files
call ale#handlers#astgrep#Define('javascript')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for json files
call ale#handlers#astgrep#Define('json')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for kotlin files
call ale#handlers#astgrep#Define('kotlin')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for lua files
call ale#handlers#astgrep#Define('lua')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for nix files
call ale#handlers#astgrep#Define('nix')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for php files
call ale#handlers#astgrep#Define('php')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for python files
call ale#handlers#astgrep#Define('python')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for ruby files
call ale#handlers#astgrep#Define('ruby')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for rust files
call ale#handlers#astgrep#Define('rust')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for scala files
call ale#handlers#astgrep#Define('scala')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for sh files
call ale#handlers#astgrep#Define('sh')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for solidity files
call ale#handlers#astgrep#Define('solidity')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for swift files
call ale#handlers#astgrep#Define('swift')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for tsx files
call ale#handlers#astgrep#Define('tsx')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for typescript files
call ale#handlers#astgrep#Define('typescript')
+4
View File
@@ -0,0 +1,4 @@
" Author: Ben Boeckel <github@me.benboeckel.net>
" Description: astgrep for yaml files
call ale#handlers#astgrep#Define('yaml')