neovim/runtime/lua/vim
Pham Huy Hoang f5573fba3d
fix: Remove nested for_each_tree in TSTreeView (#26328)
Problem:
`LanguageTree:for_each_tree` calls itself for child nodes, so when we
calls `for_each_tree` inside `for_each_tree`, this quickly leads to
exponential tree calls.

Solution:
Use `pairs(child:trees())` directly in this case, as we don't need the
extra callback for each children, this is already handled from the outer
`for_each_tree` call
2023-11-30 10:37:42 -06:00
..
_meta refactor: move some constants out of vim_defs.h (#26298) 2023-11-29 20:32:40 +08:00
filetype vim-patch:9.0.2128: runtime(swig): add syntax and filetype plugins 2023-11-26 00:41:59 +01:00
func feat(lua): add vim.func._memoize 2023-09-20 13:42:41 +01:00
lsp docs: support @since for api level #25574 2023-11-27 08:23:04 -08:00
treesitter fix: Remove nested for_each_tree in TSTreeView (#26328) 2023-11-30 10:37:42 -06:00
ui/clipboard fix(osc52): use p for primary selection instead of s (#26076) 2023-11-16 19:52:22 -06:00
_defaults.lua fix(defaults): wait until VimEnter to set background (#26284) 2023-11-29 09:43:11 -06:00
_editor.lua fix(lua): disallow vim.wait() in fast contexts 2023-11-27 09:09:21 +00:00
_init_packages.lua feat: add vim.text module (#26069) 2023-11-16 11:35:54 -06:00
_inspector.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
_meta.lua feat(lsp): add snippet API (#25301) 2023-10-21 08:51:26 +02:00
_options.lua docs: do not use deprecated functions #25334 2023-09-24 21:39:59 -07:00
_system.lua fix: windows timeouts have exit code 1 2023-09-05 17:10:04 +01:00
_watch.lua perf(lsp): use async fs_stat for file watching on linux (#26123) 2023-11-21 17:46:19 +01:00
diagnostic.lua fix(diagnostic): virtual_text prefix function should have index and total (#25801) 2023-10-27 08:17:46 -05:00
F.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
filetype.lua vim-patch:9.0.2131: not all nushell files detected (#26260) 2023-11-28 07:58:31 +08:00
fs.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
func.lua feat(lua): add vim.func._memoize 2023-09-20 13:42:41 +01:00
health.lua feat(health): fold successful healthchecks #22866 2023-06-06 08:42:26 -07:00
highlight.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
inspect.lua fix(inspect): escape identifiers that are lua keywords (#19898) 2022-08-23 13:02:55 +02:00
iter.lua docs: vim.iter #26169 2023-11-25 06:35:31 -08:00
keymap.lua docs: fix type warnings 2023-09-23 23:46:45 +01:00
loader.lua fix(lua): improve annotations for stricter luals diagnostics (#24609) 2023-08-09 11:06:13 +02:00
lsp.lua feat(lsp)!: vim.lsp.inlay_hint.get(), enable(), is_enabled() #25512 2023-11-12 04:54:27 -08:00
re.lua build: bump lpeg to 1.1.0 (#25016) 2023-09-04 22:42:47 +02:00
secure.lua docs: fix type warnings 2023-09-23 23:46:45 +01:00
shared.lua docs: misc #24561 2023-09-20 04:15:23 -07:00
snippet.lua feat(lsp): support for choice snippet nodes 2023-11-17 17:10:27 +01:00
termcap.lua fix(termcap): escape escapes in passthrough sequence (#26301) 2023-11-29 09:49:44 -06:00
text.lua feat: add vim.text module (#26069) 2023-11-16 11:35:54 -06:00
treesitter.lua docs(treesitter): add disclaimer about needing to parse before get_node() 2023-11-04 14:55:44 +01:00
ui.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
uri.lua docs: fix type warnings 2023-09-23 23:46:45 +01:00
version.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
vimhelp.lua feat(runtime): highlight hl groups in syntax.txt (#25050) 2023-09-08 21:05:35 +08:00