nvim-projectconfig
nvim-projectconfig copied to clipboard
You should use the neovim function stdpath instead of hardcoding the standard path
In nvim-projectconfig.lua, you hardcode the config path. It should instead use the neovim stdpath function It is:
local config = {
silent = true,
autocmd = true,
project_dir = '~/.config/nvim/projects/',
project_config = {},
}
It should be:
local config = {
silent = true,
autocmd = true,
project_dir = vim.fn.stdpath('config') .. '/projects/',
project_config = {},
}
it is not hardcode you can change it on setup. but if you want to create a PR for change i can accept.