vim-vebugger icon indicating copy to clipboard operation
vim-vebugger copied to clipboard

Not filetype set when buffer opened by vim-vebugger

Open lervag opened this issue 7 years ago • 1 comments

First, I do:

  1. vim src/file.f90
  2. :VBGstartGDB ../a.out
  3. Set a break point in src/sub.f90 with VBGtoggleBreakpoint sub.f90:<line>
  4. <leader>dc

Now, since the break point is in a buffer that is not already open, vim-vebugger opens it for me. But the filetype is now empty, and so there is e.g. no syntax highlighting or similar. Of course, I can do filetype detect or set filetype=fortran, but I would expect this to occur automatically.

lervag avatar Jan 03 '18 12:01 lervag

I can confirm this on the latest version with neovim. Is there is a reason it hasn't been fixed yet?

ym1234 avatar Mar 22 '18 19:03 ym1234