pkg(nixvim): Delete reorder_array option for taplo and reformat all toml files
This commit is contained in:
parent
e70d021a24
commit
54d4bc057e
7 changed files with 60 additions and 60 deletions
|
|
@ -3,9 +3,9 @@ ipc_socket = true
|
||||||
live_config_reload = true
|
live_config_reload = true
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
|
blur = true
|
||||||
dynamic_padding = true
|
dynamic_padding = true
|
||||||
opacity = 0.8
|
opacity = 0.8
|
||||||
blur = true
|
|
||||||
|
|
||||||
[scrolling]
|
[scrolling]
|
||||||
history = 100000
|
history = 100000
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,19 @@
|
||||||
[editor]
|
[editor]
|
||||||
line-number = "relative"
|
|
||||||
cursorline = true
|
|
||||||
cursorcolumn = false
|
|
||||||
true-color = true
|
|
||||||
undercurl = true
|
|
||||||
bufferline = "multiple"
|
bufferline = "multiple"
|
||||||
color-modes = true
|
color-modes = true
|
||||||
|
cursorcolumn = false
|
||||||
|
cursorline = true
|
||||||
default-line-ending = "lf"
|
default-line-ending = "lf"
|
||||||
|
line-number = "relative"
|
||||||
popup-border = "all"
|
popup-border = "all"
|
||||||
|
true-color = true
|
||||||
|
undercurl = true
|
||||||
# letters in the beginning are used first
|
# letters in the beginning are used first
|
||||||
# move home raw letters to the beginning
|
# move home raw letters to the beginning
|
||||||
jump-label-alphabet = "jkdls;aurieowpqnvmcxz"
|
jump-label-alphabet = "jkdls;aurieowpqnvmcxz"
|
||||||
|
|
||||||
[editor.statusline]
|
[editor.statusline]
|
||||||
|
center = ["diagnostics"]
|
||||||
left = [
|
left = [
|
||||||
"mode",
|
"mode",
|
||||||
"spacer",
|
"spacer",
|
||||||
|
|
@ -25,7 +26,9 @@ left = [
|
||||||
"spacer",
|
"spacer",
|
||||||
"spinner",
|
"spinner",
|
||||||
]
|
]
|
||||||
center = ["diagnostics"]
|
mode.insert = "INSERT"
|
||||||
|
mode.normal = "NORMAL"
|
||||||
|
mode.select = "SELECT"
|
||||||
right = [
|
right = [
|
||||||
"register",
|
"register",
|
||||||
"file-line-ending",
|
"file-line-ending",
|
||||||
|
|
@ -36,14 +39,11 @@ right = [
|
||||||
"position-percentage",
|
"position-percentage",
|
||||||
]
|
]
|
||||||
separator = "|"
|
separator = "|"
|
||||||
mode.normal = "NORMAL"
|
|
||||||
mode.insert = "INSERT"
|
|
||||||
mode.select = "SELECT"
|
|
||||||
|
|
||||||
[editor.lsp]
|
[editor.lsp]
|
||||||
display-progress-messages = true
|
|
||||||
display-messages = true
|
|
||||||
display-inlay-hints = true
|
display-inlay-hints = true
|
||||||
|
display-messages = true
|
||||||
|
display-progress-messages = true
|
||||||
|
|
||||||
[editor.cursor-shape]
|
[editor.cursor-shape]
|
||||||
insert = "bar"
|
insert = "bar"
|
||||||
|
|
@ -54,16 +54,16 @@ select = "underline"
|
||||||
hidden = false
|
hidden = false
|
||||||
|
|
||||||
[editor.whitespace.render]
|
[editor.whitespace.render]
|
||||||
space = "none"
|
|
||||||
tab = "all"
|
|
||||||
nbsp = "all"
|
nbsp = "all"
|
||||||
newline = "none"
|
newline = "none"
|
||||||
|
space = "none"
|
||||||
|
tab = "all"
|
||||||
|
|
||||||
[editor.whitespace.characters]
|
[editor.whitespace.characters]
|
||||||
space = "·"
|
|
||||||
nbsp = "⍽"
|
nbsp = "⍽"
|
||||||
tab = "→"
|
|
||||||
newline = "⏎"
|
newline = "⏎"
|
||||||
|
space = "·"
|
||||||
|
tab = "→"
|
||||||
tabpad = "·"
|
tabpad = "·"
|
||||||
|
|
||||||
[editor.indent-guides]
|
[editor.indent-guides]
|
||||||
|
|
|
||||||
|
|
@ -1,43 +1,43 @@
|
||||||
"$schema" = 'https://starship.rs/config-schema.json'
|
"$schema" = 'https://starship.rs/config-schema.json'
|
||||||
|
|
||||||
[character]
|
[character]
|
||||||
success_symbol = '[λ](bold blue)'
|
|
||||||
error_symbol = '[λ](bold red)'
|
error_symbol = '[λ](bold red)'
|
||||||
vimcmd_symbol = '[Λ](bold blue)'
|
success_symbol = '[λ](bold blue)'
|
||||||
vimcmd_replace_one_symbol = '[Λ](bold purple)'
|
vimcmd_replace_one_symbol = '[Λ](bold purple)'
|
||||||
vimcmd_replace_symbol = '[Λ](bold purple)'
|
vimcmd_replace_symbol = '[Λ](bold purple)'
|
||||||
|
vimcmd_symbol = '[Λ](bold blue)'
|
||||||
vimcmd_visual_symbol = '[Λ](bold yellow)'
|
vimcmd_visual_symbol = '[Λ](bold yellow)'
|
||||||
|
|
||||||
[[battery.display]]
|
[[battery.display]]
|
||||||
threshold = 10
|
|
||||||
style = 'bold red'
|
style = 'bold red'
|
||||||
|
threshold = 10
|
||||||
|
|
||||||
[[battery.display]]
|
[[battery.display]]
|
||||||
threshold = 30
|
|
||||||
style = 'bold yellow'
|
|
||||||
discharging_symbol = '💦'
|
discharging_symbol = '💦'
|
||||||
|
style = 'bold yellow'
|
||||||
|
threshold = 30
|
||||||
|
|
||||||
[[battery.display]]
|
[[battery.display]]
|
||||||
threshold = 100
|
|
||||||
style = 'green'
|
style = 'green'
|
||||||
|
threshold = 100
|
||||||
|
|
||||||
[git_branch]
|
[git_branch]
|
||||||
format = 'on [$symbol$branch(:$remote_branch)]($style) '
|
format = 'on [$symbol$branch(:$remote_branch)]($style) '
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[git_status]
|
[git_status]
|
||||||
diverged = '⇕⇡${ahead_count}⇣${behind_count}'
|
|
||||||
conflicted = "[⚔️${count}](red)"
|
|
||||||
ahead = '[⇡${count}](bold green)'
|
ahead = '[⇡${count}](bold green)'
|
||||||
behind = '[⇣${count}](bold yellow)'
|
behind = '[⇣${count}](bold yellow)'
|
||||||
untracked = '[!${count}](red)'
|
conflicted = "[⚔️${count}](red)"
|
||||||
stashed = "[📦${count}](purple)"
|
|
||||||
modified = '[M${count}](bold yellow)'
|
|
||||||
staged = "[+${count}](green)"
|
|
||||||
renamed = "[»${count}](bold yellow)"
|
|
||||||
deleted = '[-${count}](blue)'
|
deleted = '[-${count}](blue)'
|
||||||
up_to_date = '[✓](green)'
|
diverged = '⇕⇡${ahead_count}⇣${behind_count}'
|
||||||
format = '([(\[$all_status\])(\[$ahead_behind\])]($style) ) '
|
format = '([(\[$all_status\])(\[$ahead_behind\])]($style) ) '
|
||||||
|
modified = '[M${count}](bold yellow)'
|
||||||
|
renamed = "[»${count}](bold yellow)"
|
||||||
|
staged = "[+${count}](green)"
|
||||||
|
stashed = "[📦${count}](purple)"
|
||||||
|
untracked = '[!${count}](red)'
|
||||||
|
up_to_date = '[✓](green)'
|
||||||
|
|
||||||
[git_commit]
|
[git_commit]
|
||||||
format = '([\($hash$tag\)]($style) )'
|
format = '([\($hash$tag\)]($style) )'
|
||||||
|
|
@ -45,11 +45,11 @@ only_detached = false
|
||||||
|
|
||||||
[directory]
|
[directory]
|
||||||
fish_style_pwd_dir_length = 2
|
fish_style_pwd_dir_length = 2
|
||||||
truncation_length = 2
|
|
||||||
truncate_to_repo = false
|
|
||||||
repo_root_style = "bold green"
|
|
||||||
use_os_path_sep = false
|
|
||||||
read_only = " "
|
read_only = " "
|
||||||
|
repo_root_style = "bold green"
|
||||||
|
truncate_to_repo = false
|
||||||
|
truncation_length = 2
|
||||||
|
use_os_path_sep = false
|
||||||
|
|
||||||
[aws]
|
[aws]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
@ -133,9 +133,9 @@ symbol = " "
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
||||||
[os.symbols]
|
[os.symbols]
|
||||||
|
AlmaLinux = " "
|
||||||
Alpaquita = " "
|
Alpaquita = " "
|
||||||
Alpine = " "
|
Alpine = " "
|
||||||
AlmaLinux = " "
|
|
||||||
Amazon = " "
|
Amazon = " "
|
||||||
Android = " "
|
Android = " "
|
||||||
Arch = " "
|
Arch = " "
|
||||||
|
|
@ -162,20 +162,20 @@ Mint = " "
|
||||||
NetBSD = " "
|
NetBSD = " "
|
||||||
NixOS = " "
|
NixOS = " "
|
||||||
OpenBSD = " "
|
OpenBSD = " "
|
||||||
openSUSE = " "
|
|
||||||
OracleLinux = " "
|
OracleLinux = " "
|
||||||
Pop = " "
|
Pop = " "
|
||||||
Raspbian = " "
|
Raspbian = " "
|
||||||
Redhat = " "
|
|
||||||
RedHatEnterprise = " "
|
RedHatEnterprise = " "
|
||||||
RockyLinux = " "
|
Redhat = " "
|
||||||
Redox = " "
|
Redox = " "
|
||||||
Solus = " "
|
RockyLinux = " "
|
||||||
SUSE = " "
|
SUSE = " "
|
||||||
|
Solus = " "
|
||||||
Ubuntu = " "
|
Ubuntu = " "
|
||||||
Unknown = " "
|
Unknown = " "
|
||||||
Void = " "
|
Void = " "
|
||||||
Windows = " "
|
Windows = " "
|
||||||
|
openSUSE = " "
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
|
|
|
||||||
|
|
@ -1,64 +1,64 @@
|
||||||
[juicity]
|
[juicity]
|
||||||
src.git = "https://github.com/juicity/juicity"
|
|
||||||
fetch.git = "https://githuh.com/juicity/juicity"
|
fetch.git = "https://githuh.com/juicity/juicity"
|
||||||
|
src.git = "https://github.com/juicity/juicity"
|
||||||
|
|
||||||
[tree-sitter-idris]
|
[tree-sitter-idris]
|
||||||
src.git = "https://github.com/kayhide/tree-sitter-idris"
|
|
||||||
fetch.git = "https://github.com/kayhide/tree-sitter-idris"
|
fetch.git = "https://github.com/kayhide/tree-sitter-idris"
|
||||||
passthru.name = "idris"
|
passthru.name = "idris"
|
||||||
|
src.git = "https://github.com/kayhide/tree-sitter-idris"
|
||||||
|
|
||||||
[noto-serif-cjk]
|
[noto-serif-cjk]
|
||||||
src.github = "notofonts/noto-cjk"
|
|
||||||
fetch.github = "notofonts/noto-cjk"
|
fetch.github = "notofonts/noto-cjk"
|
||||||
git.sparseCheckout = ["Serif/OTC"]
|
git.sparseCheckout = ["Serif/OTC"]
|
||||||
|
src.github = "notofonts/noto-cjk"
|
||||||
|
|
||||||
[noto-sans-cjk]
|
[noto-sans-cjk]
|
||||||
src.github = "notofonts/noto-cjk"
|
|
||||||
fetch.github = "notofonts/noto-cjk"
|
fetch.github = "notofonts/noto-cjk"
|
||||||
git.sparseCheckout = ["Sans/OTC"]
|
git.sparseCheckout = ["Sans/OTC"]
|
||||||
|
src.github = "notofonts/noto-cjk"
|
||||||
|
|
||||||
[spotx]
|
[spotx]
|
||||||
src.git = "https://github.com/SpotX-Official/SpotX-Bash.git"
|
|
||||||
fetch.github = "SpotX-Official/SpotX-Bash"
|
fetch.github = "SpotX-Official/SpotX-Bash"
|
||||||
|
src.git = "https://github.com/SpotX-Official/SpotX-Bash.git"
|
||||||
|
|
||||||
[TrackersListCollection]
|
[TrackersListCollection]
|
||||||
src.git = "https://github.com/XIU2/TrackersListCollection.git"
|
|
||||||
fetch.github = "XIU2/TrackersListCollection"
|
fetch.github = "XIU2/TrackersListCollection"
|
||||||
git.sparseCheckout = ["all.txt"]
|
git.sparseCheckout = ["all.txt"]
|
||||||
|
src.git = "https://github.com/XIU2/TrackersListCollection.git"
|
||||||
|
|
||||||
[wshowkeys-mao]
|
[wshowkeys-mao]
|
||||||
src.git = "https://github.com/DreamMaoMao/wshowkeys.git"
|
|
||||||
fetch.github = "DreamMaoMao/wshowkeys"
|
fetch.github = "DreamMaoMao/wshowkeys"
|
||||||
|
src.git = "https://github.com/DreamMaoMao/wshowkeys.git"
|
||||||
|
|
||||||
[OuterWildsTextAdventure]
|
[OuterWildsTextAdventure]
|
||||||
src.git = "https://github.com/top-mind/OuterWildsTextAdventureWeb.git"
|
|
||||||
fetch.github = "top-mind/OuterWildsTextAdventureWeb"
|
fetch.github = "top-mind/OuterWildsTextAdventureWeb"
|
||||||
|
src.git = "https://github.com/top-mind/OuterWildsTextAdventureWeb.git"
|
||||||
|
|
||||||
[cliphist]
|
[cliphist]
|
||||||
src.git = "https://github.com/sentriz/cliphist.git"
|
|
||||||
fetch.github = "sentriz/cliphist"
|
fetch.github = "sentriz/cliphist"
|
||||||
|
src.git = "https://github.com/sentriz/cliphist.git"
|
||||||
|
|
||||||
[radicle-ci-broker]
|
[radicle-ci-broker]
|
||||||
src.git = "https://seed.radicle.garden/zwTxygwuz5LDGBq255RA2CbNGrz8.git"
|
|
||||||
fetch.git = "https://seed.radicle.garden/zwTxygwuz5LDGBq255RA2CbNGrz8.git"
|
fetch.git = "https://seed.radicle.garden/zwTxygwuz5LDGBq255RA2CbNGrz8.git"
|
||||||
|
src.git = "https://seed.radicle.garden/zwTxygwuz5LDGBq255RA2CbNGrz8.git"
|
||||||
|
|
||||||
["wallpaper_hieda-no-akyuu-touhou.1920x1080.mp4"]
|
["wallpaper_hieda-no-akyuu-touhou.1920x1080.mp4"]
|
||||||
src.cmd = "curl -sL http://wallpaper.youthlic.social/hieda-no-akyuu-touhou.1920x1080.mp4 | sha256sum | cut -d ' ' -f 1"
|
|
||||||
fetch.url = "http://wallpaper.youthlic.social/hieda-no-akyuu-touhou.1920x1080.mp4"
|
fetch.url = "http://wallpaper.youthlic.social/hieda-no-akyuu-touhou.1920x1080.mp4"
|
||||||
|
src.cmd = "curl -sL http://wallpaper.youthlic.social/hieda-no-akyuu-touhou.1920x1080.mp4 | sha256sum | cut -d ' ' -f 1"
|
||||||
|
|
||||||
["wallpaper_outer-wilds.3840x2160.mp4"]
|
["wallpaper_outer-wilds.3840x2160.mp4"]
|
||||||
src.cmd = "curl -sL http://wallpaper.youthlic.social/outer-wilds.3840x2160.mp4 | sha256sum | cut -d ' ' -f 1"
|
|
||||||
fetch.url = "http://wallpaper.youthlic.social/outer-wilds.3840x2160.mp4"
|
fetch.url = "http://wallpaper.youthlic.social/outer-wilds.3840x2160.mp4"
|
||||||
|
src.cmd = "curl -sL http://wallpaper.youthlic.social/outer-wilds.3840x2160.mp4 | sha256sum | cut -d ' ' -f 1"
|
||||||
|
|
||||||
["wallpaper_hollow-knight-quest.3840x2160.mp4"]
|
["wallpaper_hollow-knight-quest.3840x2160.mp4"]
|
||||||
src.cmd = "curl -sL http://wallpaper.youthlic.social/hollow-knight-quest.3840x2160.mp4 | sha256sum | cut -d ' ' -f 1"
|
|
||||||
fetch.url = "http://wallpaper.youthlic.social/hollow-knight-quest.3840x2160.mp4"
|
fetch.url = "http://wallpaper.youthlic.social/hollow-knight-quest.3840x2160.mp4"
|
||||||
|
src.cmd = "curl -sL http://wallpaper.youthlic.social/hollow-knight-quest.3840x2160.mp4 | sha256sum | cut -d ' ' -f 1"
|
||||||
|
|
||||||
[rime-yuhaostar]
|
[rime-yuhaostar]
|
||||||
src.github = "forfudan/yuhao-ime-release"
|
|
||||||
fetch.url = "https://github.com/forfudan/yuhao-ime-release/releases/download/$ver/yuhao_star_xingchen_$ver.zip"
|
fetch.url = "https://github.com/forfudan/yuhao-ime-release/releases/download/$ver/yuhao_star_xingchen_$ver.zip"
|
||||||
|
src.github = "forfudan/yuhao-ime-release"
|
||||||
url.name = "yustar_$ver.zip"
|
url.name = "yustar_$ver.zip"
|
||||||
|
|
||||||
[nvim_vim-startuptime]
|
[nvim_vim-startuptime]
|
||||||
src.git = "https://github.com/dstein64/vim-startuptime.git"
|
|
||||||
fetch.github = "dstein64/vim-startuptime"
|
fetch.github = "dstein64/vim-startuptime"
|
||||||
|
src.git = "https://github.com/dstein64/vim-startuptime.git"
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
return "${lib.getExe pkgs.taplo}"
|
return "${lib.getExe pkgs.taplo}"
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
args = { "format", "-o", "reorder_keys=true", "-o", "reorder_inline_tables=true", "-o", "reorder_arrays=true", "-" },
|
args = { "format", "-o", "reorder_keys=true", "-o", "reorder_inline_tables=true", "-" },
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
[project]
|
[project]
|
||||||
name = "python"
|
dependencies = ["numpy>=2.2.6"]
|
||||||
version = "0.1.0"
|
|
||||||
description = "Add your description here"
|
description = "Add your description here"
|
||||||
|
name = "python"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
dependencies = ["numpy>=2.2.6"]
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = ["ipython>=9.2.0", "ptpython>=3.0.30"]
|
dev = ["ipython>=9.2.0", "ptpython>=3.0.30"]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["hatchling"]
|
|
||||||
build-backend = "hatchling.build"
|
build-backend = "hatchling.build"
|
||||||
|
requires = ["hatchling"]
|
||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ["app"]
|
packages = ["app"]
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "stable"
|
channel = "stable"
|
||||||
profile = "default"
|
|
||||||
components = ["rust-src"]
|
components = ["rust-src"]
|
||||||
|
profile = "default"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue