Files like the following get ft=conf.
#! /usr/bin/env racket
#lang racket
Using ; vim: ft=racket helps, but fails to correctly load https://github.com/benknoble/vim-sexp (some mappings are loaded, but not all: mostly those from https://github.com/tpope/vim-sexp-mappings-for-regular-people are missing). I think this is a separate issue, one that may be fixed by change the default g:sexp_filetypes.
But for shebang-filetype detection, we probably need to use a scripts.vim without somehow re-inventing all the work in ftdetect/racket.vim…
Files like the following get
ft=conf.Using
; vim: ft=rackethelps, but fails to correctly load https://github.com/benknoble/vim-sexp (some mappings are loaded, but not all: mostly those from https://github.com/tpope/vim-sexp-mappings-for-regular-people are missing). I think this is a separate issue, one that may be fixed by change the defaultg:sexp_filetypes.But for shebang-filetype detection, we probably need to use a
scripts.vimwithout somehow re-inventing all the work inftdetect/racket.vim…