Skip to content

call NvimTreeToggle, Invalid parameter #1221

Closed
@tttoad

Description

@tttoad

Description

When I call NvimTreeToggle, I get an error

image

Neovim version

NVIM v0.6.1
Build type: Release
LuaJIT 2.1.0-beta3

Operating system and version

macOS 11.2.3

nvim-tree version

86d573d

Steps to reproduce

:NvimTreeToggle

Expected behavior

No response

Actual behavior

No response

Minimal config

-- init.lua
vim.o.ignorecase=true

vim.opt.encoding="UTF-8"
vim.o.number=true
-- 设置行会导致输入指令后乱码...
-- vim.o.lines=60
vim.opt.mouse="a"
vim.o.cursorline=true
vim.opt.laststatus=2
vim.o.autoindent=true
vim.opt.tabstop=4
vim.o.smarttab=true
vim.opt.shiftwidth=4
vim.opt.softtabstop=4
vim.opt.backspace="eol,start,indent"
vim.o.showcmd=true
vim.o.whichwrap=vim.o.whichwrap.."<,>,h,l"
vim.opt.scrolloff=3
vim.opt.history=1000
vim.opt.cmdheight=2


require'nvim-tree'.setup {
}
return require('plugins')

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