Loading ...
Sorry, an error occurred while loading the content.

72453Re: Update ftplugin/ocaml.vim

Expand Messages
  • glts
    Jul 24, 2013
    • 0 Attachment
      On Wed, Jul 24, 2013 at 7:10 PM, Markus Mottl <markus.mottl@...> wrote:
      > Btw., the compiler-settings don't load unless I enter ":compiler
      > ocaml". This may be annoying for beginners who might expect things to
      > work without having to change their Vim-configuration. What would be
      > the best way to set this as an overridable default?

      This is not normally done. In fact, the Ada ftplugin is the only one in
      all of Vim's runtime files that sets a compiler for the user.

      Beginners can learn. How about adding a note with a suggested
      autocommand inside the plugin?

      :autocmd FileType ocaml compiler ocaml

      People need to look inside the plugin anyway to find out about the
      mappings that you define for them.

      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 17 messages in this topic