kergoth / vim-bitbake

Vim files for the BitBake tool
MIT License
61 stars 36 forks source link

Fix name collision with indent/python.vim #26

Closed Rahix closed 4 years ago

Rahix commented 4 years ago

When editing python files and bitbake files at the same time, GetPythonIndent() will be defined multiple times and an error message is shown.

As the version here is custom-tailored to python usage in bitbake files, rename the indent function to GetBitbakePythonIndent() which will probably not collide with anything else.

Fixes #24.

kergoth commented 4 years ago

Thanks!