Skip to content

nvim NvimTree.lua does not open #1629

Closed
@barrett-ruth

Description

@barrett-ruth

Description

I have some custom mappings stored in nvim/after/ftplugin/NvimTree.lua to run on filetype NvimTree. Opening this file via nvim after/ftplugin/NvimTree.lua actually opens NvimTree on that file and not the file itself.

Neovim version

NVIM v0.8.0
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Operating system and version

arch

nvim-tree version

7282f7d -n 1

Minimal config

no config needed

Steps to reproduce

  1. NvimTreeOpen after/ftplugin/NvimTree.lua

Expected behavior

nvim-tree actually opens the file NvimTree.lua

Actual behavior

the plugin NvimTree itself opens, not the file

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions