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

  • @dafunkkkOP
    link
    1
    edit-2
    1 year ago

    ok, got it

      s = { "Telescope grep_string search_dirs=['$prj_path/dir1/dir2/dir3/']", "Grep on dir3" },
    

    this works…many Thanks!!!