vid512

Results 32 comments of vid512

Problem is in function `GetCwdRelativeToProjectDirectory`. https://github.com/igankevich/mesonic/blob/69a3a1e03b94d4d41f94dfe243edbe87069c22f1/compiler/meson.vim#L10-L12 The `fnameescape` apparently doesn't escape good enough for `substitute`. I was able to get rid of the bug by changing the function to this...

Nope. Now `:make` vim command tries to execute `:!make 2>&1 | tee ...`. Even if I define `g:meson_ninja_command` to `meson compile`, same thing happens. Mesonic seems to be loaded correctly....

Also providing `:MesonCompile`, just like with other meson commands, would maybe be nice. It was my first intuition to try, after learning about other :MesonXxx commands.

More info: This problem seenm only to happen if the source file being edited is inside subdirectory. When the .cpp file is in same directory as meson.build, `:make` works correctly...

> You are supposed to open all files from the root of your project 😀 This is how most Vim plugins work. I was under impression that `mesonic` scans parent...

What are your thoughts about always running this lookup, even if `meson.build` is not in current dir? If this is a problem speed-wise (especially when opening files outside meson project),...

All requested changes should now be incorporated. Sorry for chaos with commits & reverts - still learning. I had to do detection of MSVC 'clang' (not 'clang-cl') compiler in a...

Tried it and failed. I've replaced offending line with `elif meson.get_compiler('cpp').version().version_compare('< 15.7')`, then ran `run_project_tests.py --only platform-windows`. The test case did run, but failed. I can't find any error info...

Same thing also happens with `set CXX=clang` and `set CXX=clang-cl`, using clang from Visual Studio.

Yes, I'd like to try to add this dependency properly. Your help would be welcome and needed, as I have no experience with meson sources, and relatively little experience with...