Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
sml.vim42 linesDownload Raw Back to ftplugin
1" Vim filetype plugin file2" Language: 		SML3" Filenames:		*.sml *.sig4" Maintainer: 		tocariimaa <tocariimaa@firemail.cc>5" Last Change:		2025 Nov 046" 2026 Jan 19 by Vim Project: add 'include' setting7 8if exists('b:did_ftplugin')9  finish10endif11let b:did_ftplugin = 112 13let s:cpo_save = &cpo14set cpo&vim15 16let b:undo_ftplugin = 'setl com< cms< fo< inc<'17 18setlocal formatoptions+=croql formatoptions-=t19setlocal commentstring=(*\ %s\ *)20setlocal comments=sr:(*,mb:*,ex:*)21setlocal include=^\\s*use\\>22 23if exists('loaded_matchit')24  let b:match_ignorecase = 025  let b:match_words = '\<\%(abstype\|let\|local\|sig\|struct\)\>:\<\%(in\|with\)\>:\<end\>'26  let b:undo_ftplugin ..= ' | unlet! b:match_ignorecase b:match_words'27endif28 29if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")30  let b:browsefilter = "SML Source Files (*.sml)\t*.sml\n" ..31                     \ "SML Signature Files (*.sig)\t*.sig\n"32  if has("win32")33    let b:browsefilter ..= "All Files (*.*)\t*\n"34  else35    let b:browsefilter ..= "All Files (*)\t*\n"36  endif37  let b:undo_ftplugin ..= " | unlet! b:browsefilter"38endif39 40let &cpo = s:cpo_save41unlet s:cpo_save42 
codekingpro/portable-devtools · Team Ai