A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/commit/6063e07a0f50855f3e8fad38f04cd1d7f6535443 below:

set effective buffer number in autocmd (again) (#16589) · neovim/neovim@6063e07 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+7

-5

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+7

-5

lines changed Original file line number Diff line number Diff line change

@@ -1344,12 +1344,14 @@ function M.reset(namespace, bufnr)

1344 1344

end

1345 1345

end

1346 1346 1347 -

vim.api.nvim_command(

1348 -

string.format(

1349 -

"doautocmd <nomodeline> DiagnosticChanged %s",

1350 -

vim.fn.fnameescape(vim.api.nvim_buf_get_name(bufnr))

1347 +

vim.api.nvim_buf_call(bufnr, function()

1348 +

vim.api.nvim_command(

1349 +

string.format(

1350 +

"doautocmd <nomodeline> DiagnosticChanged %s",

1351 +

vim.fn.fnameescape(vim.api.nvim_buf_get_name(bufnr))

1352 +

)

1351 1353

)

1352 -

)

1354 +

end)

1353 1355

end

1354 1356 1355 1357

--- Add all diagnostics to the quickfix list.

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4