mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-04 23:40:32 +00:00
Compare commits
7 commits
bdc9a010ee
...
e6c5065dfc
Author | SHA1 | Date | |
---|---|---|---|
e6c5065dfc | |||
93bc405d6d | |||
06b2baf8e0 | |||
3f5ac5a2d5 | |||
964f0a9c82 | |||
3d794ab085 | |||
77f63a2f14 |
7 changed files with 25 additions and 32 deletions
|
@ -1,19 +1,15 @@
|
||||||
{
|
{
|
||||||
"typescript": {
|
|
||||||
},
|
|
||||||
"json": {
|
"json": {
|
||||||
},
|
},
|
||||||
"markdown": {
|
"markdown": {
|
||||||
},
|
},
|
||||||
"toml": {
|
"toml": {
|
||||||
},
|
},
|
||||||
"includes": ["**/*.{ts,tsx,js,jsx,json,md,toml}"],
|
"includes": ["**/*.{json,md,toml}"],
|
||||||
"excludes": [
|
"excludes": [
|
||||||
"**/node_modules",
|
|
||||||
"**/*-lock.json"
|
"**/*-lock.json"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"https://plugins.dprint.dev/typescript-0.87.1.wasm",
|
|
||||||
"https://plugins.dprint.dev/json-0.17.4.wasm",
|
"https://plugins.dprint.dev/json-0.17.4.wasm",
|
||||||
"https://plugins.dprint.dev/markdown-0.16.1.wasm",
|
"https://plugins.dprint.dev/markdown-0.16.1.wasm",
|
||||||
"https://plugins.dprint.dev/toml-0.5.4.wasm"
|
"https://plugins.dprint.dev/toml-0.5.4.wasm"
|
||||||
|
|
|
@ -42,6 +42,13 @@ C-b = ":buffer-close"
|
||||||
|
|
||||||
esc = ["collapse_selection", "keep_primary_selection"]
|
esc = ["collapse_selection", "keep_primary_selection"]
|
||||||
|
|
||||||
|
[keys.normal.space]
|
||||||
|
f = "file_picker_in_current_directory"
|
||||||
|
F = "no_op"
|
||||||
|
p = "no_op"
|
||||||
|
P = "no_op"
|
||||||
|
y = "no_op"
|
||||||
|
|
||||||
[keys.insert]
|
[keys.insert]
|
||||||
esc = ["collapse_selection", "normal_mode"]
|
esc = ["collapse_selection", "normal_mode"]
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,6 @@ roots = ["pyproject.toml"]
|
||||||
formatter = { command = "black", args = ["-q", "-"] }
|
formatter = { command = "black", args = ["-q", "-"] }
|
||||||
auto-format = true
|
auto-format = true
|
||||||
|
|
||||||
[[language]]
|
|
||||||
name = "bash"
|
|
||||||
formatter = { command = "beautysh", args = ["-"] }
|
|
||||||
auto-format = true
|
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "markdown"
|
name = "markdown"
|
||||||
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "md"] }
|
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "md"] }
|
||||||
|
@ -33,11 +28,6 @@ name = "json"
|
||||||
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "json"] }
|
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "json"] }
|
||||||
auto-format = true
|
auto-format = true
|
||||||
|
|
||||||
[[language]]
|
|
||||||
name = "javascript"
|
|
||||||
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "js"] }
|
|
||||||
auto-format = true
|
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "toml"
|
name = "toml"
|
||||||
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "toml"] }
|
formatter = { command = "dprint", args = ["fmt", "-c", "/home/mo8it/.config/dprint.json", "--stdin", "toml"] }
|
||||||
|
@ -47,16 +37,20 @@ auto-format = true
|
||||||
name = "html"
|
name = "html"
|
||||||
formatter = { command = "djlint", args = ["--reformat", "--quiet", "--configuration", "/home/mo8it/.config/djlintrc.json", "-"] }
|
formatter = { command = "djlint", args = ["--reformat", "--quiet", "--configuration", "/home/mo8it/.config/djlintrc.json", "-"] }
|
||||||
auto-format = true
|
auto-format = true
|
||||||
# language-server = { language-id = "html", command = "tailwindcss-language-server", args = ["--stdio"] }
|
|
||||||
# roots = ["tailwind.config.js"]
|
|
||||||
# config = {}
|
|
||||||
|
|
||||||
# [[language]]
|
|
||||||
# name = "css"
|
|
||||||
# language-server = { language-id = "css", command = "tailwindcss-language-server", args = ["--stdio"] }
|
|
||||||
# roots = ["tailwind.config.js"]
|
|
||||||
# config = {}
|
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "julia"
|
name = "julia"
|
||||||
auto-format = true
|
auto-format = true
|
||||||
|
|
||||||
|
[language-server.typescript-language-server]
|
||||||
|
command = "npx"
|
||||||
|
args = ["typescript-language-server", "--stdio"]
|
||||||
|
config.hostInfo = "helix"
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "javascript"
|
||||||
|
auto-format = true
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "typescript"
|
||||||
|
auto-format = true
|
||||||
|
|
|
@ -29,7 +29,7 @@ layout {
|
||||||
tab name="bg" split_direction="vertical"{
|
tab name="bg" split_direction="vertical"{
|
||||||
pane {
|
pane {
|
||||||
command "podman"
|
command "podman"
|
||||||
args "run" "-it" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/cs_server_db:/var/lib/postgresql/data:Z" "--env-file" "crates/server/.env" "docker.io/library/postgres:15-alpine"
|
args "run" "-it" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/cs_server_db:/var/lib/postgresql/data:Z" "--env-file" "crates/server/.env" "docker.io/library/postgres:15"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ layout {
|
||||||
tab name="bg" split_direction="vertical"{
|
tab name="bg" split_direction="vertical"{
|
||||||
pane {
|
pane {
|
||||||
command "podman"
|
command "podman"
|
||||||
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/info_monitor_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
|
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/info_monitor_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15"
|
||||||
}
|
}
|
||||||
pane {
|
pane {
|
||||||
command "npx"
|
command "npx"
|
||||||
|
|
|
@ -29,7 +29,7 @@ layout {
|
||||||
tab name="bg" split_direction="vertical"{
|
tab name="bg" split_direction="vertical"{
|
||||||
pane {
|
pane {
|
||||||
command "podman"
|
command "podman"
|
||||||
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/oxiform_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
|
args "run" "-it" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/oxiform_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15"
|
||||||
}
|
}
|
||||||
pane {
|
pane {
|
||||||
command "npx"
|
command "npx"
|
||||||
|
|
|
@ -29,12 +29,8 @@ layout {
|
||||||
tab name="bg" split_direction="vertical"{
|
tab name="bg" split_direction="vertical"{
|
||||||
pane {
|
pane {
|
||||||
command "podman"
|
command "podman"
|
||||||
args "run" "-it" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/oxitraffic_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:15-alpine"
|
args "run" "-it" "--name" "oxitraffic-pg" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/oxitraffic_db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:16"
|
||||||
}
|
}
|
||||||
pane {
|
|
||||||
command "just"
|
|
||||||
args "tailwind"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue