neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit f728895eddec1c2381abbc9b42d9770892aafb31
parent c0062da148e26866d740c7247cc28d0fdc90d3ec
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Tue, 20 Jan 2026 07:07:55 +0800

vim-patch:d829e10: runtime(sml): add 'include' setting to ftplugin

closes: vim/vim#19156

https://github.com/vim/vim/commit/d829e10e0fa36de50ce230ee840dfc727e252642

Co-authored-by: Mateo Gjika <104777599+mateoxh@users.noreply.github.com>

Diffstat:
Mruntime/ftplugin/sml.vim | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/runtime/ftplugin/sml.vim b/runtime/ftplugin/sml.vim @@ -3,6 +3,7 @@ " Filenames: *.sml *.sig " Maintainer: tocariimaa <tocariimaa@firemail.cc> " Last Change: 2025 Nov 04 +" 2026 Jan 19 by Vim Project: add 'include' setting if exists('b:did_ftplugin') finish @@ -12,11 +13,12 @@ let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim -let b:undo_ftplugin = 'setl com< cms< fo<' +let b:undo_ftplugin = 'setl com< cms< fo< inc<' setlocal formatoptions+=croql formatoptions-=t setlocal commentstring=(*\ %s\ *) setlocal comments=sr:(*,mb:*,ex:*) +setlocal include=^\\s*use\\> if exists('loaded_matchit') let b:match_ignorecase = 0