feat(child): child-pager: add full support for nvim.

see #564
This commit is contained in:
Alexandre Pujol 2024-10-21 21:35:10 +01:00
parent 7aaa8272bb
commit 610d37ecf7
Failed to generate hash of commit

View file

@ -9,18 +9,19 @@
include <abstractions/nameservice-strict> include <abstractions/nameservice-strict>
include <abstractions/consoles> include <abstractions/consoles>
@{sh_path} rix, @{sh_path} rix,
@{bin}/nvim mrix, @{bin}/nvim mix,
@{bin}/sensible-editor mr, @{bin}/sensible-editor mr,
@{bin}/vim{,.*} mrix, @{bin}/vim{,.*} mix,
@{bin}/which{,.debianutils} rix, @{bin}/which{,.debianutils} ix,
/usr/share/nvim/{,**} r, /usr/share/nvim/{,**} r,
/usr/share/terminfo/** r, /usr/share/terminfo/** r,
/usr/share/vim/{,**} r, /usr/share/vim/{,**} r,
/etc/vimrc r,
/etc/vim/{,**} r, /etc/vim/{,**} r,
/etc/vimrc r,
/etc/xdg/nvim/* r,
owner @{HOME}/.selected_editor r, owner @{HOME}/.selected_editor r,
owner @{HOME}/.viminf@{c}{,.tmp} rw, owner @{HOME}/.viminf@{c}{,.tmp} rw,
@ -31,6 +32,9 @@
owner @{user_cache_dirs}/vim/{,**} rw, owner @{user_cache_dirs}/vim/{,**} rw,
owner @{user_config_dirs}/vim/{,**} r, owner @{user_config_dirs}/vim/{,**} r,
owner @{user_state_dirs}/nvim/{,**} rw, owner @{user_state_dirs}/nvim/{,**} rw,
owner @{user_config_dirs}/nvim/{,**} rw,
owner @{run}/user/@{uid}/nvim.* rw,
include if exists <abstractions/app/editor.d> include if exists <abstractions/app/editor.d>