Vim9 now interprets '#' as the start of comment, but I use this character in color setting files. For instance:
hi Todo guifg=#d14a14 guibg=#1248d1 ctermfg=red ctermbg=darkblue
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityVim9 now interprets '#' as the start of comment, but I use this character in color setting files. For instance:
hi Todo guifg=#d14a14 guibg=#1248d1 ctermfg=red ctermbg=darkblue
In vim9 comment starts with either space+#
or beginning of the line and #
(as far as I remember). So your color setting would still work.
:h vim9
/Comments starting<CR>
To improve readability there must be a space between a command and the #
that starts a comment: >
var name = value # comment
var name = value# error!