haskell-vim
                                
                                 haskell-vim copied to clipboard
                                
                                    haskell-vim copied to clipboard
                            
                            
                            
                        In cabal files moving using 'w' skips over '.'
This makes it hard to edit module namespaces.
To move through Cow.Horse.Sheep
I have to use f. and then to say change Horse to Donkey I have to do ct. this is inconvenient as it basically puts cabal files in a different editing mode from every other kind of file.
I read https://superuser.com/questions/741422/vim-move-word-skips-dot
and then ran :verbose set iskeyword? in the cabal file
gives (notice the '.' in there):
 iskeyword=@,48-57,_,192-255,-,.,*
        Last set from ~/.vim/plugged/haskell-vim/after/ftplugin/cabal.vim
Is there any reason you are doing that?
Could you change it?
I think I can probably remove the '.' using an autocmd on filetype but was wondering if that has any other consequences?
Cheers
Jonny
Yep it's a bit distracting but I've did that for a reason (can't recall what exactly it was though). I should improve the cabal portion of the plugin at some point. It's still very hacky.