diff options
| author | Fasamii <fasami0512@gmail.com> | 2026-02-07 18:19:41 +0100 |
|---|---|---|
| committer | Fasamii <fasami0512@gmail.com> | 2026-02-07 18:19:41 +0100 |
| commit | ca7c9de0ee9cf584eadf7100d0c95c9eabafd451 (patch) | |
| tree | 93c16127c92b14e702bd43d586074bc78d4f1680 /lua/netrw-icons/init.lua | |
| parent | 87a3aa893687bdeb75d7cef7b60d254a51500248 (diff) | |
| download | netrw-icons.nvim-ca7c9de0ee9cf584eadf7100d0c95c9eabafd451.tar.gz netrw-icons.nvim-ca7c9de0ee9cf584eadf7100d0c95c9eabafd451.tar.bz2 netrw-icons.nvim-ca7c9de0ee9cf584eadf7100d0c95c9eabafd451.tar.xz netrw-icons.nvim-ca7c9de0ee9cf584eadf7100d0c95c9eabafd451.tar.zst | |
Support for netrw_liststyle 0 and 1
Diffstat (limited to 'lua/netrw-icons/init.lua')
| -rw-r--r-- | lua/netrw-icons/init.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lua/netrw-icons/init.lua b/lua/netrw-icons/init.lua index 683cad6..8b4a575 100644 --- a/lua/netrw-icons/init.lua +++ b/lua/netrw-icons/init.lua @@ -159,12 +159,9 @@ function M.setup(options) return end - -- if vim.b.netrw_liststyle ~= 0 and vim.b.netrw_liststyle ~= 1 and vim.b.netrw_liststyle ~= 3 then - if vim.b.netrw_liststyle ~= 3 then - return + if vim.b.netrw_liststyle == 0 or vim.b.netrw_liststyle == 1 or vim.b.netrw_liststyle == 3 then + draw(args.buf) end - - draw(args.buf) end }) end |
