Closed Mephistophiles closed 2 years ago
@Mephistophiles it's easy to implement. Have added the functionality in the latest version. You've to enable lookup_parens
.
Thanks!
Hmm, in my case trust config is not working with the message Unsupported config filetype
if trust was tried in а sub folder:
/home/builder/SDKS/.vimrc.lua
❯ pwd
/home/builder/SDKS/subfolder
❯ vim main.c
2022-03-25T15:04:26 INFO Try to trust /home/builder/SDKS/.vimrc.lua
2022-03-25T15:04:26 INFO Config files { “.vimrc.lua”, “.vimrc” }
2022-03-25T15:04:26 INFO vim.fn.fnamemodify /home/builder/SDKS/.vimrc.lua
2022-03-25T15:04:26 ERROR [config-local]: Unsupported config filetype: “/home/builder/SDKS/.vimrc.lua”
In my case, fnnamemodify does not strip the directory prefix. How about setting :t
in the function?
@Mephistophiles Please try the latest version (1.3.0)
It works, thank you!
It will be very convenient for a project group (share settings across multiple sub-projects without symlinking
.vimrc
)