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

Fix/vim compat #109

Merged
merged 4 commits into from
Mar 31, 2022
Merged

Fix/vim compat #109

merged 4 commits into from
Mar 31, 2022

Conversation

EdenEast
Copy link
Owner

@EdenEast EdenEast commented Mar 31, 2022

Resolve compat issues with vim.

Fixes: #107
Fixes: #108

In neovim it is `vim.cmd` and in vim it is `vim.command` because of
course they are different....
`bit` is from `luajit` that is used by neovim. `bit32` is taken from lua
`5.2`. This also makes a requirement that vim's lua version is at least
`5.2`. This was added to requirements section of the docs.
@EdenEast EdenEast added bug Something isn't working compiler Change relating to style compiler labels Mar 31, 2022
@EdenEast EdenEast self-assigned this Mar 31, 2022
@EdenEast EdenEast merged commit c39f1dc into main Mar 31, 2022
@EdenEast EdenEast deleted the fix/vim-compat branch March 31, 2022 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler Change relating to style compiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vim.cmd in Neovim is vim.command in Vim stdpath needs vim.fn.has("nvim") check
1 participant