mirror of
https://github.com/vim/vim.git
synced 2026-02-05 11:34:36 +01:00
Add "-" to iskeyword. This required a change to the syntax files too because they were using the word begin and end atoms. closes: #17259 Co-authored-by: Teemu Ikonen <tpikonen@mailbox.org> Co-authored-by: A4-Tacks <wdsjxhno1001@163.com> Signed-off-by: Aman Verma <amanraoverma@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
25 lines
500 B
VimL
25 lines
500 B
VimL
" Vim filetype plugin
|
|
" Language: TOML
|
|
" Homepage: https://github.com/cespare/vim-toml
|
|
" Maintainer: Aman Verma
|
|
" Author: Lily Ballard <lily@ballards.net>
|
|
" Last Change: May 5, 2025
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
let s:save_cpo = &cpo
|
|
set cpo&vim
|
|
let b:undo_ftplugin = 'setlocal commentstring< comments< iskeyword<'
|
|
|
|
setlocal commentstring=#\ %s
|
|
setlocal comments=:#
|
|
setlocal iskeyword+=-
|
|
|
|
let &cpo = s:save_cpo
|
|
unlet s:save_cpo
|
|
|
|
" vim: et sw=2 sts=2
|