Skip to content

[file rename] run :edit to reload filetype when buffer is loaded and renamed #1404

Closed
@ignamartinoli

Description

@ignamartinoli

Is your feature request related to a problem? Please describe.
It's not really a bug. But it would be cool that if somebody renames a file to a different filetype, nvim-tree.lua could check if there was an LSP or a nvim-treesitter module to load.

Describe the solution you'd like
After renaming, try to activate nvim-treesitter and LSP

Describe alternatives you've considered
Turn it on myself ahah

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR pleasenvim-tree team does not have the bandwidth to implement; a PR will be gratefully appreciatedfeature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions