Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change filetype gpg to gpgconf #1077

Closed
wants to merge 1 commit into from
Closed

Change filetype gpg to gpgconf #1077

wants to merge 1 commit into from

Conversation

lucc
Copy link

@lucc lucc commented Sep 15, 2016

The file type for the GnuPG config file was called "gpg". This collides with actual gpg encrypted files for which not filetype plugin does exit yet (there is a normal plugin though: https://github.com/jamessan/vim-gnupg)

Files in $GNUPGHOME are also recognized as GnuPG config files.

This was partly motivated by an attempt to write a ftplugin to edit gpg encrypted files. The PR is here lucc/vim-gnupg#1.

The file type for the GnuPG config file was called "gpg".  This collides with
actual gpg encrypted files for which not filetype plugin does exit yet (there
is a normal plugin though: https://github.com/jamessan/vim-gnupg)

Files in $GNUPGHOME are also recognized as GnuPG config files.
@brammool
Copy link
Contributor

Lucas Hoffmann wrote:

The file type for the GnuPG config file was called "gpg". This collides with actual gpg encrypted files for which not filetype plugin does exit yet (there is a normal plugin though: https://github.com/jamessan/vim-gnupg)

Files in $GNUPGHOME are also recognized as GnuPG config files.

This was partly motivated by an attempt to write a ftplugin to edit gpg encrypted files. The PR is here lucc/vim-gnupg#1.

Won't this break behavior for those who depend on "gpg"?

I would think that a file encrypted with gpg would not be edited
directly, have the filetype of the text once unencrypted.
Just like there is no "zip" filetype. You can edit a .zip file though.

The software said it requires Windows 95 or better, so I installed Linux.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\ an exciting new programming language -- http://www.Zimbu.org ///
\ help me help AIDS victims -- http://ICCF-Holland.org ///

@lucc
Copy link
Author

lucc commented Sep 17, 2016

Ok, but I will resend a PR for a subset of the changes that I still deem useful.

@lucc lucc closed this Sep 17, 2016
@lucc lucc deleted the gpgconf branch September 17, 2016 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants