aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-08-21 09:55:12 +0900
committerChristian Clason <c.clason@uni-graz.at>2023-08-21 20:32:28 +0900
commit36404fea4a3cb87d816359564bde774b9e60a899 (patch)
tree27f9be638faa0dd64cfb068a60e340d8de2f585c
parent5b78a5c72a1ae8999646ecb268ab47b767c3e709 (diff)
downloadrneovim-36404fea4a3cb87d816359564bde774b9e60a899.tar.gz
rneovim-36404fea4a3cb87d816359564bde774b9e60a899.tar.bz2
rneovim-36404fea4a3cb87d816359564bde774b9e60a899.zip
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>
-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