local config = require("plugins.configs.lspconfig") local on_attach = config.on_attach local capabilities = config.capabilities local lspconfig = require("lspconfig") lspconfig.tsserver.setup({ on_attach = on_attach, capabilities = capabilities, filetypes = {"typescript"}, }) lspconfig.pyright.setup({ on_attach = on_attach, capabilities = capabilities, filetypes = {"python"}, settings = { pyright = { disableOrganizeImports = true, }, python = { analysis = { ignore = {"*"}, }, }, }, }) lspconfig.ruff_lsp.setup({ filetypes = {"python"}, })