treewide: remove usage of default_on_attach outside LspAttach

This commit is contained in:
Ching Pei Yang 2025-09-26 00:29:22 +02:00
commit c13edf9961
No known key found for this signature in database
GPG key ID: B3841364253DC4C8
9 changed files with 16 additions and 31 deletions

View file

@ -50,8 +50,6 @@
};
on_attach = mkLuaInline ''
function(client, bufnr)
default_on_attach(client, bufnr);
-- ts_ls provides `source.*` code actions that apply to the whole file. These only appear in
-- `vim.lsp.buf.code_action()` if specified in `context.only`.
vim.api.nvim_buf_create_user_command(0, 'LspTypescriptSourceAction', function()
@ -106,7 +104,6 @@
};
on_attach = mkLuaInline ''
function(client, bufnr)
default_on_attach(client, bufnr)
vim.api.nvim_buf_create_user_command(0, 'LspDenolsCache', function()
client:exec_cmd({
command = 'deno.cache',