neovim/scripts
Sean Dewar 0377973769 fix(runtime/genvimvim): omit s[ubstitute] from vimCommand
It's special cased by the vimSubst syntax group, and isn't present in Vim's
vimCommand group.

For example, this fixes `call s:Foo()` highlighting `:` as Error in Nvim, as the
`s` is parsed as vimCommand rather than as vimUserFunc since
`contains=vimCommand` was added to vimUserFunc (and vimFunc) in a rt update.

Interestingly, `g:`, `l:`, etc. have the same issues due to :global, :list, etc.
Vim also has that problem, so it should ideally be fixed upstream.

We could also omit g[lobal] from vimCommand and rely on vimGlobal instead, but
it doesn't work in some cases, like when there's a `:` before the command. Also,
Vim matches only `g` in vimCommand for some reason, which doesn't produce any
highlight for `:global/foo/bar` (with Nvim you at least get some highlights on
the `global` bit despite the leading `:`).

Also, remove special handling of :py3 in syntax/vim.vim, as the generator seems
to have no problems finding it.

(cherry picked from commit 53780d9fd0)
2022-05-12 00:09:01 +00:00
..
bump_deps.lua ci: add script to bump versions (#17884) 2022-04-07 17:41:48 +02:00
bump-deps.sh ci: add script to bump versions (#17884) 2022-04-07 17:41:48 +02:00
check_urls.vim vim-patch: move test_urls.vim out of runtime/ 2018-11-12 12:36:40 -05:00
check-includes.py py: flake8 fixes 2019-07-29 22:14:23 +02:00
download-unicode-files.sh Download emoji-data from UNIDATA/ 2020-10-04 11:50:29 -04:00
gen_filetype.lua feat: filetype.lua (#16600) 2022-01-04 07:28:29 -07:00
gen_help_html.py py: flake8 fixes 2019-07-29 22:14:23 +02:00
gen_vimdoc.py docs: remove extra whitespaces 2022-03-14 08:16:01 +09:00
genappimage.sh genappimage.sh: migrate to linuxdeploy #10027 2019-05-18 20:38:19 +02:00
genvimvim.lua fix(runtime/genvimvim): omit s[ubstitute] from vimCommand 2022-05-12 00:09:01 +00:00
git-log-pretty-since.sh release.sh: Format issue-numbers in descriptions [ci skip] 2019-01-04 06:03:47 +01:00
legacy2luatest.pl legacy2luatest: Use before_each instead of setup. 2016-02-01 09:09:08 +01:00
lintcommit.lua ci(commitlint): allow first non-space character to be a quote 2022-02-11 20:02:50 +01:00
lua2dox_filter more generic shebang for lua2dox_filter 2021-03-04 15:44:40 +01:00
lua2dox.lua docs: typo fixes (#17859) 2022-04-15 12:35:06 +02:00
movedocs.pl Move documentation from function declarations to definitions 2014-06-02 11:04:04 -03:00
pvscheck.sh ci: exclude lua-cjson from PVS report #15859 2021-10-05 05:02:49 -07:00
release.sh fix(release.sh): ignore failed "rm" 2021-10-02 08:26:57 -07:00
shadacat.py Merge #11319 'inccommand: fix issues with modifiers and prompting' 2019-11-05 17:34:21 -08:00
uncrustify.sh feat(lua): add api and lua autocmds 2022-02-27 22:04:55 +01:00
update_terminfo.sh update_terminfo.sh: NOLINT data arrays 2018-12-28 23:52:03 +01:00
update_version_stamp.lua Use vX.Y.Z-dev+{git-describe} for development versions 2020-12-06 21:01:11 -05:00
vim-patch.sh fix(vim-patch.sh): fix N/A files patterns (#18073) 2022-04-11 14:41:26 +08:00
vimpatch.lua build(lint): check scripts/*.lua 2021-09-19 16:36:08 -07:00
windows.ti win/TUI: fix text overrides line numbers #9474 2019-01-09 10:40:02 +01:00