Dave McCooey wrote:
Well, I was referring to a way without writing a script.
But even so, writing an after-script in this way really
amounts to writing dozens of them, one for each
ftplugin that might override 'iskeyword', unless there
is a way to write a script that always runs last, at
every FileType event, regardless of the file type.
-Dave
You can write an autocommand
autocmd FileType * setlocal iskeyword-=.
but how to guarantee that it will run after the ftplugins? They are themselves
run from an autocommand, which is set up by ":filetype plugin on", and
autocommands run in the order they were defined, so putting the above
autocommand near the end of your vimrc should work... *unless* for some reason
there is something which disables and re-enables ft-plugins.
Best regards,
Tony.