Better support for relative path in bib
and yaml
modules
#203
Labels
enhancement
New feature or request
bib
and yaml
modules
#203
I know that it is strongly recommended to use absolute paths when specifying YAML or default bib path, but it doesn't really fit my workflow. Relative paths work out of the box for both of these as long as current working directory of neovim is right, however the problem is lack of additional checks that results in a lot of errors.
For example I use
default_path
which I prefer as follows:It works flawlessly as long as my cwd has that file. If it doesn't then it will violently error every time I type a character. The same happens with YAML, if there is no such file then it will error. For both scenarios there is the same error.
I suggest to make an error check. If the file exists then create the autocmd, otherwise skip, notify user or be silent.
The text was updated successfully, but these errors were encountered: