diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml index a9bc56b..2e7f4e1 100644 --- a/.chezmoiexternal.toml +++ b/.chezmoiexternal.toml @@ -25,6 +25,25 @@ path = "./eza" {{/* 手動安裝 neovim */ -}} +{{ $nvimVersion := "v0.11.1" -}} +[".local/bin/nvim"] + type = "archive-file" + url = "https://github.com/neovim/neovim/releases/download/{{ $nvimVersion }}/nvim-{{ .chezmoi.os }}-x86_64.tar.gz" + stripComponents = 1 + path = "bin/nvim" +[".local/lib/nvim"] + type = "archive" + url = "https://github.com/neovim/neovim/releases/download/{{ $nvimVersion }}/nvim-{{ .chezmoi.os }}-x86_64.tar.gz" + exact = true + stripComponents = 1 + include = ["lib/nvim/**"] +[".local/share/nvim"] + type = "archive" + url = "https://github.com/neovim/neovim/releases/download/{{ $nvimVersion }}/nvim-{{ .chezmoi.os }}-x86_64.tar.gz" + exact = true + stripComponents = 1 + include = ["share/nvim/**"] + {{/* 手動安裝 zsh */ -}} {{/* 手動安裝 lazygit */ -}} {{ end }}