question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

filetype was gone when execute jumpDefinition

See original GitHub issue

Hi.

When I type gd(coc-definition) and jump to the file, filetype was gone. So, no syntax color and coc-deno does not work at the jumped file.

https://user-images.githubusercontent.com/56591/135705265-3d2a590a-c0a2-4e7e-82c6-d3e7e4383046.mp4

Step to reproduce

const listener = Deno.listen({ port: 9000 });
console.log(listener)
  1. Move cursol to Deno and type gd
  2. Open preview list and select 1st one
  3. :set ft
  4. shows ft=

Thank you.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
fannheywardcommented, Oct 20, 2021

You can run filetype detect after the jumping by now, will be fixed in coc.nvim.

1reaction
fannheywardcommented, Dec 16, 2021

Maybe the new asset url format can be handled correctly in vim/nvim.

Read more comments on GitHub >

github_iconTop Results From Across the Web

neoclide/coc.nvim - Gitter
I'm working with C# and got a function overloaded with different parameters. When the autocomplete triggers, it correctly states that there's +1 overload, ......
Read more >
doc/coc.txt · yyancy/coc.nvim - Gitee.com
same behavior as "jumpDefinition" ... *CocFadeOut* for faded out text, such as for highlighting unnecessary code. *CocErrorSign* for error signs.
Read more >
Rust and Vim - LSP + go to definition not working - Reddit
I've tried to uninstall coc-rust-analyzer and to run coc-rls , confirming :CocInfo says Output channel: rls and same binary as VS Code. When ......
Read more >
The 300 line init.lua challenge - Neovim Discourse
Combined it is less than 300 lines, I hope this still fits the bill even with the utils broken out a little for...
Read more >
Get ctags in vim to go to definition, not declaration
Just run "cscope -b" everytime you run ctags -R . and you'll be ready to go. ... in current directory if filereadable("cscope.out") cs...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found