mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40:02 -04:00
feat: add ssh config
This commit is contained in:
parent
6f3f89a6dd
commit
c0f4363b72
6 changed files with 121 additions and 0 deletions
17
queries/ssh_config/injections.scm
Normal file
17
queries/ssh_config/injections.scm
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
||||
((condition
|
||||
criteria: "exec"
|
||||
argument: (string) @injection.content)
|
||||
(#set! injection.language "bash"))
|
||||
|
||||
((parameter
|
||||
keyword: [
|
||||
"KnownHostsCommand"
|
||||
"LocalCommand"
|
||||
"RemoteCommand"
|
||||
"ProxyCommand"
|
||||
]
|
||||
argument: (string) @injection.content)
|
||||
(#set! injection.language "bash"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue