Closed
Description
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
- 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