Go to Settings and search for Cucumber and select Plugins.
you can see Gherkin and cucumber plugins. disable and enable them again.
Then restart the IntelliJ.