mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fix(treesitter): don't lazy-load textobjects when open file from command line
This commit is contained in:
parent
561da43c43
commit
2531d18592
1 changed files with 1 additions and 0 deletions
|
|
@ -141,6 +141,7 @@ return {
|
|||
"nvim-treesitter/nvim-treesitter-textobjects",
|
||||
branch = "main",
|
||||
event = "VeryLazy",
|
||||
lazy = vim.fn.argc(-1) == 0, -- load treesitter-textobjects early when opening a file from the cmdline
|
||||
opts = {
|
||||
move = {
|
||||
enable = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue