nvim-treesitter / nvim-treesitter-context

Show code context
MIT License
2.5k stars 201 forks source link

not working for prisma #500

Closed shyamayadav154 closed 1 month ago

shyamayadav154 commented 1 month ago

Description

Not working for prisma

Neovim version

0.10.2

Expected behavior

prisma modal name should stick to the top

Actual behavior

modal name doesn't stick to the top

Minimal config

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
-- not required

Steps to reproduce

  1. nvim --clean -u minimal.lua
  2. install treesitter for prisma using this cmd TSInstall prisma
  3. open any prisma file, here is the link for one mock schema file
  4. see if modal name stick to the to
shyamayadav154 commented 1 month ago

but this is already implemented in this pr #255