neovim/runtime/lua/vim
Raphael 4d0f4c3de9
fix(lsp): E403 if doc contains multiple codeblocks #24458
Problem:
Content that has codeblocks with different languages, results in
multiple calls to:
    syntax include vim syntax/vim.vim
which raises error:
    E403: syntax sync: line continuations pattern specified twice
Before ba8f19ebb6, this was avoided by
using pcall() to ignore the error.

Solution:
Restore the use of pcall() to ignore the error.
We plan to replace this logic with a treesitter approach, so this is
good enough for now.

Fix #24431
2023-07-25 04:38:48 -07:00
..
_meta docs(lua): add missing word in docs for vim.empty_dict (#24401) 2023-07-22 15:42:25 +08:00
filetype vim-patch:9.0.1620: Nix files are not recognized from the hashbang line (#23961) 2023-06-09 08:59:28 +02:00
lsp fix(lsp): E403 if doc contains multiple codeblocks #24458 2023-07-25 04:38:48 -07:00
treesitter docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
_editor.lua fix(gx): move to to _init_default_mappings #24420 2023-07-24 08:35:19 -07:00
_init_packages.lua refactor(build): include lpeg as a library 2023-04-27 11:40:00 +02:00
_inspector.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
_options.lua fix(api/options): validate buf and win 2023-07-22 09:52:13 +01:00
_system.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
_watch.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
diagnostic.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
F.lua feat(lua): allow vim.F.if_nil to take multiple arguments (#22903) 2023-04-07 08:22:47 -06:00
filetype.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
fs.lua docs(lua): clarify fs.find() documentation #24394 2023-07-19 09:55:35 -07:00
health.lua feat(health): fold successful healthchecks #22866 2023-06-06 08:42:26 -07:00
highlight.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
inspect.lua fix(inspect): escape identifiers that are lua keywords (#19898) 2022-08-23 13:02:55 +02:00
iter.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
keymap.lua docs(lua): adds links to related keymap functions to keymap.set (#24337) 2023-07-13 14:43:36 +02:00
loader.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
lsp.lua fix(lsp): replace @private with @nodoc for public client functions (#24415) 2023-07-24 20:21:35 +02:00
re.lua refactor(build): include lpeg as a library 2023-04-27 11:40:00 +02:00
secure.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
shared.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
treesitter.lua fix(treesitter): stop() should treat 0 as current buffer #24450 2023-07-24 07:26:38 -07:00
ui.lua fix(ui.open): some URLs fail on Windows 2023-07-21 13:36:57 +02:00
uri.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00
version.lua docs(lua): more improvements (#24387) 2023-07-18 15:42:30 +01:00