Closed rkueke closed 5 years ago
Dear Reimund,
Thanks for your feedback, i will investigate this as soon as I have the time (it is complicated for now). If you want to use this plugin for Ale, I would suggest to take a look at this file: ale.vim which basically setup Ale config (it use cmake and a script also on the same repo).
I will let this Issue open until I either fix the problem or complete the doc !
Best regards, Charles
Dear Charles Thanks for the quick response. CORRECTION: The plugin manager I use is: 'junegunn/vim-plug'. I keep you informed in case ale.vim shows a similar behavior.
Kind regards, Reimund, 2018-11-20
Dear Charles
I expected the impossible from your plugin! A plain assignment of a value to a variable in .vimrc by a plugin function cannot work because plugins are loaded after .vimrc is completely read.
The only way to do it the right way is encapsulating the VimFilify call in an augroup as you did it in ale.vim. Thanks for your support. I think we can close this issue.
Kind regards, Reimund, 2018-11-20
Good, I will try to improve the doc on this point !
best regards, Charles
Dear Charles Excellent idea to set vim variables from a file easily by your plugin, particularly for configuring ale for c/c++.
My problem with vim8 and tpope/vim-plug: Starting vim with your plugin installed, inside .vimrc a simple function call e.g. "echom Filify#process("filename")" causes some error messages:
Maybe a timing problem with autoload? How can I correct this behavior? Kind regards, Reimund, 2018-11-20