Disable Neovim autoformat

This commit is contained in:
David Heinemeier Hansson
2026-07-23 16:45:10 -07:00
parent a023cacf67
commit d69da9ea22
2 changed files with 6 additions and 7 deletions
+1 -7
View File
@@ -1,6 +1,6 @@
# Maintainer: Ryan Hughes <ryan@omarchy.org>
pkgname=omarchy-nvim
pkgver=2026.7.17
pkgver=2026.7.23
pkgrel=1
pkgdesc="Pre-built LazyVim configuration with cached plugins"
arch=('any')
@@ -34,12 +34,6 @@ build() {
cp -r "$startdir/plugin" "$XDG_CONFIG_HOME/nvim/"
cp "$startdir/lazyvim.json" "$XDG_CONFIG_HOME/nvim/"
{
echo "require('config.remote_clipboard').setup()"
echo "vim.opt.relativenumber = false"
echo "vim.g.autoformat = false"
} >>"$XDG_CONFIG_HOME/nvim/lua/config/options.lua"
echo "Installing LazyVim plugins..."
nvim --headless \
"+Lazy! sync" \
@@ -0,0 +1,5 @@
-- Options are automatically loaded before lazy.nvim startup.
require("config.remote_clipboard").setup()
vim.opt.relativenumber = false
vim.g.autoformat = false