OscarCreator / rsync.nvim

neovim plugin which synchronises project with rsync on save.
MIT License
83 stars 12 forks source link

ignore empty line in .gitignore file #128

Open singledoggy opened 4 days ago

singledoggy commented 4 days ago

create_filters should also filter out empty lines in .gitignore file, maybe something like this

                if line:sub(1, 1) ~= "#" and line:match("%S") then
OscarCreator commented 4 days ago

If you want you can create a PR and I will have a look. Otherwise it may take a while to fix this