Mercurial > vim
view src/proto/if_mzsch.pro @ 19607:d24e6844aabd v8.2.0360
patch 8.2.0360: yaml files are only recognized by the file extension
Commit: https://github.com/vim/vim/commit/8eab73132838e977092d7b46f70b4ecf6274fd6a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 6 22:25:56 2020 +0100
patch 8.2.0360: yaml files are only recognized by the file extension
Problem: Yaml files are only recognized by the file extension.
Solution: Check for a line starting with "%YAML". (Jason Franklin)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 06 Mar 2020 22:30:04 +0100 |
parents | 4cb5ab124239 |
children | ca6bc7c04163 |
line wrap: on
line source
/* if_mzsch.c */ int mzscheme_enabled(int verbose); void mzvim_check_threads(void); void mzvim_reset_timer(void); void mzscheme_end(void); int mzscheme_main(void); void mzscheme_buffer_free(buf_T *buf); void mzscheme_window_free(win_T *win); void ex_mzscheme(exarg_T *eap); void ex_mzfile(exarg_T *eap); void do_mzeval(char_u *str, typval_T *rettv); void raise_vim_exn(const char *add_info); void raise_if_error(void); buf_T *get_valid_buffer(void *obj); win_T *get_valid_window(void *obj); int mzthreads_allowed(void); /* vim: set ft=c : */