vim.g.base46_cache = vim.fn.stdpath('data') .. '/base46_cache/'
- Make sure to read nvconfig to know default options
lua/chadrc.lua
file must return a table which follows the structure of nvconfig.
---@type ChadrcConfig
local M = {}
vim.g.base46_cache = vim.fn.stdpath('data') .. '/base46_cache/'
lua/chadrc.lua
file must return a table which follows the structure of nvconfig.---@type ChadrcConfig
local M = {}
#!/bin/bash | |
# Run the script from home dir | |
cd ~ | |
nvim_config="$HOME/.config/nvim" | |
nvim_data="$HOME/.local/share/nvim" | |
cp -r "$nvim_config" nvim_bak # backup nvim dir | |
cp -r "$nvim_config/lua/custom" . |