> Hi, sorry for necro-post. I am current maintainer of forth.vim syntax
> file, and happened to find this thread by accident.
> 
> > Since Vim 7.0, I found one change to syntax/forth.vim
> > that [improperly] sets 'iskeyword' and one change to filetype.vim
> > that adds .fth as a forth file extension.
> 
> Could you please explain what is improper about the `iskeyword` usage
> in forth.vim ? I am not familiar with the this keyword myself.

The problem with using the 'iskeyword' option is that it changes the
behavior of many commands.  It should not be set in the syntax file.
Instead, the ":syn iskeyword" command should be used.  That way the
syntax file does not depend on how movement commands work, and the other
way around.

Setting the 'iskeyword' option may be done in the filetype plugin.
Currently there is no forth filetype plugin, thus this would need to be
added.

-- 
FATHER:    You only killed the bride's father - that's all -
LAUNCELOT: Oh dear, I didn't really mean to...
FATHER:    Didn't mean to?  You put your sword right through his head!
LAUNCELOT: Gosh - Is he all right?
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230405170818.286B71C0B8A%40moolenaar.net.

Raspunde prin e-mail lui