My simple neovim config
at main 511 B view raw
1vim.opt_local.colorcolumn = "80" 2vim.api.nvim_create_autocmd("LspAttach", { 3 group = vim.api.nvim_create_augroup("LspAttach_Python", {}), 4 callback = function(args) 5 if not (args.data and args.data.client_id) then 6 return 7 end 8 local client = vim.lsp.get_client_by_id(args.data.client_id) 9 if client == nil then 10 return 11 end 12 if client.name == "ruff" then 13 client.server_capabilities.hoverProvider = false 14 end 15 end, 16})