Skip to content

Detected files are opened without any content when open from whole directory #19

Open
@gmmrr

Description

@gmmrr

When the detected file is opened in a nvim-tree, it always shows with empty content.
But if I nvim XXX.xml directly, it works as expectation.

I have tried to disable nvim-tree, nvim-tree probably is not the issue.

This is the view of opening single file by nvim XXX.xml (though file in pic below is .osm, it is viewed as xml, and other xml files cannot be opened correctly as well)
Screenshot 2023-12-18 at 17 07 24
and this is the view of opening from directory by nvim . and called by nvim-tree
Screenshot 2023-12-18 at 17 08 17

This is my mininal config, probably same as default.

require("bigfile").setup {
  filesize = 2,

  pattern = { * },

  features = {
    "indent_blankline",
    "illuminate",
    "lsp",
    "treesitter",
    "syntax",
    "matchparen",
    "vimopts",
    "filetype",
  },
}

Tks for viewing, this plug-in is really useful and necessary for a data-sci developer ;)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions