mirror of
https://github.com/neovim/neovim.git
synced 2026-02-09 05:18:45 +00:00
Add "-" to iskeyword. This required a change to the syntax files too
because they were using the word begin and end atoms.
closes: vim/vim#17259
dd3aa92ce6
Co-authored-by: Aman Verma <amanraoverma@gmail.com>
Co-authored-by: Teemu Ikonen <tpikonen@mailbox.org>
Co-authored-by: A4-Tacks <wdsjxhno1001@163.com>
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
|