In order to do efficient DocBook editing in vim, I was trying to install the matchit plugin to be able to jump from an xml opening tag to its closing tag. It works, but not perfectly.
I have followed the instructions from this link.
I can get the help for the matchit plugin, but when I press %, I don't jumpt to the associated tag. So I decided to tell vim that the file I am editing is an xml file, by issuing the command:
And now pressing % works! And actually, it changes the syntax coloring at the same.
So I wanted to test if the filetype recognition plugin was activated:
which returns the following:
So what's happening? Is it my filetype plugin which is not correctly working? Is it not recognizing the correct filetype and how to remedy it?
filetype detection:ON plugin:ON indent:OFF