On Fr, 30 Okt 2015, Bram Moolenaar wrote:
> I suppose that for syntax highlighting using a :syntax command is
> appropriate. For other contexts we might still want to use an actual
> setting.
>
> Not sure about the ":syn option" command. Why not use ":syn iskeyword"?
That was my first approach. Than I thought perhaps later we'll need
another option to be set, perhaps 'isfname' so I thought, let's make it
abstract enough that it can be easily extended later if needed.
> In a way, all :syn commands change options/settings in some way.
Actually I even thought about making e.g. syn spell or syn sync an alias
for syn option spell
> I would not see this as an option, but part of the syntax definition.
> Thus ":syn clear" removes it and goes back to 'iskeyword'.
I'll send an updated patch later this week.
Best,
Christian
--
Zeitknappheit ist die Rache des Wohlstandes.
Die Navacho Indianer kannten 256 Gegenstände. All unsere Gegenstände
erfordern unsere Zeit, das Resultat ist Hektik und Streß.
-- Misereor --
--
--
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].
For more options, visit https://groups.google.com/d/optout.