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.
Related to:
vim-polyglot
#699I 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:
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:
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.