[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39394: vis editor doesn't respect user configuration
From: |
tsmish |
Subject: |
bug#39394: vis editor doesn't respect user configuration |
Date: |
Sun, 2 Feb 2020 22:55:30 +0500 |
Steps to reproduce:
1. Make file ~/.config/vis/visrc.lua with following text:
```
require('vis')
vis.events.subscribe(vis.events.INIT, function()
vis:command('qall')
end)
```
2. Open vis
vis should immediately close on startup, but it doesn't.
It happens because package defines $VIS_PATH search path to directory
which contains example visrc.lua file and $VIS_PATH is highest
priority directory according to man page.
Suggestions:
1. Remove or rename example visrc.lua in share/vis
2. Remove $VIS_PATH search path from package. This shouldn't break
anything, as it seems share/vis is in later resolution path.
- bug#39394: vis editor doesn't respect user configuration,
tsmish <=