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

@ -42,7 +42,6 @@
};
on_attach = mkLuaInline ''
function(client, bufnr)
default_on_attach(client, bufnr);
vim.api.nvim_buf_create_user_command(bufnr, 'LspPyrightOrganizeImports', function()
local params = {
command = 'pyright.organizeimports',
@ -89,7 +88,6 @@
};
on_attach = mkLuaInline ''
function(client, bufnr)
default_on_attach(client, bufnr);
vim.api.nvim_buf_create_user_command(bufnr, 'LspPyrightOrganizeImports', function()
local params = {
command = 'basedpyright.organizeimports',