MapServer-documentation icon indicating copy to clipboard operation
MapServer-documentation copied to clipboard

Upload map.vim and map_fold.vim to vim runtime

Open Freed-Wu opened this issue 1 year ago • 4 comments

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 avatar Dec 28 '24 11:12 Freed-Wu

@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.

jmckenna avatar Jan 16 '25 18:01 jmckenna

Ust upload these files to vim runtime. Not modification.

Freed-Wu avatar Jan 17 '25 04:01 Freed-Wu

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..

ejn avatar Jan 17 '25 07:01 ejn

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.

ejn avatar Jan 17 '25 07:01 ejn