Skip to content

system_open command cannot open certain types of files properly #2526

@la1den

Description

@la1den

Description

I use nvim-tree's system open on the Linux desktop, but some types of files cannot be opened, while others can.

Neovim version

NVIM v0.9.2
Build type: Release
LuaJIT 2.1.1694285958

Operating system and version

Linux 6.1.56-1-lts x86_64 rolling n/a

Windows variant

No response

nvim-tree version

16a0e3c

Clean room replication

-- disable netrw at the very start of your init.lua (strongly advised)
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
-- set termguicolors to enable highlight groups
vim.opt.termguicolors = true
-- empty setup using defaults
require("nvim-tree").setup()

Steps to reproduce

  1. Use nvim-tree to open a directory with a js suffix for a file
  2. Press s to attempt to open the JS file

Expected behavior

No response

Actual behavior

No response

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