neovim

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

commit 36404fea4a3cb87d816359564bde774b9e60a899
parent 5b78a5c72a1ae8999646ecb268ab47b767c3e709
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Mon, 21 Aug 2023 09:55:12 +0900

vim-patch:5e6e4042b1c9

runtime(haskell): Add single quote to `iskeyword` in ftplugin (vim/vim#8191)

The single quote `'` is a valid character in variable names, so it should be included in `iskeyword`; this, for instance, makes the <kbd>*</kbd> command behave predictably

https://github.com/vim/vim/commit/5e6e4042b1c9685bce86493e3ee6fe916a7f221c

Co-authored-by: Enrico Maria De Angelis <enricomaria.dean6elis@gmail.com>

Diffstat:
Mruntime/ftplugin/haskell.vim | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/runtime/ftplugin/haskell.vim b/runtime/ftplugin/haskell.vim @@ -17,6 +17,7 @@ let b:undo_ftplugin = "setl com< cms< fo<" setlocal comments=s1fl:{-,mb:-,ex:-},:-- commentstring=--\ %s setlocal formatoptions-=t formatoptions+=croql setlocal omnifunc=haskellcomplete#Complete +setlocal iskeyword+=' let &cpo = s:cpo_save unlet s:cpo_save