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

Options to enable/disable autocompletion for some filetypes #14

Closed
ghost opened this issue Oct 15, 2016 · 4 comments
Closed

Options to enable/disable autocompletion for some filetypes #14

ghost opened this issue Oct 15, 2016 · 4 comments

Comments

@ghost
Copy link

ghost commented Oct 15, 2016

Currently autocompletion is enabled in all buffers. This is useful for coding, but not really necessary when you write prose, or use plugins like Unite.
There should be option to enable (or to disable) autocompletion only for some filetypes.

@maralla
Copy link
Owner

maralla commented Oct 21, 2016

Now you can use these options to disable completions for files:

g:completor_blacklist
g:completor_whitelist
g:completor_filesize_limit

For more informations h: completor-options.

@ghost
Copy link
Author

ghost commented Oct 24, 2016

Thanks!
Unfortunately, blacklisting seems to not work for me. I wanted to disable completion for markdown filetype, so I configured blacklist like this:

let g:completor_blacklist = ['markdown']

in my vimrc and autocompletion still works. I noticed that, for some reason, g:blacklist list contains only default values.

@maralla
Copy link
Owner

maralla commented Oct 27, 2016

Have you tried the latest commit?

@ghost
Copy link
Author

ghost commented Oct 28, 2016

Hi,
I pulled the latest version and it seems to work now. Thanks!

On śro, paź 26, 2016 at 07:55:17 -0700, Wei Zhang wrote:

Have you tried the latest commit?


You are receiving this because you authored the thread.
Reply to this email directly, [1]view it on GitHub, or [2]mute the thread.

Reverse link: [3]unknown

References

Visible links

  1. Options to enable/disable autocompletion for some filetypes #14 (comment)
  2. https://github.com/notifications/unsubscribe-auth/ATyrH8ApRL0p9dhinRpzuvQb8hRjZzXjks5q4BKVgaJpZM4KXvGy
  3. Options to enable/disable autocompletion for some filetypes #14 (comment)

@maralla maralla closed this as completed Oct 29, 2016
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

No branches or pull requests

1 participant