Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V is not detected properly #825

Open
Betelgeuse1 opened this issue Nov 18, 2022 · 0 comments
Open

V is not detected properly #825

Betelgeuse1 opened this issue Nov 18, 2022 · 0 comments

Comments

@Betelgeuse1
Copy link

Neovim information
$ nvim --version
NVIM v0.8.0-v0.8.0
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/lib64/ccache/cc -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/thomas/.local/builds/neovim/build/cmake.config -I/home/thomas/.local/builds/neovim/src -I/home/thomas/.local/builds/neovim/.deps/usr/include -I/usr/include -I/home/thomas/.local/builds/neovim/build/src/nvim/auto -I/home/thomas/.local/builds/neovim/build/include
Compiled by thomas@fedora-lenovo-t470

Features: +acl +iconv +tui
See ":help feature-compile"

system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/share/nvim"

Run :checkhealth for more info

Does this bug happen when you install plugin without vim-polyglot?
Yes.

Describe the bug:
When using the package ollykel/v-vim directly and opening a vlang examples from the official repo, syntax highlight is working. It doesn't when I'm using vim-polyglot though.
The syntax can still be activated using set syntax=vlang, which means the package is load correctly.

To Reproduce:
Uninstall vim-polyglot
Install ollykel/v-vim
Open a v file (such as one of the example from the official repo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant