Skip to content

Trailing whitespaces of file and folder names #1253

Closed
@arturonavax

Description

@arturonavax

Description

I use LunarVim, and I have a linter activated that warns me of lines with trailing whitespaces.

According to this, it seems that now NvimTree.lua is putting trailing whitespaces at the end of everything, to solve this I started to search through the last commits of NvimTree.lua until I got to the one where this was not happening to fix it temporarily... the commit is ec888d08ce80bc3ee6efde6405f9bb564f897add

Temporarily deactivate the flashlight to check more manually this...

:match ExtraWhitespace /\s\+$/
:highlight ExtraWhitespace guibg=red

And indeed, there seem to be blank spaces at the end of lines

Screenshot from 2022-05-09 22-53-06

Neovim version

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

Operating system and version

Linux Ubuntu 20.04.4 LTS

nvim-tree version

47732b6

Minimal config

Occurs with LunarVim vanilla

Steps to reproduce

Occurs with LunarVim vanilla

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