helix: new language xbps-template
inherit from bash set indent-style to \t
This commit is contained in:
parent
34ab2d5522
commit
8e65da17c7
1 changed files with 8 additions and 47 deletions
|
@ -4,52 +4,13 @@ auto-format = true
|
||||||
formatter = { command = "yamlfmt", args = ["-"] }
|
formatter = { command = "yamlfmt", args = ["-"] }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "bash"
|
name = "xbps-template"
|
||||||
|
scope = "source.xbps"
|
||||||
|
roots = ["xbps-src"]
|
||||||
file-types = [
|
file-types = [
|
||||||
"sh",
|
{ glob = "srcpkgs/*/template" }
|
||||||
"bash",
|
|
||||||
"ash",
|
|
||||||
"dash",
|
|
||||||
"ksh",
|
|
||||||
"mksh",
|
|
||||||
"zsh",
|
|
||||||
"zshenv",
|
|
||||||
"zlogin",
|
|
||||||
"zlogout",
|
|
||||||
"zprofile",
|
|
||||||
"zshrc",
|
|
||||||
"eclass",
|
|
||||||
"ebuild",
|
|
||||||
"bazelrc",
|
|
||||||
"Renviron",
|
|
||||||
"zsh-theme",
|
|
||||||
"cshrc",
|
|
||||||
"tcshrc",
|
|
||||||
"bashrc_Apple_Terminal",
|
|
||||||
"zshrc_Apple_Terminal",
|
|
||||||
{ glob = "i3/config" },
|
|
||||||
{ glob = "sway/config" },
|
|
||||||
{ glob = "tmux.conf" },
|
|
||||||
{ glob = ".bash_history" },
|
|
||||||
{ glob = ".bash_login" },
|
|
||||||
{ glob = ".bash_logout" },
|
|
||||||
{ glob = ".bash_profile" },
|
|
||||||
{ glob = ".bashrc" },
|
|
||||||
{ glob = ".profile" },
|
|
||||||
{ glob = ".zshenv" },
|
|
||||||
{ glob = ".zlogin" },
|
|
||||||
{ glob = ".zlogout" },
|
|
||||||
{ glob = ".zprofile" },
|
|
||||||
{ glob = ".zshrc" },
|
|
||||||
{ glob = ".zimrc" },
|
|
||||||
{ glob = "APKBUILD" },
|
|
||||||
{ glob = ".bash_aliases" },
|
|
||||||
{ glob = ".Renviron" },
|
|
||||||
{ glob = ".xprofile" },
|
|
||||||
{ glob = ".xsession" },
|
|
||||||
{ glob = ".xsessionrc" },
|
|
||||||
{ glob = ".yashrc" },
|
|
||||||
{ glob = ".yash_profile" },
|
|
||||||
{ glob = ".hushlogin" },
|
|
||||||
{ glob = "template" },
|
|
||||||
]
|
]
|
||||||
|
comment-token = "#"
|
||||||
|
language-servers = [ "bash-language-server" ]
|
||||||
|
indent = { tab-width = 4, unit = "\t" }
|
||||||
|
grammar = "bash"
|
||||||
|
|
Loading…
Add table
Reference in a new issue