-
-
Notifications
You must be signed in to change notification settings - Fork 158
0.11.1 cause no treesitter, if set lazy = true
#975
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
Comments
nvim-treesitter/nvim-treesitter#7634 treesitter drop support for org filetype |
nvim-orgmode does not have a dependency on |
old version org.so removed. and the
|
The Problem may be cause by the order of some plugins OK if lazy = false, event = "VeryLazy"
errors when lazy = true, ft = "org"
I think the errors is cause treesitter foldmethod loaded -> filetype detected -> orgmode fold (here) but if orgmode fold worked |
lazy = true
I can't reproduce it. Does this minimal init work for you ? --- save this file as minimal_init.lua
--- Run as `nvim -u minimal_init.lua
local tmp_dir = vim.env.TMPDIR or vim.env.TMP or vim.env.TEMP or '/tmp'
local nvim_root = tmp_dir .. '/nvim_orgmode'
local lazy_root = nvim_root .. '/lazy'
local lazypath = lazy_root .. '/lazy.nvim'
for _, name in ipairs({ 'config', 'data', 'state', 'cache' }) do
vim.env[('XDG_%s_HOME'):format(name:upper())] = nvim_root .. '/' .. name
end
-- Install lazy.nvim if not already installed
if not vim.uv.fs_stat(lazypath) then
vim.fn.system({
'git',
'clone',
'--filter=blob:none',
'https://github.com/folke/lazy.nvim.git',
'--branch=stable', -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require('lazy').setup({
{
'nvim-orgmode/orgmode',
lazy = true,
ft = 'org',
opts = {
org_agenda_files = { '~/org/*', '~/orgs/**/*' },
org_default_notes_file = '~/org/note.org',
},
},
}, {
root = lazy_root,
lockfile = nvim_root .. '/lazy.json',
install = {
missing = false,
},
})
require('lazy').sync({
wait = true,
show = false,
})
|
I've also set
and nvim v0.11 remove |
You mean you used |
Describe the bug
Steps to reproduce
upgrade 0.11.1 nvim
open a org file with fold
** aa
Expected behavior
bug fix
Emacs functionality
No response
Minimal init.lua
unknown
Screenshots and recordings
No response
nvim-orgmode version
lastest
OS / Distro
macos 15.4.1
Neovim version/commit
0.11.1
Additional context
No response
The text was updated successfully, but these errors were encountered: