summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorEnrico Maria De Angelis <enricomaria.dean6elis@gmail.com>2023-08-20 20:29:09 +0100
committerGitHub <noreply@github.com>2023-08-20 21:29:09 +0200
commit5e6e4042b1c9685bce86493e3ee6fe916a7f221c (patch)
tree5322222311fa3d41886de8fba1ca1a04cd057cef /runtime
parenta03380baa4c43e960f6fa16ded4103fc5138f984 (diff)
runtime(haskell): Add single quote to `iskeyword` in ftplugin (#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
Diffstat (limited to 'runtime')
-rw-r--r--runtime/ftplugin/haskell.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/ftplugin/haskell.vim b/runtime/ftplugin/haskell.vim
index 84f4d0563b..2a864bf916 100644
--- 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