local plugins = {
ts = 'https://github.com/nvim-treesitter/nvim-treesitter',
ts_context = 'https://github.com/nvim-treesitter/nvim-treesitter-context',
-- ADD ADDITIONAL PLUGINS THAT ARE _NECESSARY_ TO REPRODUCE THE ISSUE
}
for name, url in pairs(plugins) do
local install_path = '/tmp/nvim/site/'..name
if vim.fn.isdirectory(install_path) == 0 then
vim.fn.system { 'git', 'clone', '--depth=1', url, install_path }
end
vim.o.runtimepath = install_path..','..vim.o.runtimepath
end
-- ADD INIT.LUA SETTINGS THAT IS _NECESSARY_ FOR REPRODUCING THE ISSUE
Description
With the default setup, context is present in Lua files, C files and more. OCaml, despite declared support, doesn't work.
OCaml:
C:
Neovim version
NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713484068
Expected behavior
The context window showing up in OCaml files
Actual behavior
Context window doesn't show up in OCaml files.
Minimal config
Steps to reproduce
nvim --clean -u minimal.lua
nvim lib/ipaddr.ml