tangled
alpha
login
or
join now
biscui.tech
/
dotfiles
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
Added prettier to astro
biscui.tech
6 months ago
db792283
325138de
+2
-1
1 changed file
expand all
collapse all
unified
split
.config
helix
languages.toml
+2
-1
.config/helix/languages.toml
···
22
22
[[language]]
23
23
name = "tsx"
24
24
# TODO: lang-servers for tsx are borked, something with the extracted eslint lsp
25
25
-
# language-servers = [ "typescript-language-server", "vscode-eslint-language-server" ]
25
25
+
language-servers = [ "typescript-language-server", "vscode-eslint-language-server" ]
26
26
formatter = { command = "prettier", args = ["--stdin-filepath", "file.tsx" , "--parser", "babel-ts"] }
27
27
# formatter = { command = "dprint", args = [ "fmt", "--stdin", "tsx" ] }
28
28
auto-format = true
···
77
77
[[language]]
78
78
name = "astro"
79
79
auto-format = true
80
80
+
formatter = { command = "prettier", args = ["--plugin", "prettier-plugin-astro", "--parser", "astro"] }
80
81
language-servers = [ "astro-ls" ]
81
82
82
83