Greg Hurrell
Greg Hurrell
Yep, this is a known issue @vheon. There is no fallback implemented yet for any of these things. Possible failure modes include: - Running `:CommandTGit` when `git` is not installed....
I pushed https://github.com/wincent/command-t/commit/005b695588630b06f2cf15444858f3b4dd320242 to implement a couple of those fallback ideas (specifically "2" and "3", like I said). Not sure if it's the best approach, but it's worth a shot....
You should be able to debug this by strategically inserting some `print(vim.inspect(value))` statements right before the lines where the error is being thrown. You'll probably find that in a spot...
> @wincent How would you create an autocmd that only triggers when leaving a buffer, and then re-entering another buffer? Unfortunately, autocmds are notoriously fiddly, especially once you have multiple...
Thanks for doing this @brasic! To reflect here what we talked about on Zoom, I would note that at least some of this (the bits dealing with reporting conflicted paths)...
Running 10.11.4 (15E65).
When I directly interact with `tsserver` it agrees with `tsc` that there are no errors: ``` $ tsserver Content-Length: 76 {"seq":0,"type":"event","event":"typingsInstallerPid","body":{"pid":91220}} {"seq":1,"type":"quickinfo","command":"open","arguments":{"file":"/Users/glh/code/corpus/src/renderer/util/FrozenSet.ts"}} Content-Length: 231 {"seq":0,"type":"event","event":"projectLoadingStart","body":{"projectName":"/Users/glh/code/corpus/tsconfig.json","reason":"Creating possible configured project for /Users/glh/code/corpus/src/renderer/util/FrozenSet.ts...
One final data point. If I swap out `javascript-typescript-langserver` for [https://www.npmjs.com/package/typescript-language-server](typescript-language-server), then diagnostics agree with `tsc`/`tsserver`, as you'd expect, because I see it *is* using `tsserver`: ``` -+= 00001 root...
@whitebyte > Well, it wiorks for https://github.com/sourcegraph/javascript-typescript-langserver Are you sure about this? With [logging](https://gist.github.com/wincent/e40ff8cb25e939e719cd62047d130f32) turned on and javascript-typescript-langserver + LanguageClient-neovim, I still see a bunch of attempts to access files...
Given the big rewrite for v6.0.x, I'm closing all older issues as there is unlikely to be anything significant happening on [the `5-x-devel` branch](https://github.com/wincent/command-t/tree/5-x-devel) from here on[^patches]. Feedback issue for...