Compare commits

..

No commits in common. "4daa29ada38b52fb8d37ba1973a492c279c5ebb9" and "f7cc6a8c51442c6da2392739f90985871a481993" have entirely different histories.

4 changed files with 3 additions and 17 deletions

View File

@ -1,24 +1,14 @@
#!/bin/bash #!/bin/bash
set -e set -e
# Install additional dependencies sudo apt-get install fuse libfuse2 unzip ripgrep python3-venv xclip npm -y --no-install-recommends
sudo apt-get install fuse libfuse2 unzip ripgrep python3-venv xclip -y --no-install-recommends
# Install new version of node
curl -fsSL https://deb.nodesource.com/setup_23.x -o /tmp/nodesource_setup.sh
sudo -E bash /tmp/nodesource_setup.sh
sudo apt-get install -y nodejs
# Install new version of neovim
sudo rm -rf /usr/local/bin/nvim sudo rm -rf /usr/local/bin/nvim
sudo wget https://github.com/neovim/neovim-releases/releases/download/v0.11.1/nvim-linux-x86_64.appimage -O /usr/local/bin/nvim sudo wget https://github.com/neovim/neovim-releases/releases/download/v0.11.1/nvim-linux-x86_64.appimage -O /usr/local/bin/nvim
sudo chmod +x /usr/local/bin/nvim sudo chmod +x /usr/local/bin/nvim
# Get latest version of dotfiles
rm -rf ~/.dotfiles rm -rf ~/.dotfiles
git clone https://git.huizinga.dev/Dreaded_X/dotfiles ~/.dotfiles git clone https://git.huizinga.dev/Dreaded_X/dotfiles ~/.dotfiles
mkdir -p ~/.config mkdir -p ~/.config
ln -s ~/.dotfiles/nvim/dot-config/nvim ~/.config/nvim ln -s ~/.dotfiles/nvim/dot-config/nvim ~/.config/nvim
# Remove include paths from copied host gitconfig
sed -i '/path = /d' ~/.gitconfig sed -i '/path = /d' ~/.gitconfig

View File

@ -13,7 +13,7 @@ local formatters_by_ft = {
markdown = { "prettierd" }, markdown = { "prettierd" },
yaml = { "prettierd" }, yaml = { "prettierd" },
lua = { "stylua" }, lua = { "stylua" },
json = { "prettierd" }, json = { "jq" },
toml = { "taplo" }, toml = { "taplo" },
-- ["*"] = { "injected" }, -- ["*"] = { "injected" },
["_"] = { "trim_whitespace", "trim_newlines" }, ["_"] = { "trim_whitespace", "trim_newlines" },

View File

@ -26,6 +26,7 @@ local ensure_installed = {
"ruff", "ruff",
"prettierd", "prettierd",
"stylua", "stylua",
"jq",
} }
--- @module "lazy" --- @module "lazy"

View File

@ -34,12 +34,7 @@ return {
"markdown_inline", "markdown_inline",
"bash", "bash",
"sql", "sql",
"xml",
"cmake",
"json",
"yaml",
}, },
auto_install = true,
highlight = { enable = true }, highlight = { enable = true },
indent = { enable = true }, indent = { enable = true },