Upload map.vim and map_fold.vim to vim runtime
Upload
- https://github.com/MapServer/MapServer-documentation/blob/main/_static/map.vim
- https://github.com/MapServer/MapServer-documentation/blob/main/_static/map_fold.vim
to vim runtime to make it out of box. and complete syntax for mapserver config https://mapserver.gis.umn.edu/de/mapfile/config.html
TIA!
@Freed-Wu I'm not quite understanding. I assume that you want to change the VIM Syntax steps in the document at https://mapserver.org/development/editing/vim.html
Updates on those steps would indeed be warmly accepted here. Are you able to create a Pull Request for your changes? The source of that file lives here.
Or, please explain more clearly what changes you need.
Ust upload these files to vim runtime. Not modification.
I assume @Freed-Wu means that the Mapserver VIM-Syntaxfiles should be added (via Pull-Request) to the official VIM repo at https://github.com/vim/vim/tree/master/runtime/syntax so that they are included in the standard VIM-Runtime bundle and don't require additional installation.
Sounds in principle like a good idea, but would mean that they would need to be kept up-to-date (or possibly even multiple versions?), which obviously isn't a problem if they are distributed via MapServer as everyone is then responsible for ensuring they have the correct version for their own MapServer version..
Edit: "complete syntax for mapserver config" means that the syntax files aren't yet present or complete for the new global configuration file? That would be a separate ticket to wanting them included in the standard VIM runtime bundle.