Snapping Neovim

Andreas Hasenack andreas at canonical.com
Fri Aug 26 16:53:43 UTC 2016


Can you change neovim to look for these dot files elsewhere, like
$SNAP_USER_DATA (if I didn't typoed the var name)?


On Fri, Aug 26, 2016 at 1:19 PM, Matthew Williams <
matthew.williams at canonical.com> wrote:

> Hey folks,
>
> So I decided to have a go at snapping neovim (https://github.com/mattyw/
> neovim/blob/01-snapcraft/snapcraft.yaml)
>
> Getting it going with devmode was easy - I loved not having to mess around
> with confinement while getting the rest of the snap working, that's a great
> feature.
>
> My problem now is what kind of thing I should be doing for classes of
> application like this when confinement is strict.  As you can see from the
> above yaml I've added the home part which means I can read and write files
> in home. But for things like configuration files neovim looks in hidden
> files and directories, and as a user you want to be able to edit these
> files, and indeed any file on disk. But this doesn't fit the confinement
> model very well.
>
> I was wondering if anyone on the list had a good suggestion for what I
> should be doing?
>
> Thanks
>
> Matty
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160826/3d5d8c0e/attachment.html>


More information about the Snapcraft mailing list