The example below is not working (error is given when neovim is opened not recognising $env_var) how can I let him recognise the env_var?
g = {
name = “+grep”,
a = { “Telescope grep_string”, “Grep on all dirs” },
s = { “Telescope grep_string search_dirs={”$env_var/dir1/dir2/dir3/“} cr>”, “Grep on dir” },
},
Thanks
@dafunkkk @lckdscl I would advise you to either read neovim’s lua guides:
https://neovim.io/doc/user/lua.html
https://neovim.io/doc/user/lua-guide.html#lua-guide
or have a look at some video tutorials, e.g. https://www.youtube.com/watch?v=w7i4amO_zaE&list=PLm323Lc7iSW_wuxqmKx_xxNtJC_hJbQ7R&index=6
If you really want to build your own neovim configuration, you will need to get comfortable with lua.