Disable Neovim autoformat
This commit is contained in:
1 parent
a023cacf67
commit
d69da9ea22
2 files changed
+6
-7
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
# Maintainer: Ryan Hughes <ryan@omarchy.org>
|
# Maintainer: Ryan Hughes <ryan@omarchy.org>
|
||||||
pkgname=omarchy-nvim
|
pkgname=omarchy-nvim
|
||||||
pkgver=2026.7.17
|
pkgver=2026.7.23
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Pre-built LazyVim configuration with cached plugins"
|
pkgdesc="Pre-built LazyVim configuration with cached plugins"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@@ -34,12 +34,6 @@ build() {
|
|||||||
cp -r "$startdir/plugin" "$XDG_CONFIG_HOME/nvim/"
|
cp -r "$startdir/plugin" "$XDG_CONFIG_HOME/nvim/"
|
||||||
cp "$startdir/lazyvim.json" "$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..."
|
echo "Installing LazyVim plugins..."
|
||||||
nvim --headless \
|
nvim --headless \
|
||||||
"+Lazy! sync" \
|
"+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
|
||||||
Reference in new issue
Block a user