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

Turn off vim-polyglot support for a specific language #701

Open
jmoody opened this issue Apr 13, 2018 · 0 comments
Open

Turn off vim-polyglot support for a specific language #701

jmoody opened this issue Apr 13, 2018 · 0 comments

Comments

@jmoody
Copy link

jmoody commented Apr 13, 2018

Related to:

I updated janus yesterday and found that the default cucumber indentation had changed because of the switch to vim-polyglot.

I think I want to turn off the vim-polyglot support for "cucumber" so I can avoid the new cucumber indention. I want no indention in the cucumber feature files.

From the vim-polyglot website, I should be able to add:

let g:polyglot_disabled = ['cucumber'] 

to my .vimrc.

I tried adding that to my .vimrc.before and .vimrc.after, but I still see the new indention is applied.

I tried to disable "vim-polyglot" support using:

# .vimrc.before
call janus#disable_plugin("vim-polyglot")

# also tried
call janus#disable_plugin("polyglot")

but I still see the new indentation is applied.

Maybe I am not disable the correct plug-in?

I have asked on the tpope/vim-cucumber repo if it is possible to customize the behavior of that plug-in.

thisgeek added a commit to thisgeek/dotfiles that referenced this issue May 20, 2018
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