change default path to store files in neovim

This commit is contained in:
Kujiu 2023-10-29 02:48:55 +01:00
parent 1ba32e3626
commit 6a7a35afec
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
2 changed files with 2 additions and 1 deletions

View file

@ -289,6 +289,7 @@ function update-homes -d "Update homes configuration"
popd popd
set_nightfox_vars set_nightfox_vars
sed -i "s:REPLACEHOME:$HOME:g" ~/.config/nvim/init.lua sed -i "s:REPLACEHOME:$HOME:g" ~/.config/nvim/init.lua
sed -i "s:REPLACEHOME:$HOME:g" ~/.config/nvimpager/init.lua
sed -i "s:REPLACEHOME:$HOME:g" ~/.config/lvim/config.lua sed -i "s:REPLACEHOME:$HOME:g" ~/.config/lvim/config.lua
end end
if test -d $homes_private_path/common if test -d $homes_private_path/common

View file

@ -151,7 +151,7 @@ vim.opt.list = true
vim.opt.spelllang = 'fr' vim.opt.spelllang = 'fr'
vim.g.grammalecte_cli_py = '/usr/bin/grammalecte-cli' vim.g.grammalecte_cli_py = '/usr/bin/grammalecte-cli'
vim.g.languagetool_jar = '~/.bin/languagetool-commandline.jar' vim.g.languagetool_jar = 'REPLACEHOME/.bin/languagetool-commandline.jar'
local opts = {noremap=true, silent=true} local opts = {noremap=true, silent=true}