Skip to content

Commit 5e6e404

Browse files
authored
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
1 parent a03380b commit 5e6e404

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

runtime/ftplugin/haskell.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ let b:undo_ftplugin = "setl com< cms< fo<"
1717
setlocal comments=s1fl:{-,mb:-,ex:-},:-- commentstring=--\ %s
1818
setlocal formatoptions-=t formatoptions+=croql
1919
setlocal omnifunc=haskellcomplete#Complete
20+
setlocal iskeyword+='
2021

2122
let &cpo = s:cpo_save
2223
unlet s:cpo_save

0 commit comments

Comments
 (0)